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