Opened 21 years ago
Last modified 21 years ago
#301 closed defect (invalid)
wkbMultiPolygon and Shapefile
Reported by: | Owned by: | warmerdam | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | OGR_SF | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
Cannot get wkbMultiPolygon features from Shapefiles. I have a sample file but don't know how to send it in Bugzilla. Just tell me if you need one.
Attachments (1)
Change History (2)
by , 21 years ago
comment:1 by , 21 years ago
Sylvain, I took a look at this file, and first it is a line file, not a polygon file. With my fixes of a few weeks ago in OGR, I now seem to get multilinestrings from the appropriate places in this file now. eg. warmerda@gdal2200[14]% ogrinfo -ro -al . | more INFO: Open of `.' using driver `ESRI Shapefile' successful. Layer name: rivers Geometry: Line String Feature Count: 30 Extent: (-115.041496, 15.439924) - (-90.658142, 32.720833) Layer SRS WKT: (unknown) NAME: String (40.0) SYSTEM: String (40.0) OGRFeature(rivers):0 NAME (String) = Amajac SYSTEM (String) = (null) LINESTRING (-98.74583435 21.27520370,-98.78140259 21.18055344,-98.95611572 21. 07499695,-98.96250916 21.01194382,-99.00361633 21.01805496,-99.05612183 20.94499 969,-99.02223206 20.84694290,-98.96139526 20.81638718,-98.88862610 20.58194351,- 98.83528137 20.52222061,-98.81140137 20.33499908,-98.73083496 20.32583237,-98.69 778442 20.28388596) OGRFeature(rivers):1 NAME (String) = Balsas SYSTEM (String) = Balsas MULTILINESTRING ((-102.91555786 19.93055344,-102.80734253 19.89915085,-102.891 40320 19.83082962,-102.82945251 19.77194214,-102.78028870 19.47305298,-102.74501 038 19.42499924,-102.78140259 19.37777710,-102.77862549 19.29886246,-102.8122253 4 19.35694122,-103.06723022 19.44749832,-103.06472778 19.55694199),(-102.7786254 9 19.29886246,-102.77139282 19.17472076,-102.63722229 19.05305481,-102.48722839 ... I will do a little more verification to see if the multi line strings seem right, but off hand things look ok. Can you give more info on why you believe they are broken?
Note:
See TracTickets
for help on using tickets.
ShapeFile