Should be fixed.

Also I forgot to say I changed the default srid from -1 to 0 in the Set 
SRID plugin

Michaël
> Hi,
>
> OpenJUMP is pretty dumb with projections. It does not interpret the 
> projection of the PostGIS tables and layers which are read from the database 
> get the default projection code -1 in OpenJUMP. You can set the SRID with the 
> "Set SRID" tool (until today "Change SRID").
>
> What are experiencing two different things. First is that when you read your 
> new SRID=31467 layer back into OpenJUMP it is without projection until you 
> use the Set SRID tool.  Another thing is that projection "-1" means the 
> default projection.  However, the default projection code used to be -1 in 
> PostGIS up till version 1.5, but in version 2.0 it was changed to zero "0" 
> which means "Unknown geographic projection".
>
> I think OpenJUMP has a bug in this place because it is not possible to save a 
> new table into PostGIS with SRID=-1 which still exists but has nowadays a 
> special meaning "Unknown Cartesian projection".
>
> In your use case just remember to use Set SRID always before saving the new 
> layer into PostGIS.
>
> Michaël can tell more, I suppose that OJ must be somehow aware of the layer 
> SRID when PostGIS tables are updated.
>
> -Jukka Rahkonen-
>
> Uwe Dalluege wrote:
>   
>
>> Hi,
>>
>> if you load a PostGIS table with an srid value and you save this layer again 
>> to
>> PostGIS the srid is lost (0).
>>
>> 1. Draw a geometrie.
>> 2. Layer>Set SRID...
>> 3. Set srid to 31467.
>> 4. Save the layer to PostGIS and everything is right.
>> The geometry_columns view contains the valid srid 31467.
>> 5. Now load the table again.
>> The Layer>Set SRID shows - 1 and not 31467.
>> 6. Save this layer and the srid is 0.
>>
>> Reagards
>>
>> Uwe
>>
>>
>> ------------------------------------------------------------------------------
>> Everyone hates slow websites. So do we.
>> Make your web apps faster with AppDynamics Download AppDynamics Lite
>> for free today:
>> http://p.sf.net/sfu/appdyn_d2d_mar
>> _______________________________________________
>> Jump-pilot-devel mailing list
>> Jump-pilot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_mar
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
>


------------------------------------------------------------------------------
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to