Implementation based in code from Bolzano (they did linestring support), we added also polygons in order to support Cartociudad shape files. Old ticket: 2954 SVN #32872
| OperatingSystem | None |
| BuildNumber | minor |
| SubprojectBuildNumber | minor |
| SubprojectResolveBuildNumber | All |
| Keywords | None |
| Resolution | Awaiting response |
| Severity | None |
| SubprojectName | gvSIG |
| Component | None |
| Version | gvSIG - 1.11.0 |
| SubprojectVersion | gvSIG - 1.11.0 |
| SubprojectResolveVersion | gvSIG - 1.10.0 |
| Has patch | None |
Category
Bugs
Login or create an account to comment.
Comments
How do I test this correction? Could you tell me how to do it, please.
You can use any shape file with M and Z coordinates, and see it in gvSIG. Also, it will be good to test if it can be edited or not, reproject, change legend, print. I attach 2 shape files from Cartociudad, lines and polygons in order to allow you to test.
Reading of linear shapefile is ok, but writing was still uncorrect. The writing process, in fact, didn't take into account M coordinate and to coorect this behaviour, M coordinate was always recomputed. Has this problem been fixed now?
Tested in v.1.10 bn 1259 on Windows XP and Linux. For both OS: 1) When the shapes from Cartociudad attached are added to the view, in the "General" tab of "Layer Properties" before edit nothing it can be seen: - "Type: PolygonM" for the shape named MANZANA_CUENCA.shp - "Type: Line2D" for the shape named TRAMO_CUENCA.shp 2) After edition, reprojection, change legend and print, the "Type" for each shape remains the same as before. 3) Trying the shapes edition, I notified that it's possible edit the existent polygons, but isn't possible to create new ones. When I save the edits, they dissapear. It was working on edit linear shape (maybe because it's 2D type) 4) For reproject, change legend and print, I had not problem.
In gvSIG 1.11 bn 1305 happens, when you start editing a shp M polygons layer, you can introduce all types of elements. All items can be drawn, but to finish editing and save your changes are saved only circles and ellipses, but gvSIG saves circles as rectangles and ellipses as rhombus.
Shape file format doesn't support circles or ellipses. This is not related to M. About editing M and Z polygons, I think in another bug there was a message to the user, warning him about the no possibility to edit them. If this is critical, I can put some effort to fix it. Let me know.