I am trying to overlay a polyline over a polygon and get a resulting polyline that contains the attributes of the polygon in OpenJUMP. No problems here - works great with 'Overlay' function. However, when I go to save the results (i.e. the overlay layer) I get an error message "mixed geometry types found, please separate Polygons from Lines and Points when saving to *.shp". The odd thing is if I save to a JUMP *.gml file I can then open it with SkyJUMP and then save it as a *.shp file. When opening this shapefile in another GIS program (like GlobalMapper) everything looks great.
I'd prefer to work in OpenJUMP rather than SkyJUMP and am not sure why OpenJUMP seems limited in this regard. Perhaps there is another way to achieve what I want to do or 'convert' the layer into a simpler form that can be saved as a *shp file.
Thanx in advance!
Bob Saunders
Calgary, AB, CANADA
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thanx for this reminder :)
A few months ago we got a message that storing data with different geometries did not work and not even a warning message was thrown. That is why we only have implemented in a fast way such error message when somebody wants to store mixed geometry data to *.shp files. The people from SkyJUMP have been ahead with fixing this issue. As we don't have the resources (man power) to port the change - and even to check if we can simply port it; since we may have some subtle differences in the storage mechanism - it will take some more time to have OpenJUMP behaved like SkyJUMP.
stefan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
SkyJUMP's "fix" for the problem of mixed geometry types on a shapefile layer is to simply split the layer into _point, _line, and _area suffixed versions of the layer. The work around in OpenJump is to do this manually. No matter what you do, the shapefile specification doesn't allow us to mix geometry types, however the GML format does.
regards,
Larry Becker
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to overlay a polyline over a polygon and get a resulting polyline that contains the attributes of the polygon in OpenJUMP. No problems here - works great with 'Overlay' function. However, when I go to save the results (i.e. the overlay layer) I get an error message "mixed geometry types found, please separate Polygons from Lines and Points when saving to *.shp". The odd thing is if I save to a JUMP *.gml file I can then open it with SkyJUMP and then save it as a *.shp file. When opening this shapefile in another GIS program (like GlobalMapper) everything looks great.
I'd prefer to work in OpenJUMP rather than SkyJUMP and am not sure why OpenJUMP seems limited in this regard. Perhaps there is another way to achieve what I want to do or 'convert' the layer into a simpler form that can be saved as a *shp file.
Thanx in advance!
Bob Saunders
Calgary, AB, CANADA
Hei Bob,
thanx for this reminder :)
A few months ago we got a message that storing data with different geometries did not work and not even a warning message was thrown. That is why we only have implemented in a fast way such error message when somebody wants to store mixed geometry data to *.shp files. The people from SkyJUMP have been ahead with fixing this issue. As we don't have the resources (man power) to port the change - and even to check if we can simply port it; since we may have some subtle differences in the storage mechanism - it will take some more time to have OpenJUMP behaved like SkyJUMP.
stefan
Hi Bob,
SkyJUMP's "fix" for the problem of mixed geometry types on a shapefile layer is to simply split the layer into _point, _line, and _area suffixed versions of the layer. The work around in OpenJump is to do this manually. No matter what you do, the shapefile specification doesn't allow us to mix geometry types, however the GML format does.
regards,
Larry Becker