Hot answers tagged

2

From the ogr2ogr page: -a_srs srs_def: Assign an output SRS -t_srs srs_def: Reproject/transform to this SRS on output -s_srs srs_def: Override source SRS So we can see they have very different functions. -s_srs tells OGR to ignore the SRS that the input source claims to have and use the one provided. This is useful when OGR is unable to determine the SRS ...


2

For the coordinates, see Get list of coordinates for points in a layer? or Reproject CSV file to different projecton using ogr2ogr -lco GEOMETRY=AS_XY is what you need. For the error part, just do as you are told: ogr2ogr -f "CSV" -overwrite MyLayer2.csv MyLayer.shp This will destroy any previous content of the csv file, and add values from the ...


1

Esri has some JavaScript libraries that will get you from GeoJSON to ArcGIS Server JSON. Terraformer ArcGIS Parser arcgis-to-geojson-utils (Despite the name, it converts in both directions)


1

Again I answer my own question. See the ticket at https://trac.osgeo.org/gdal/ticket/6597


1

I didn't work through the issue with your data but my perspective is that the error comes down to a limitation of shapefile format. Topological consistency is not enforced/inherent in the shapefile format (esri's explanation here). The Mongo spatial indexing system does require topological consistency. Lacking the enforcement of consistency in the source ...



Only top voted, non community-wiki answers of a minimum length are eligible