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

Chris Fonnesbeck fonnesbeck at gmail.com
Tue Feb 21 18:42:57 EST 2006


On 2/21/06, Maciek Sieczka <werchowyna at epf.pl> wrote:
> On Mon, 20 Feb 2006 18:09:33 -0500
> "Chris Fonnesbeck" <fonnesbeck at gmail.com> wrote:
>
> > On 2/20/06, Maciek Sieczka <werchowyna at epf.pl> wrote:
> >
> > > My output is as follows. How does your compare?
> > >
> >
> > Here is my output from the same command. It does not result in a
> > PROJ_INFO file in the location:
>
> No good. Your version of Grass 6.1 has the bug in the code responsible
> for handling PROJ_INFO file for sure. It has been fixed recently. If
> you can't get a newer Grass, you'll need to reproject your shapefile
> outside the Grass, using ogr2ogr which I mentioned before.
>

Yes, a more recent cvs build seems to have fixed the problem.

However, when I try to import layers from another location (with a
different projection) using v.proj, I get an error:

Input Projection Parameters: +proj=latlong +a=6378137
+rf=298.257222101 +no_defs
+nadgrids=/Applications/Grass/grass61cvs.app/Contents/Resources/grass-6.1.cvs/etc/nad/FL
Input Unit Factor: 1

Output Projection Parameters: +proj=aea +lat_1=24 +lat_2=31.5
+lat_0=24 +lon_0=-84 +x_0=400000 +y_0=0 +no_defs +a=6378137
+rf=298.2572221010002
Output Unit Factor: 1
D1/1: Open new: location: /Users/chris/grass/florida mapset : PERMANENT
D1/1: Vect_set_thresh(): thresh = 0.000000
D1/1: V1_open_new_nat(): name = shoreline
D1/1: Vect_get_thresh(): thresh = 0.000000
D1/1: dig__write_head()
D1/1: write coor size (0) to head
D1/1: dig_spidx_init()
D1/1: Vect_get_thresh(): thresh = 0.000000
D1/1: Vect_set_thresh(): thresh = 0.000000

Creating vector file...
D1/1: Vect_Rewind(): name = shoreline
pj_transform() failed
cause: failed to load NAD27-83 correction file
Error in pj_do_transform


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




More information about the grass-user mailing list