Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » OHF » STEM : Can we visualise at street level?
STEM : Can we visualise at street level? [message #44019] Tue, 15 July 2008 13:03 Go to next message
Amit is currently offline AmitFriend
Messages: 8
Registered: July 2009
Junior Member
Hi, I was looking at STEM and the kind of visualisation it would support.
Looking at the Level 0,1 and 2 data, I was wondering if it was possible to
show visualisations of disease spread at the level of streets? If so,
would it be possible to have some clue as to how this would be done!

Many Thanks
Amit
Re: STEM : Can we visualise at street level? [message #44157 is a reply to message #44019] Thu, 17 July 2008 15:47 Go to previous messageGo to next message
Daniel Ford is currently offline Daniel FordFriend
Messages: 148
Registered: July 2009
Location: New York
Senior Member
STEM can represent modeling detail to arbitrary precision, including "street
level". The next problem is defining what "street level" means and coming
up with the data. We're currently extending the USA data sets to level 3
with the introduction of "zip codes". Our data set only includes the zip
codes for the state of Vermont at the moment.

To extend STEM one produces one or more properties files that contain the
necessary data for defining nodes in the graph and their attributes. The
data sets are in the org.eclipse.ohf.stem.internal.data project project
under resources. After providing the properties files (in the correct
format), the update.xml ant build file is executed (in the same project).
This will regenerate the models and scenarios that are built into STEM.
These can then be used tocompose any model you wish using the built in
editors.
--
Daniel Ford
IBM Almaden Research Center
San Jose, CA
"Amit Parwani" <aparwani@gmail.com> wrote in message
news:382f86c98b8a6ca933deec0a0068d9fe$1@www.eclipse.org...
> Hi, I was looking at STEM and the kind of visualisation it would support.
> Looking at the Level 0,1 and 2 data, I was wondering if it was possible to
> show visualisations of disease spread at the level of streets? If so,
> would it be possible to have some clue as to how this would be done!
>
> Many Thanks
> Amit
>
Re: STEM : Can we visualise at street level? [message #44281 is a reply to message #44157] Mon, 21 July 2008 14:44 Go to previous messageGo to next message
Amit is currently offline AmitFriend
Messages: 8
Registered: July 2009
Junior Member
Okay, I got your point, so if I added some dummy data in
stem.internal.data, would I also need to add the relevant latitude,
longitude coordinates in ohf.stem.geography? Also, I am wondering how the
predefined models in STEM come up. There is nothing called as India(1, 2)
Full Infrastructure in the stem.internal.data!
Another confusion is if I have this data, and I want to interconnect some
of the nodes amongst this data, how do I do that in STEM. The
documentation for that seemed to be missing..
Is there any updated documentation of STEM, just to confirm if I am
looking at the right things.

Thanks
Amit
Re: STEM : Can we visualise at street level? [message #44310 is a reply to message #44281] Mon, 21 July 2008 14:48 Go to previous messageGo to next message
Amit is currently offline AmitFriend
Messages: 8
Registered: July 2009
Junior Member
Okay, I got your point, so if I added some dummy data in
stem.internal.data, would I also need to add the relevant latitude,
longitude coordinates in ohf.stem.geography? Also, I am wondering how the
predefined models in STEM come up. There is nothing called as India(1, 2)
Full Infrastructure in the stem.internal.data! Another confusion is if I
have this data, and I want to interconnect some of the nodes amongst this
data, how do I do that in STEM. The documentation for that seemed to be
missing..
Is there any updated documentation of STEM, just to confirm if I am
looking at the right things.

Thanks
Amit


PS: By interconnection, I meant adding an edge to nodes.
Re: STEM : Can we visualise at street level? [message #44462 is a reply to message #44310] Tue, 22 July 2008 13:08 Go to previous message
Daniel Ford is currently offline Daniel FordFriend
Messages: 148
Registered: July 2009
Location: New York
Senior Member
Amit,
yes, there is a match between the definition of new graph components in
stem.internal.data and lat/long data in stem.geography. Each of the
properties files in internal.data supports full specification of Dublin Core
attributes for the data. One of the DC attributes is "SPATIAL". In STEM,
SPATIAL is used to specify a URI for a GML file that contains the lat/long
data that goes with the data. The polygons in the GML file are identified
by the ISO-3166 keys used in the properties file.

Mostly for testing purposes, there is an alternative URI format that is
recognized for the SPATIAL attribute that allows the lat/long data to be
specified in the URI itself. eg. "inline:///lat,long,lat,long,lat,long" See
org.eclipse.ohf.stem.tests.definitions/src/org.eclipse.ohf.s tem.definitions.adapters.spatial.geo.InlineLatLongDataProvid erTest.java

All property files can specify the SPATIAL attribute. This is most
typically used for the definitions of nodes that represent geographic
regions, but it can also apply to edges that represent things like roads.

There are several types of predefined data sets that come with STEM. Some
such as the basic graph components (nodes, edges,labels) are generated
directly from the properties files. The data set called "Models" is
programmatically generated from the graph components by systematically
combining them for each country. Some models for specific countries are
configured by hand, you'll find these in
org.eclipse.ohf.stem.internal.data/resources/data/models. The data set
called "Scenarios" is configured by hand you'll find the files in
org.eclipse.ohf.stem.internal.data/resources/data/scenarios.

You are correct there is no model for "India(1,2) Full Infrastructure",
which is the country of India (IND) with administration levels 1 and 2 (and
not 0). The manner in which the built-in full infrastructure models are
generated always includes the full sequence of levels (i.e, 0, 0,1, 0,1,2,
0,1,2,3....). It is quite easy to build and model you wish by using the
editors and wizards. Create a project (project wizard) and then a new Model
(model wizard) and then drag which ever built-in components (models, graphs,
etc) you like to the new model and drop them. You can also drag the
built-in components to your project and drop them and create a copy of the
built-in component which can be edited with the editors (double click to
open). This is good way to explore the structure of any of the built-in
components and use them as examples of how to create your own. Note, that
Drag and drop in the project explorer is not complete, because of a quirk of
the yet to be completed implementation, you can only drop on the "category"
in the project and not the file and you can only drag from the file. This
will be fixed in some upcoming enhancements to the project explorer.

Connecting nodes requires the definition of edges. You'll find these files
under org.eclipse.ohf.stem.internal.data/resources/data/relationsh ip

We're working on additional documentation so you're not missing anything.
We're stuck between completing functionality and writing about it.

--
Daniel Ford
IBM Almaden Research Center
San Jose, CA
Re: STEM : Can we visualise at street level? [message #586001 is a reply to message #44019] Thu, 17 July 2008 15:47 Go to previous message
Daniel Ford is currently offline Daniel FordFriend
Messages: 148
Registered: July 2009
Location: New York
Senior Member
STEM can represent modeling detail to arbitrary precision, including "street
level". The next problem is defining what "street level" means and coming
up with the data. We're currently extending the USA data sets to level 3
with the introduction of "zip codes". Our data set only includes the zip
codes for the state of Vermont at the moment.

To extend STEM one produces one or more properties files that contain the
necessary data for defining nodes in the graph and their attributes. The
data sets are in the org.eclipse.ohf.stem.internal.data project project
under resources. After providing the properties files (in the correct
format), the update.xml ant build file is executed (in the same project).
This will regenerate the models and scenarios that are built into STEM.
These can then be used tocompose any model you wish using the built in
editors.
--
Daniel Ford
IBM Almaden Research Center
San Jose, CA
"Amit Parwani" <aparwani@gmail.com> wrote in message
news:382f86c98b8a6ca933deec0a0068d9fe$1@www.eclipse.org...
> Hi, I was looking at STEM and the kind of visualisation it would support.
> Looking at the Level 0,1 and 2 data, I was wondering if it was possible to
> show visualisations of disease spread at the level of streets? If so,
> would it be possible to have some clue as to how this would be done!
>
> Many Thanks
> Amit
>
Re: STEM : Can we visualise at street level? [message #586071 is a reply to message #44157] Mon, 21 July 2008 14:44 Go to previous message
Amit is currently offline AmitFriend
Messages: 8
Registered: July 2009
Junior Member
Okay, I got your point, so if I added some dummy data in
stem.internal.data, would I also need to add the relevant latitude,
longitude coordinates in ohf.stem.geography? Also, I am wondering how the
predefined models in STEM come up. There is nothing called as India(1, 2)
Full Infrastructure in the stem.internal.data!
Another confusion is if I have this data, and I want to interconnect some
of the nodes amongst this data, how do I do that in STEM. The
documentation for that seemed to be missing..
Is there any updated documentation of STEM, just to confirm if I am
looking at the right things.

Thanks
Amit
Re: STEM : Can we visualise at street level? [message #586085 is a reply to message #44281] Mon, 21 July 2008 14:48 Go to previous message
Amit is currently offline AmitFriend
Messages: 8
Registered: July 2009
Junior Member
Okay, I got your point, so if I added some dummy data in
stem.internal.data, would I also need to add the relevant latitude,
longitude coordinates in ohf.stem.geography? Also, I am wondering how the
predefined models in STEM come up. There is nothing called as India(1, 2)
Full Infrastructure in the stem.internal.data! Another confusion is if I
have this data, and I want to interconnect some of the nodes amongst this
data, how do I do that in STEM. The documentation for that seemed to be
missing..
Is there any updated documentation of STEM, just to confirm if I am
looking at the right things.

Thanks
Amit


PS: By interconnection, I meant adding an edge to nodes.
Re: STEM : Can we visualise at street level? [message #586156 is a reply to message #44310] Tue, 22 July 2008 13:08 Go to previous message
Daniel Ford is currently offline Daniel FordFriend
Messages: 148
Registered: July 2009
Location: New York
Senior Member
Amit,
yes, there is a match between the definition of new graph components in
stem.internal.data and lat/long data in stem.geography. Each of the
properties files in internal.data supports full specification of Dublin Core
attributes for the data. One of the DC attributes is "SPATIAL". In STEM,
SPATIAL is used to specify a URI for a GML file that contains the lat/long
data that goes with the data. The polygons in the GML file are identified
by the ISO-3166 keys used in the properties file.

Mostly for testing purposes, there is an alternative URI format that is
recognized for the SPATIAL attribute that allows the lat/long data to be
specified in the URI itself. eg. "inline:///lat,long,lat,long,lat,long" See
org.eclipse.ohf.stem.tests.definitions/src/org.eclipse.ohf.s tem.definitions.adapters.spatial.geo.InlineLatLongDataProvid erTest.java

All property files can specify the SPATIAL attribute. This is most
typically used for the definitions of nodes that represent geographic
regions, but it can also apply to edges that represent things like roads.

There are several types of predefined data sets that come with STEM. Some
such as the basic graph components (nodes, edges,labels) are generated
directly from the properties files. The data set called "Models" is
programmatically generated from the graph components by systematically
combining them for each country. Some models for specific countries are
configured by hand, you'll find these in
org.eclipse.ohf.stem.internal.data/resources/data/models. The data set
called "Scenarios" is configured by hand you'll find the files in
org.eclipse.ohf.stem.internal.data/resources/data/scenarios.

You are correct there is no model for "India(1,2) Full Infrastructure",
which is the country of India (IND) with administration levels 1 and 2 (and
not 0). The manner in which the built-in full infrastructure models are
generated always includes the full sequence of levels (i.e, 0, 0,1, 0,1,2,
0,1,2,3....). It is quite easy to build and model you wish by using the
editors and wizards. Create a project (project wizard) and then a new Model
(model wizard) and then drag which ever built-in components (models, graphs,
etc) you like to the new model and drop them. You can also drag the
built-in components to your project and drop them and create a copy of the
built-in component which can be edited with the editors (double click to
open). This is good way to explore the structure of any of the built-in
components and use them as examples of how to create your own. Note, that
Drag and drop in the project explorer is not complete, because of a quirk of
the yet to be completed implementation, you can only drop on the "category"
in the project and not the file and you can only drag from the file. This
will be fixed in some upcoming enhancements to the project explorer.

Connecting nodes requires the definition of edges. You'll find these files
under org.eclipse.ohf.stem.internal.data/resources/data/relationsh ip

We're working on additional documentation so you're not missing anything.
We're stuck between completing functionality and writing about it.

--
Daniel Ford
IBM Almaden Research Center
San Jose, CA
Previous Topic:Re: BkzmegnYAP
Next Topic:Getting document consumer working with ohf 0.3.0?
Goto Forum:
  


Current Time: Thu Mar 28 16:26:14 GMT 2024

Powered by FUDForum. Page generated in 0.03674 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top