[GRASSLIST:10481] Re: importing projection info with v.in.ogr

Chris Fonnesbeck fonnesbeck at gmail.com
Tue Feb 21 11:03:27 EST 2006


On 2/21/06, Markus Neteler <neteler at itc.it> wrote:
> On Tue, Feb 21, 2006 at 10:05:35AM -0500, Chris Fonnesbeck wrote:
> > On 2/20/06, Markus Neteler <neteler at itc.it> wrote:
> > > Chris,
> > >
> > > what does g.proj -p say?
> >
> > Hi Markus,
> >
> > It says:
> >
> > XY location (unprojected)
> >
>
> Hi Chris,
>
> that's the problem. AFAIK you cannot generate projection info
> in a XY location (doesn't make sense).
>
> But try to add the "location=" parameter to create a *new* location
> from the data set. This you can do in the XY location without
> problems.

Ah, but thats what I did. That location is the result of calling:

v.in.ogr dsn=./ layer=cntbnd location=florida output=counties

The resulting location, florida, has an XY location, despite the fact
that the imported shape file had a valid prj file (attached to
previous message).

C.

--
Chris Fonnesbeck + Atlanta, GA + http://trichech.us




More information about the grass-user mailing list