Re: [JPP-Devel] Saving a layer with empty geometries into shapefiles

2010-10-11 Thread Rahkonen Jukka
18:29 Vastaanottaja: OpenJump develop and use Aihe: Re: [JPP-Devel] Saving a layer with empty geometries into shapefiles Hi Jukka, I just improved empty geometry handling in OJ shapefile driver. Hope it will solve your problem. I had

Re: [JPP-Devel] Saving a layer with empty geometries into shapefiles

2010-10-10 Thread Michaël Michaud
Hi Jukka, I just improved empty geometry handling in OJ shapefile driver. Hope it will solve your problem. I had to do many modifications in the code. I made extensive tests to make sure the code is as robust as before, but I would be pleased if you could complete with your own tests. Michaë

Re: [JPP-Devel] Saving a layer with empty geometries into shapefiles

2010-10-09 Thread Michaël Michaud
Hi, Even with a layer having homogeneous geometries, I get the error message "Use save dataset as..." I thing "Save Selected Datasets" is only used to save layers which already are stored in a file. Michaël Le 09/10/2010 00:18, Larry Reeder a écrit : > Hey Larry, > > If I create a new laye

Re: [JPP-Devel] Saving a layer with empty geometries into shapefiles

2010-10-08 Thread Larry Reeder
Hey Larry, If I create a new layer and add points and a polygon, and right-click the layer name and select "Save Selected Datasets", I get the error "Use *** Save Dataset As *** to save layer:New". Then of course when I try "Save Dataset As" to save as a shapefile, I get the "mixed geometries er

Re: [JPP-Devel] Saving a layer with empty geometries into shapefiles

2010-10-08 Thread Larry Becker
Hi Michaël, If you use Save Selected Datasets, OJ already breaks out shapefile layers into mutiple files. regards, Larry 2010/10/8 Michaël Michaud > Hi, > > Agree with Matthias, there are two things. > > I would consider first one as a OJ bug. OJ could export empty geometries > as null sha

Re: [JPP-Devel] Saving a layer with empty geometries into shapefiles

2010-10-08 Thread Michaël Michaud
Hi, Agree with Matthias, there are two things. I would consider first one as a OJ bug. OJ could export empty geometries as null shapefiles but it does not (I will fill a bug report). For the mixed shapetype problem, I'm tempted to write a feature request but I'm not sure what I would prefer

Re: [JPP-Devel] Saving a layer with empty geometries into shapefiles

2010-10-07 Thread Matthias Scholz
Hi Jukka, I've never used this plugin, but I know this problems with empty schapefiles. In the first case with no geometries it is impossible to determine the geometry type, which is usualy done from a geometry. The geometry type is mandatory for writing a schapefile. Byte 32 in the header is the