[GRASS-user] Difficlty with projections - newbie

Maciek Sieczka werchowyna at epf.pl
Wed Jun 21 11:32:21 EDT 2006


On Wed, 21 Jun 2006 12:11:55 -0300
pmarc <paulomarcondes at gmail.com> wrote:

> 2006/6/21, Maciek Sieczka <werchowyna at epf.pl>:
> >
> > Based on this info, find your epsg code on
> > http://ocean.csl.co.uk/OceanBrowser/browse.html. If it's there use
> > that code as -s_srs for ogr2ogr.
> 
> Hi,
> 
> grepping /usr/share/proj/epsg, I got this:
> paulo at onix:~/gis_data/ibge/mapa_indice$ grep -A 1
> Brazil /usr/share/proj/epsg
> # SAD69 / Brazil Polyconic
> <29100> +proj=poly +lat_0=0 +lon_0=-54 +x_0=5000000 +y_0=10000000
> +ellps=GRS67 +units=m +no_defs  <>
> # SAD69 / Brazil Polyconic
> <29101> +proj=poly +lat_0=0 +lon_0=-54 +x_0=5000000 +y_0=10000000
> +ellps=aust_SA +units=m +no_defs  <>
> 
> >From which I determined EPSG:29100 to be the case, however:
> 
> $ ogr2ogr -update -append -f "ESRI Shapefile" -s_srs EPSG:29100
> MALHA_MUNICIPAL_2000.shp
> 
> only returns the usage pattern of ogr2ogr.
> 
> I know this isn't really a GRASS issue, but...

You need to specify the target coordinate system, -t_srs, and the
output shapefile. Note the output name goes first, then input name. All
there in man ogr2ogr.

Maciek

------------------------------------------------------------------------
CIEP?E KRAJE - CIEP?E MORZA. Szukasz atrakcyjnego wypoczynku w przyst?pnej cenie, zapoznaj si? z nasz? ofert?.
ZAPRASZAMY

www.skarpatravel.pl




More information about the grass-user mailing list