[GRASSLIST:10411] Re: importing projection info with v.in.ogr
Chris Fonnesbeck
fonnesbeck at gmail.com
Sun Feb 19 12:37:44 EST 2006
I apologize for my question being a bit sloppy; I will clarify below.
On 2/19/06, Maciek Sieczka <werchowyna at epf.pl> wrote:
>
> On Fri, 17 Feb 2006 11:25:15 -0500
> "Chris Fonnesbeck" <fonnesbeck at gmail.com> wrote:
>
> > When I import a shapefile using v.in.ogr:
> >
> > v.in.ogr dsn=./ layer=cntbnd location=florida out=counties
>
> Command output please (copy/paste).
There is no issue here; it imports fine. The problem is that the
PROJ_INFO file does not get created in the new location.
>
> Do you mean PROJ_INFO?
>
> It is stored only in the PERMANENT mapset of your location. It aplies
> to the whole location.
>
Right. This is what is missing, however. v.in.ogr does not create
PROJ_INFO in the newly-created location.
>
> > It seems like a roundabout way, in any case, to import a shapefile of
> > a different projection into an existing project. Is there any way of
> > doing this directly, rather than having to create a new location with
> > v.in.ogr, then move the layer into the current project with v.layer?
>
> What's "v.layer"?
Sorry, I meant v.proj.
>
> You can reproject shapefiles outside Grass with ogr2ogr.
>
I may need to try this. Thanks.
What would be nice is if v.in.ogr did projected the imported layer
into the projection of the current location. I'm sure others have made
this request before, and I'm sure there is a reason why this
functionality does not exist.
--
Chris Fonnesbeck + Atlanta, GA + http://trichech.us
More information about the grass-user
mailing list