Changing the projection of a shapefile using ogr2ogr :
Download and install ogr/gdal (yes, it's free).
To create output.shp with the WGS84 (4326) projection, use the following syntax :
ogr2ogr output.shp -t_srs "EPSG:4326" input.shp
To simply extract Features 1,2,3 and export into GML :
ogr2ogr output.gml input.tab -f "GML" -where "fid in (1,2,3)"
Similarly, use gdalwarp for raster data :
gdalwarp -t_srs 'EPSG:4326' input.tif output.tif
voilĂ
Nothing fancy. Just a scratchboard for Open Source Geospatial manipulations. Involves (although not limited to) Linux, R, gdal, Quantum GIS, Geoserver etc.
Sunday, February 22, 2009
Thursday, February 12, 2009
Firefox not resizable in Ubuntu 8.10 Interpid
The borders of Firefox disappeared. It is not sizeable anymore. Ennoying!
After pressing F11 twice, the problem is gone!
After pressing F11 twice, the problem is gone!
Skype audio problem in Ubuntu 8.10 Interpid
Subscribe to:
Posts (Atom)