New answers tagged file-formats
Projection matters more than format. If you are not getting enough precision, switch from a UTM projection to something centered more around you area. And if you try float64, you'll do better, but my guess it that you are then shaving yaqs for your use case. If you really want to preserve exact numbers, scale elevation and use ints.
Try the IEEE 754 Converter http://www.h-schmidt.net/FloatConverter/IEEE754.html. Read the note: Rounding errors: Not every decimal number can be expressed exactly as a floating point number. This can be seen when entering "0.1" and examining its binary representation which is either slightly smaller or larger, depending on the last bit. You can ...
When talking about GIS data exchange formats, do not forget GML as well.
Here is the code without error QgsVectorFileWriter * writer; writer = new QgsVectorFileWriter("/tmp/myshapes.shp", "CP1250", MyQgsFields, QGis::WKBPoint, mpMapCanvas->mQgsCoordinate, ...
If you review the API (http://qgis.org/api/classQgsVectorFileWriter.html) for QgsVectorFileWriter, the constructor looks like: QgsVectorFileWriter::QgsVectorFileWriter ( const QString & vectorFileName, const QString & fileEncoding, const QgsFields & fields, QGis::WkbType geometryType, const ...
SpatiaLite ,a spatial extension to SQLite is the best option for mobile applications.
here is an extension called CarryMap. It does what you exactly want. It exports your mxd into an Exe file that can be opened with a double click. No other software is needed. Furthermore it export your map for use in Android or iOS devices! However you should pay to have the extension (commercial extension). http://www.dataeast.com/en/carrymap.asp ...
This is hard to answer without knowing more of your aims and the type of data you intend to view. But Shapefiles are well supported by FOSS due to their de facto standard status. It may be worth looking at the OGC GeoPackage standard which is the latest format to be described as the "new shapefile". It is supported by GDAL/OGR, QGis and GeoTools at least and ...
Top 50 recent answers are included