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

2014-03-14 Thread Michael Michaud
Hi, There are hard constraints for geometries to be valid in JTS (I think point < 2, linestring > 1, polygon > 3), but empty geometries are considered as valid for every type. There WKT version are POINT EMPTY LINESTRING EMPTY POLYGON EMPTY ... A weird consequence is that POLYGON EMPTY != LINEST

[JPP-Devel] Something wrong with opening zip archives

2014-03-14 Thread Rahkonen Jukka (Tike)
Hi, Download http://kartat.kapsi.fi/files/maastotietokanta/kaikki/etrs89/shp/N4/N43/N4321L.shp.zip Open zip with Open wizard. OJ gives tons of messages about failing open some image formats. Tested with r3883-Plus. -Jukka Rahkonen- -

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

2014-03-14 Thread edgar . soldin
sorry, right.. i seem to remember geometrical objects to be tightly regulated in JTS, e.g. points are not allowed to be les or more than 1 point. funny enough i can create a POINT EMPTY manually. weird. ..ede On 14.03.2014 17:03, Rahkonen Jukka (Tike) wrote: > Have you tried? Create a feature w

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

2014-03-14 Thread Rahkonen Jukka (Tike)
Have you tried? Create a feature with WKT GEOMETRYCOLLECTION EMPTY For me the geometryconverter says that only points can be converted into "Point". The desired result, I believe, would be POINT EMPTY. -Jukka- edgar.soldin wrote: > > or convert selected to whatever you need with Geometry C

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

2014-03-14 Thread edgar . soldin
or convert selected to whatever you need with Geometry Converter (context menu or tools/edit geoms). ..ede On 14.03.2014 04:53, Larry Reeder wrote: > Can you use Edit-->Selection--Select by Geometry type, select all empty > geometries, and delete them, then save the layer? > > > -lreeder >

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

2014-03-14 Thread Rahkonen Jukka (Tike)
Hi, JML is not an option because no other software reads it and I cannot send data back to Oracle. A locally installed PostGIS could work but I will need to test how it behaves with empty geometries. -Jukka- Michael Michaud wrote: Hi, Yes I can but I do not want to. The features are real and

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

2014-03-14 Thread Michael Michaud
Hi, Yes I can but I do not want to. The features are real and have valuable attributes, they are just missing the geometries because they have not been digitized yet. I read them from Oracle with DB Query Plugin but I must save them to a temporary format because I can't save them back to Or

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

2014-03-14 Thread Rahkonen Jukka (Tike)
Hi, Yes I can but I do not want to. The features are real and have valuable attributes, they are just missing the geometries because they have not been digitized yet. I read them from Oracle with DB Query Plugin but I must save them to a temporary format because I can't save them back to Oracl