Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
ogr2ogr is an open source command line utility popular for converting to and from various vector spatial data formats.
1
vote
Accepted
Using OGR2OGR to re-project a shapefile Error
See http://www.gdal.org/ogr2ogr.html for the usage.
In your command, G:\CIS_Sea_Ice_Chart\cis_SGRDRWA_20160606T1800Z_pl_a.shp is the destination (result), and G:\CIS_Sea_Ice_Chart_3573\cis_SGRDRWA_20 …
1
vote
Accepted
ogr2ogr from Postgres to GeoJSON missing crs key
I had a look at the OGR source, and I think option 2 applies.
#ifdef notdef
if (poSRS)
{
const char* pszAuthority = poSRS->GetAuthorityName(NULL);
const char* pszAuthorityCode …
2
votes
Accepted
Transform GeoRSS from WGS84 to UTM 33N with ogr2ogr
The SIMPLE GeoRSS format is the default, and it only supports WGS84. You need to specify the GML GEOM_DIALECT if you want to use something other than WGS84. See http://www.gdal.org/ogr/drv_georss.html …
13
votes
Accepted
Problem 'unable to open datasource" with ogr2ogr to reproject shapefile
Usage: ogr2ogr [--help-general] [-skipfailures] [-append] [-update]
[-select field_list] [-where restricted_where]
[-progress] [-sql <sql statement>] [-dialect dialect … You probably wanted:
ogr2ogr -f "ESRI Shapefile" Sydney2.shp Sydney.shp -s_srs EPSG:32656 -t_srs EPSG:4326 …
0
votes
ogr2ogr MIF to KML fails on writing kml in linux
Installing Expat won't be enough - you need to rebuild OGR with expat support.
From http://www.gdal.org/ogr/drv_kml.html:
KML reading is only available if GDAL/OGR is built with the Expat XML
P …
2
votes
Accepted
gdalwarp `-te -5.8 41 10 51.5 -ts 1980 0` not working with mercator?
Solution
The part that is going wrong is where you assumed that the coordinates in 3857 are degrees (like -5.8, 41). The units of 3857 are metres. So you're asking for something tiny, off the map (nea …
1
vote
Accepted
Exporting vector to kml with ogr2ogr without extended data
You should be able to choose what goes over by using the -select option
7
votes
Accepted
ogr2ogr won't read directory of GeoJSON into GPKG
The "directory as dataset" is a specific feature of the shapefile driver. From http://www.gdal.org/drv_shapefile.html :
Normally the OGR Shapefile driver treats a whole directory of
shapefiles …
3
votes
Merge multiple geometry type TAB files in QGIS/OGR
OGR cannot update an existing TAB (or MIF/MID) file. It can read and can create, but not update. From http://www.gdal.org/ogr/drv_mitab.html:
MapInfo TAB and MIF/MID
MapInfo datasets in nativ …