Re: [JPP-Devel] @Martin D.: saving and loading JML doesn't work really for LinearRings

2009-03-02 Thread Stefan Steiniger
ups sorry - I was wrong. The LinearRings seem to come from somewhere else (i.e. geometry.getBoundary() ... which makes sense) stefan Stefan Steiniger wrote: > Hei Martin, > > thank you for the answer. > > I just recognized that the method that delivers the LinearRings is > lineMerger.getMerg

Re: [JPP-Devel] @Martin D.: saving and loading JML doesn't work really for LinearRings

2009-03-02 Thread Stefan Steiniger
Hei Martin, thank you for the answer. I just recognized that the method that delivers the LinearRings is lineMerger.getMergedLineStrings() can you check that? is that a bug or intended behaviour? (I see in the javadoc that LinearRings is a subclass of LineString) stefan Martin Davis wrote: >

Re: [JPP-Devel] @Martin D.: saving and loading JML doesn't work really for LinearRings

2009-03-02 Thread Michaël Michaud
Hi, > Tools>Edit Geometry>Convert> Extract Common Boundary Between Polygons... > (in OpenJUMP-NB) > > the function returns LinearRings. > I think this function could return LineStrings only. (but jml should also be able to read/write linearring correctly...) Michaël > Now, the geometry of thos

Re: [JPP-Devel] @Martin D.: saving and loading JML doesn't work really for LinearRings

2009-03-02 Thread Martin Davis
I think the LinearRings are simply saved as LineStrings to shapefiles - that's why that works. The inability to load LinearRings from JML is probably just an oversight in the original implementation. Although, it looks to me like GML2 does not actually support LinearRings as geometries in their

[JPP-Devel] @Martin D.: saving and loading JML doesn't work really for LinearRings

2009-03-02 Thread Stefan Steiniger
Hei Martin and others, I discovered that odd behaviour: When data are created with Tools>Edit Geometry>Convert> Extract Common Boundary Between Polygons... (in OpenJUMP-NB) the function returns LinearRings. Now, the geometry of those data can be saved in a jml file, but it is not displayed w