class GmlReader extends java.lang.Object implements Reader
Read a Feature from a GML String.
String gml = """<gml:houses fid="house1" xmlns:gml="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink"> <gml:name>House</gml:name> <gml:geom> <gml:Point> <gml:coord> <gml:X>111.0</gml:X> <gml:Y>-47.0</gml:Y> </gml:coord> </gml:Point> </gml:geom> <gml:price>12.5</gml:price> </gml:houses> """ GmlReader reader = new GmlReader() Feature actual = reader.read(gml)
Constructor and description |
---|
GmlReader
() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Read a Feature from a GML String.
str
- The GML StringRead a Feature from a GML String.
str
- The GML Stringversion
- The GML version (2,3,3.2)