[Qgis-user] Shapefile with file .cpg(codepage)

Neumann, Andreas a.neumann at carto.net
Thu Jul 7 03:53:20 PDT 2016


Hi, 

QGIS is using OGR to read/write shapefiles. 

http://www.gdal.org/drv_shapefile.html does not mention the .cpg files,
so I assume, OGR does not support them. If you want to see this
addressed, I would contact the GDAL/OGR devs. 

Andreas 

On 2016-07-07 12:46, Burghardt.Scholle at stadt.wolfsburg.de wrote:

> Hi,
> I would say that QGIS does not use the .cpg file. But you have the possibility to make the correct encoding in the layer properties under "General -> Layer info -> Data source encoding".
> 
> Regards
> Burghardt
> 
>> -----Ursprüngliche Nachricht-----
>> Von: Qgis-user [mailto:qgis-user-bounces at lists.osgeo.org] Im Auftrag von
>> Andrea Peri
>> Gesendet: Donnerstag, 7. Juli 2016 12:16
>> An: qgis-user
>> Betreff: [Qgis-user] Shapefile with file .cpg(codepage)
>> 
>> Hi,
>> I have some shapefiles with an extra file having extension .cpg.
>> The .cpg extension is a optional extension for declaration of Code-Page.
>> Is this file knowed and supported from QGIS 2.14. ?
>> 
>> I don't know if the qgis when loading a shapefile is using the ogr or instead is
>> using an own shapefile provider, but however I don't know if gdal is knowing
>> and using this .cpg file.
>> :)
>> 
>> Thx,
>> 
>> --
>> -----------------
>> Andrea Peri
>> . . . . . . . . .
>> qwerty àèìòù
>> -----------------
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20160707/bf8a6d42/attachment.html>


More information about the Qgis-user mailing list