[Qgis-developer] Different GeoJson results from QgsVectorFileWriter.writeAsVectorFormat() on different systems

Tom Chadwin tom.chadwin at nnpa.org.uk
Thu Apr 21 04:10:35 PDT 2016


OK, I found a 2.8.6 install, and that has solved that specific problem -
thanks!

However, there is one other inconsistency. I should have said that the data
is qgis_sample_data\shapefiles\airports.shp from
https://qgis.org/downloads/data/qgis_sample_data.zip.

2.8.6 Win7x64:

{ "type": "Feature", "properties": { "ID": 1.000000 }, "geometry": { "type":
"Point", "coordinates": [ -162.97528075057517, 67.562080385426 ] } }

2.8.1 Ubuntu:

{ "type": "Feature", "properties": { "ID": 1.000000 }, "geometry": { "type":
"Point", "coordinates": [ -162.975280750575166, 67.562080385426 ] } }

The precision differs between the two. What causes that?

Is there a Windows 2.8.1 package I can download from somewhere to see if
that makes a difference? http://qgis.org/downloads/ only has 2.8.3+ (or
pre-2.8, which I really don't want).



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Different-GeoJson-results-from-QgsVectorFileWriter-writeAsVectorFormat-on-different-systems-tp5262115p5262277.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.


More information about the Qgis-developer mailing list