Hi Stefan,

i'am right, that you are looking for a possibility to handle SRID's for 
FC/Layer? The same problem do we have in the measurement tools. Here we 
need an information about the coordinate system/projection too. We had 
discussed this partially in the past. I mean that every FC/Layer should 
now their own SRID. For some datasources we get this information from 
the data (PostGIS, Shape -> .prj file, GML...) But we should not do an 
automatic coordinate system transformation! The user should get an hint 
if he tries to load layers with different coordinate systems. The user 
have to take care that he use only data within the same coordinate 
system. Some people like OJ because it is the only tool which leaves the 
data untouched. On the other hand in some use cases exists special 
customized transformations between two coordinate systems. For example 
in germany for the switch of the government data to ETRS89 .

regards


Matthias

> 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


-- 

  _ __ ___ _________________________________ ___ __ _
  
   Technologieconsulting
   Matthias Scholz
   Siebigeröder Str 17a
   06308 Klostermansfeld

   T +49 34772 34150
   E m...@jammerhund.de
   W www.openjump.de
_ __ ___ _________________________________ ___ __ _


------------------------------------------------------------------------------
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