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

Markus Neteler neteler at itc.it
Tue Feb 21 11:26:22 EST 2006


On Tue, Feb 21, 2006 at 11:03:27AM -0500, Chris Fonnesbeck wrote:
> 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).

Sorry, I didn't read all mails.
When did you obtain GRASS 6.1? There were some days where exactly
this functionality failed.

I assume that
ogrinfo cntbnd.shp 
displays the projection correctly?

Markus




More information about the grass-user mailing list