Hi again;
Can you give an example of what you mean by above? What is an example
of a data format and how does a data format specify its CRS.
Sure - a shapefile is a common data format that is made up of the
following files:
- file.shp - holds the geometry (we parse these into a JTS Geometry
Dear colleagues,
Looking at geotools GML code its not clear to me how it uses the srid
and userData fields of the com.vividsolutions.jts.geom.Geometry class.
What are these fields set to when a JTS Geometry is stored after being
mapped from a GML geomtery?
What are these fields set to when a
Farrukh Najmi wrote:
Dear colleagues,
Looking at geotools GML code its not clear to me how it uses the srid
and userData fields of the com.vividsolutions.jts.geom.Geometry class.
Which GML code did are you looking at specifically?
- SAX parser? I think it sets the srsName to the userData
Jody Garnett wrote:
Farrukh Najmi wrote:
Dear colleagues,
Looking at geotools GML code its not clear to me how it uses the srid
and userData fields of the com.vividsolutions.jts.geom.Geometry class.
Which GML code did are you looking at specifically?
- SAX parser? I think it sets the
Farrukh Najmi wrote:
I was looking at
trunk/modules/library/main/src/main/java/org/geotools/gml/SubHandlerPolygon.java
and other classes there.
I think that is the SAX parser; it does GML2 as I understand it.
In general I don't know what these parsers do for a JTS Geometry
object;
Jody Garnett wrote:
Farrukh Najmi wrote:
I was looking at
trunk/modules/library/main/src/main/java/org/geotools/gml/SubHandlerPolygon.java
and other classes there.
I think that is the SAX parser; it does GML2 as I understand it.
In general I don't know what these parsers do for a JTS