[GRASS-user] create a xy location with g.proj

Hi,

does anybody have an example how to create a xy-location using g.proj -c ?

Calling up g.proj from within a xy-location using the -j/-w flags (to create output in wkt/proj format) results in the info "xy location (unprojected)". This doesn't really help.

Thanks,
Peter

--
Dr. Peter Löwe
<peter.loewe@gmx.de>

Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger

AFAIK, you cannot create an xy location using g.proj. g.proj is for creating
projected locations. xy is not projected. When I wanted to create an xy
location for the new wxPython location wizard, I had to code it myself. That
said, it's not hard to create the WIND, etc files for an xy location.

Michael

On 10/9/07 7:18 AM, "Peter Löwe" <peter.loewe@gmx.de> wrote:

Hi,

does anybody have an example how to create a xy-location using g.proj -c ?

Calling up g.proj from within a xy-location using the -j/-w flags (to create
output in wkt/proj format) results in the info "xy location (unprojected)".
This doesn't really help.

Thanks,
Peter

__________________________________________
Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

Peter Löwe wrote:
> does anybody have an example how to create a xy-location using g.proj
> -c ?
>
> Calling up g.proj from within a xy-location using the -j/-w flags (to
> create output in wkt/proj format) results in the info "xy location
> (unprojected)". This doesn't really help.

Michael Barton wrote:

AFAIK, you cannot create an xy location using g.proj. g.proj is for
creating projected locations. xy is not projected. When I wanted to
create an xy location for the new wxPython location wizard, I had to
code it myself. That said, it's not hard to create the WIND, etc files
for an xy location.

If this doesn't exist, then we should look at adding the functionality.

for example:
g.proj -c location="newloc" wkt=none
or
g.proj -c location="newloc" wkt=XY
or
g.proj -c location="newloc" wkt=unprojected

then in g.proj we test for that string and reroute as needed.
?

Hamish

-------- Original-Nachricht --------

Datum: Wed, 10 Oct 2007 19:09:42 +1300
Von: Hamish <hamish_nospam@yahoo.com>
An: Michael Barton <michael.barton@asu.edu>
CC: "Peter Löwe" <peter.loewe@gmx.de>, grassuser@grass.itc.it, Paul Kelly <paul-grass@stjohnspoint.co.uk>
Betreff: Re: [GRASS-user] create a xy location with g.proj

> Peter Löwe wrote:
> > does anybody have an example how to create a xy-location using g.proj
> > -c ?
> >
> > Calling up g.proj from within a xy-location using the -j/-w flags (to
> > create output in wkt/proj format) results in the info "xy location
> > (unprojected)". This doesn't really help.

Michael Barton wrote:
> AFAIK, you cannot create an xy location using g.proj. g.proj is for
> creating projected locations. xy is not projected. When I wanted to
> create an xy location for the new wxPython location wizard, I had to
> code it myself. That said, it's not hard to create the WIND, etc files
> for an xy location.

If this doesn't exist, then we should look at adding the functionality.

for example:
g.proj -c location="newloc" wkt=none
or
g.proj -c location="newloc" wkt=XY
or
g.proj -c location="newloc" wkt=unprojected

then in g.proj we test for that string and reroute as needed.
?

Hamish

That whould help a lot.

Peter
--
Dr. Peter Löwe
<peter.loewe@gmx.de>

GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail