Apparently there is a declaration of multi vs simple:
https://www.gdal.org/drv_shapefile.html
Shapefile of type SHPT_ARC, the corresponding layer will be reported as
of type wkbLineString, but depending on the number of parts of each
geometry, the actual type of the geometry for each feature can be either
OGRLineString or OGRMultiLineString
cheers

On 21/01/19 17:43, Matthias Kuhn wrote:
> Hi Matteo,
> 
> In shapefiles, there is no LineString or Polygon, all line layers are
> MultiLineString and polygon layers MultiPolygon.
> 
> Only points come in multi and non-multi versions.
> 
> Cheers
> 
> Matthias
> 
> 
> On 1/21/19 5:31 PM, matteo wrote:
>> Hi devs,
>>
>> in QGIS 3 a shapefile is recognized as MultiLineString, while in QGIS 2
>> the same file is recognized as LineString. What could be the reason?
>>
>> Moreover: is there and option to force to read a shapefile as LineString?
>>
>> Cheers and thanks
>>
>> Matteo
>> _______________________________________________
>> QGIS-Developer mailing list
>> QGIS-Developer@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
> -- 
> Matthias Kuhn
> matth...@opengis.ch <mailto:matth...@opengis.ch>
> +41 (0)76 435 67 63 <tel:+41764356763>
> OPENGIS.ch Logo <http://www.opengis.ch>
> 
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> 

-- 
Paolo Cavallini - www.faunalia.eu
QGIS.ORG Chair:
http://planet.qgis.org/planet/user/28/tag/qgis%20board/
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to