Hi - and I guess - in particular this goes to Michael and Martin,

So I was thinking yesterday that the SRID for OSM data is fix (EPSG:4326 
[1]) and wanted to set it for the FeatureDataset. Except the FC/FD does 
not have such property.

What I found:
in the DataSource.getConnection() and executeQueryString() the advise 
that callers should make sure to call DataSource#setCoordinateSystem on 
the returned FeatureCollection.

Now looking into DataSource class there is also a method
installCoordinateSystem() that refers to
com.vividsolutions.jump.coordsys.CoordinateSystemRegistry
and a key for the properties map.
So the installCoordinateSystem() requires to provide some registry code 
(as String), which could be the SRID. But well, there should be nothing 
in the registry as we never filled it - or do we? And what would it return?

Any advise what to do, i.e. how to set the SRID for the FC/Layer? Does 
give me browsing the PostGIS code an idea? Or should I add the SRID to 
each geometry?

cheers,
stefan

[1] http://wiki.openstreetmap.org/wiki/Projection

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to