[Qgis-developer] Different GeoJson results from QgsVectorFileWriter.writeAsVectorFormat() on different systems
Tom Chadwin
tom.chadwin at nnpa.org.uk
Wed Apr 20 08:37:21 PDT 2016
My system (QGIS 2.14.1 Win7x64):
{ "type": "Feature", "properties": { "ID": "1" }, "geometry": { "type":
"Point", "coordinates": [ -162.97528075057517, 67.562080385426 ] } }
Travis (QGIS ?2.8.?, Ubuntu Trusty):
{ "type": "Feature", "properties": { "ID": 1.000000 }, "geometry": { "type":
"Point", "coordinates": [ -162.975280750575166, 67.562080385426 ] } }
The ID field in QGIS says it is:
Type: qlonglong
Type name: Integer64
Length: 10
Precision: 0
What could cause one system to export as an int delimited by quotes, and the
other to generate 6 decimal places, but not delimit with quotes?
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Different-GeoJson-results-from-QgsVectorFileWriter-writeAsVectorFormat-on-different-systems-tp5262115.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
More information about the Qgis-developer
mailing list