|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectno.uio.edd.model.geo.map.GeoMap
public class GeoMap
A class used to store a map model.
Constructor Summary | |
---|---|
GeoMap(GraphTraversal inGraphTraversal)
|
Method Summary | |
---|---|
GeoEvent |
addGeoEvent()
Add a geo event without an ID; that is, an anonymous (e.g. implied) event. |
GeoEvent |
addGeoEvent(java.lang.String id)
Add a geo event using the ID. |
GeoPerson |
addGeoPerson(java.lang.String id,
GeoModelPerson inGeoModelPerson)
|
GeoPlace |
addGeoPlace(java.lang.String id)
|
java.lang.String |
asGML()
|
int |
combineLayers(int layer1,
int layer2)
Include all the places from the two layers into a single new layer. |
GeoEvent |
getGeoEvent(java.lang.String id)
|
GeoPerson |
getGeoPerson(java.lang.String id,
GeoModelPerson inGeoModelPerson)
|
GeoPlace |
getGeoPlace(java.lang.String id)
Find a place in the vector map system. |
static java.lang.String |
getGmlFooter()
|
static java.lang.String |
getGmlHeader()
|
GeoPlace[] |
getLayer(int num)
|
GraphTraversal |
getMyGraphTraversal()
|
void |
inferGeometry()
Runs through all the places in the model and adds geometries based on the data of the map model, places as well as relationships. |
int |
layerSize(int layer)
|
int |
numberOfLayers()
|
void |
produceGMLFiles(java.lang.String mapFileName)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GeoMap(GraphTraversal inGraphTraversal)
Method Detail |
---|
public GeoPlace addGeoPlace(java.lang.String id)
public GeoEvent addGeoEvent(java.lang.String id)
id
- The ID for the new event.
public GeoEvent addGeoEvent()
public GeoPerson addGeoPerson(java.lang.String id, GeoModelPerson inGeoModelPerson)
public java.lang.String asGML()
asGML
in interface GeoMaplike
public void produceGMLFiles(java.lang.String mapFileName)
public GeoPlace getGeoPlace(java.lang.String id)
id
- The ID for the new place, which is the last part of the RDF
URI.
public GeoEvent getGeoEvent(java.lang.String id)
public GeoPerson getGeoPerson(java.lang.String id, GeoModelPerson inGeoModelPerson)
public java.lang.String toString()
toString
in class java.lang.Object
public int combineLayers(int layer1, int layer2) throws GeoModelLocationException
layer1
- The first layer.layer2
- The second layer.
GeoModelLocationException
public int numberOfLayers()
public void inferGeometry() throws GeoModelLocationException
GeoModelLocationException
public GraphTraversal getMyGraphTraversal()
public int layerSize(int layer)
public static java.lang.String getGmlHeader()
public static java.lang.String getGmlFooter()
public GeoPlace[] getLayer(int num)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |