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.
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
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.
?
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.
?