Skip to main content

Support for shape files with M and Z

Anonymous (not verified)
Published on: 24/06/2010 Discussion Archived

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



OperatingSystemNone
BuildNumberminor
SubprojectBuildNumberminor
SubprojectResolveBuildNumberAll
KeywordsNone
ResolutionAwaiting response
SeverityNone
SubprojectNamegvSIG
ComponentNone
VersiongvSIG - 1.11.0
SubprojectVersiongvSIG - 1.11.0
SubprojectResolveVersiongvSIG - 1.10.0
Has patchNone

Category

Bugs

Comments

arodriguez (not verified) Wed, 07/07/2010 - 12:32

How do I test this correction? Could you tell me how to do it, please.

Anonymous (not verified) Wed, 07/07/2010 - 16:37

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.

Anonymous (not verified) Thu, 02/09/2010 - 13:46

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?

nfora (not verified) Fri, 03/09/2010 - 14:43

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.

mespi (not verified) Mon, 09/05/2011 - 10:28

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.

Anonymous (not verified) Wed, 10/08/2011 - 14:32

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.

Login or create an account to comment.