well, I actually found this class too:

com.vividsolutions.jump.coordsys.impl.PredefinedCoordinateSystems

having even WGS84.
But still, I have no clue how to use this system, though ;)
So if there is a guide?

cheers,
stefan

Am 14.08.13 11:53, schrieb Stefan Steiniger:
> 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
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>

------------------------------------------------------------------------------
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
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to