|
Oracle® Spatial Java API Reference 10g Release 2 (10.2) B14373-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.spatial.util.GML
Field Summary | |
protected static java.util.Set |
gmlTypes |
Constructor Summary | |
GML() |
Method Summary | |
protected static void |
addCoords(java.util.Vector coordVector, java.lang.String newCoords) |
static JGeometry |
fromNodeToEnvelope(org.w3c.dom.Node nd) Example: <pre> <Box srsname="EPSG_4326"> <coordinates> 0.0,0.0 100.0,100.0 </coordinates> </Box> </pre> Note: Each Box Element encloses a single coordinates element or four Coord, the latter containing precisely two coordinate tuples. |
static JGeometry |
fromNodeToGeometry(org.w3c.dom.Node nd) |
static JGeometry |
fromNodeToGeometryCollection(org.w3c.dom.Node nd) |
static JGeometry |
fromNodeToLinearRing(org.w3c.dom.Node nd) |
static JGeometry |
fromNodeToLineString(org.w3c.dom.Node nd) Example: <pre> <LineString srsname="EPSG_4326"> <coordinates> 0.0,0.0 100.0,100.0 </coordinates> </LineString> </pre> |
static JGeometry |
fromNodeToMultiLineString(org.w3c.dom.Node nd) Example: <pre> <MultiLineString srsname="EPSG_4326"> <lineStringMember> <LineString> <coordinates>56.1,0.45 67.23,0.67</coordinates> </LineString> </lineStringMember> <lineStringMember> <LineString> <coordinates>46.71,9.25 56.88,10.44</coordinates> </LineString> </lineStringMember> <lineStringMember> <LineString> <coordinates>324.1,219.7 0.45,0.56</coordinates> </LineString> </lineStringMember> </MultiLineString> </pre> |
static JGeometry |
fromNodeToMultiPoint(org.w3c.dom.Node nd) Example: <pre> <MultiPoint srsname="EPSG_4326"> <pointMember> <Point> <coordinates>56.1,0.45</coordinates> </Point> </pointMember> <pointMember> <Point> <coordinates>46.71,9.25</coordinates> </Point> </pointMember> <pointMember> <Point> <coordinates>56.88,10.44</coordinates> </Point> </pointMember> </MultiPoint > </pre> |
static JGeometry |
fromNodeToMultiPolygon(org.w3c.dom.Node nd) Example: <pre> <MultiPolygon srsname="EPSG_4326"> <PolygonMember> <Polygon srsname="EPSG_4326"> <outerBoundaryIs> <LinearRing> <coordinates> 0.0,0.0 100.0,0.0 100.0,100.0 0.0,100.0 0.0,0.0 </coordinates> </LinearRing> </outerBoundaryIs> <innerBoundaryIs> <LinearRing> <coordinates> 10.0,10.0 10.0,40.0 40.0,40.0 40.0,10.0 10.0,10.0 </coordinates> </LinearRing> </innerBoundaryIs> <innerBoundaryIs> <LinearRing> <coordinates> 60.0,60.0 60.0,90.0 90.0,90.0 90.0,60.0 60.0,60.0 </coordinates> </LinearRing> </innerBoundaryIs> </Polygon> </PolygonMember> <PolygonMember> <Polygon srsname="EPSG_4326"> <outerBoundaryIs> <LinearRing> <coordinates> 1000.0,0.0 1100.0,0.0 1100.0,100.0 1000.0,100.0 1000.0,0.0 </coordinates> </LinearRing> </outerBoundaryIs> <innerBoundaryIs> <LinearRing> <coordinates> 1010.0,10.0 1010.0,40.0 1040.0,40.0 1040.0,10.0 1010.0,10.0 </coordinates> </LinearRing> </innerBoundaryIs> <innerBoundaryIs> <LinearRing> <coordinates> 1060.0,60.0 1060.0,90.0 1090.0,90.0 1090.0,60.0 1060.0,60.0 </coordinates> </LinearRing> </innerBoundaryIs> </Polygon> </PolygonMember> <PolygonMember> <Polygon srsname="EPSG_4326"> <outerBoundaryIs> <LinearRing> <coordinates> 2000.0,0.0 2100.0,0.0 2100.0,100.0 2000.0,100.0 2000.0,0.0 </coordinates> </LinearRing> </outerBoundaryIs> <innerBoundaryIs> <LinearRing> <coordinates> 2010.0,10.0 2010.0,40.0 2040.0,40.0 2040.0,10.0 2010.0,10.0 </coordinates> </LinearRing> </innerBoundaryIs> <innerBoundaryIs> <LinearRing> <coordinates> 2060.0,60.0 2060.0,90.0 2090.0,90.0 2090.0,60.0 2060.0,60.0 </coordinates> </LinearRing> </innerBoundaryIs> </Polygon> </PolygonMember> </MultiPolygon> </pre> |
static JGeometry |
fromNodeToPoint(org.w3c.dom.Node nd) Example 1: <pre> <Point srsname="EPSG_4326"> <coordinates> 56.1,0.45 </coordinates> </Point> </pre> Example 2: <pre> <Point srsname="8265"> <coord> <x>56.1</x> <y>0.45</y> </coord> </Point> |
static JGeometry |
fromNodeToPolygon(org.w3c.dom.Node nd) Example: <pre> <Polygon srsname="EPSG_4326"> <outerBoundaryIs> <LinearRing> <coordinates> 0.0,0.0 100.0,0.0 100.0,100.0 0.0,100.0 0.0,0.0 </coordinates> </LinearRing> </outerBoundaryIs> <innerBoundaryIs> <LinearRing> <coordinates> 10.0,10.0 10.0,40.0 40.0,40.0 40.0,10.0 10.0,10.0 </coordinates> </LinearRing> </innerBoundaryIs> <innerBoundaryIs> <LinearRing> <coordinates> 60.0,60.0 60.0,90.0 90.0,90.0 90.0,60.0 60.0,60.0 </coordinates> </LinearRing> </innerBoundaryIs> </Polygon> </pre> |
protected static java.util.Vector |
getAll(org.w3c.dom.Node start, java.lang.String[] path) |
protected static void |
getAll(org.w3c.dom.Node start, java.lang.String[] path, int posInPath, java.util.Vector result) |
protected static org.w3c.dom.Node |
getFirst(org.w3c.dom.Node start, java.lang.String[] path) |
protected static org.w3c.dom.Node |
getFirst(org.w3c.dom.Node start, java.lang.String[] path, int posInPath) |
protected static java.lang.String |
normalize(java.lang.String nodeName) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final java.util.Set gmlTypes
Constructor Detail |
public GML()
Method Detail |
public static JGeometry fromNodeToPoint(org.w3c.dom.Node nd)
public static final JGeometry fromNodeToEnvelope(org.w3c.dom.Node nd)
public static JGeometry fromNodeToLineString(org.w3c.dom.Node nd)
public static JGeometry fromNodeToPolygon(org.w3c.dom.Node nd)
public static JGeometry fromNodeToMultiLineString(org.w3c.dom.Node nd)
public static JGeometry fromNodeToMultiPoint(org.w3c.dom.Node nd)
public static JGeometry fromNodeToGeometry(org.w3c.dom.Node nd) throws DataException
DataException
public static JGeometry fromNodeToGeometryCollection(org.w3c.dom.Node nd) throws DataException
DataException
public static JGeometry fromNodeToLinearRing(org.w3c.dom.Node nd)
public static JGeometry fromNodeToMultiPolygon(org.w3c.dom.Node nd)
nd
- A Node representing the input GMLprotected static void addCoords(java.util.Vector coordVector, java.lang.String newCoords)
protected static java.util.Vector getAll(org.w3c.dom.Node start, java.lang.String[] path)
protected static void getAll(org.w3c.dom.Node start, java.lang.String[] path, int posInPath, java.util.Vector result)
protected static org.w3c.dom.Node getFirst(org.w3c.dom.Node start, java.lang.String[] path)
protected static org.w3c.dom.Node getFirst(org.w3c.dom.Node start, java.lang.String[] path, int posInPath)
protected static java.lang.String normalize(java.lang.String nodeName)
|
Oracle® Spatial Java API Reference 10g Release 2 (10.2) B14373-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |