Re: [JPP-Devel] NaN; Save to PostGIS Table Write 3d

2014-10-08 Thread Uwe Dalluege
Hi Michaël, thank you for clarification! Regards Uwe Am 08.10.2014 um 21:15 schrieb Michael Michaud: > Hi Uwe, > > You're not supposed to use the new driver this way. > Why would you like to upload your table twice ? > > When you upload your layer the first time, gid attribute > is added to th

Re: [JPP-Devel] NaN; Save to PostGIS Table Write 3d

2014-10-08 Thread Michael Michaud
Hi Uwe, You're not supposed to use the new driver this way. Why would you like to upload your table twice ? When you upload your layer the first time, gid attribute is added to the database schema, then the dataset is extracted with the new attribute. Now, thanks to the gid, OpenJUMP and you're d

Re: [JPP-Devel] NaN; Save to PostGIS Table Write 3d

2014-10-07 Thread Uwe Dalluege
Hi Michaël, good idea with the variable z-value! Thank you, this works fine. But I see another problem: I saved the layer with the option "Create a primary Key column (gid) for this Table" This works the first time and the table has a gid-column. But when I try to save the layer again without ch

Re: [JPP-Devel] NaN; Save to PostGIS Table Write 3d

2014-10-06 Thread Michael Michaud
Hi Uwe, New option to save a layer to PostGIS with NaN to valid z conversion in r4063, Please let me know if it works for you, and if you have some screen capture or some public bundle of what you're developping, I would be very curious to know more. Michaël > Hi Michaël, > > I am trying to dev

Re: [JPP-Devel] NaN; Save to PostGIS Table Write 3d

2014-10-05 Thread Uwe Dalluege
Hi Michaël, I am trying to develop a 2d- and 3d-GIS with JOGL and PostGIS (you can switch between 2d and 3d). The 3d-geometries are stored in PostGIS. With OpenJUMP I digitalise some geometries and stored them to PostGIS with: Save Dataset As>Write 3d geometries (PostGIS Table (new)). My program c

Re: [JPP-Devel] NaN; Save to PostGIS Table Write 3d

2014-10-01 Thread Michael Michaud
Hi Uwe, I suppose you are refering to the Save to PostGIS table (New) loader as the previous one has no 3D option. Could you tell me what your use case is ? I think it is not too complex to set the z to 0 while saving a dataset into postgis, but I'm a bit reluctant as NaN may have a different sema

[JPP-Devel] NaN; Save to PostGIS Table Write 3d

2014-10-01 Thread Uwe Dalluege
Hi, Save Dataset As>Save to PostGIS Table>Write 3d geometries writes NaN for the z-coordinate. Is it possible to write 0.0 (zero) instead NaN for the z-coordinate? I use OJ Version 20140924 snapshot rev.4056 Regards Uwe -