Hi All,
Here is an example of the shapefile which doesn't display it characters, I believe it is UTF-8 encoding issues. I have tried creating a .cpg file with UTF-8 but still doesn't work. I can open the shapefile in QGIS and save as UTF-8 and then it works perfectly.
Any help greatly appreciate.
Many thanks (Dan)
Jon
Hi Dan,
I have identified the problem, the data has been exported from OSM data into various shapefiles. It seems that there is a special character which doesn't like Unicode UTF-8. I am using OpenOffice Calc, to import the DBF as UTF-8 and saving as the DBF. If I get the following error;
Error saving the document amenity_point:
Write Error.
Cell A42707 contains a string that is longer in the selected target character set "Unicode (UTF-8)" than the field width.
Once I have it saved then everthing works perfect. I need to do some further analysis with QGIS and ESRI to see if QGIS simple just ignores or removes these error when I import and export from there.
Many thanks
Jon
they could be the culprits... and also, if the field isn't wide enough to accommodate the content, it may... I say may ... just skip the encoding. This happens in some programming environments whereby trying to enforce a higher level/content data type may not be permissible in some situations.
Hi everyone!!
I have a little big problem , I have a file "File CPG (.cpg)",I try to open this in my ARCGIS10 but not let me "Invalid raster dataset. Failed to create raster layer". Any suggestions for open this file? My email is fhas33@gmail.com
Thank you
Hi everyone!!
I have a little big problem , I have a file "File CPG (.cpg)",I try to open this in my ARCGIS10 but not let me "Invalid raster dataset. Failed to create raster layer". Any suggestions for open this file? My email is fhas33@gmail.com
Thank you
Hi everyone!!
I have a little big problem , I have a file "File CPG (.cpg)",I try to open this in my ARCGIS10 but not let me "Invalid raster dataset. Failed to create raster layer". Any suggestions for open this file? My email is fhas33@gmail.com
Thank you
Hi
Open and Edit the notepad.