[GRASSLIST:6192] RE: display manager and monitors

I use the graphical interface of Grass6.0.0 Cygwin stable (feb
something).
I have tried to import shapefiles into grass, and get messages like
this:

v.in.ogr dsn=/cygdrive/c/xxx/periode1a.shp output=p1a min_area=0.0001
snap=-1
PROJ_INFO file not found for location N50kart
PROJ_UNITS file not found for location N50kart
Projection of input dataset and current location appear to match.
Proceeding with import...
Layer: periode1a
Building topology ...
Registering lines:
238 primitives registered
Building areas:

238 areas built
238 isles built
Attaching islands:
Attaching centroids:

When I try to present it on maps, only the boundaries of the areas show
up -

GRASS 6.0.0 (N50kart):~ > WARNING: coor files of vector 'p1a@PERMANENT'
is larger than it should be
         (33479 bytes excess).
WARNING: Cannot display areas, topology not available
WARNING: Cannot display topology, not available

When I use v.external, the map writes out afterwards without problems.
The number of primitives is different.

v.external dsn=/cygdrive/c/xxx/periode1a.shp output=p1d layer=periode1a
Building topology ...eature: 100 200 238
Topology was built.
Number of nodes : 476
Number of primitives: 476
Number of points : 0
Number of lines : 0
Number of boundaries: 238
Number of centroids : 238
Number of areas : 238
Number of isles : 238

What is the problem with the coor file made by v.in.ogr? Can anyone
help?

Sincerely,
Geir

I use the graphical interface of Grass6.0.0 Cygwin stable (feb
something).
I have tried to import shapefiles into grass, and get messages like
this:

v.in.ogr dsn=/cygdrive/c/xxx/periode1a.shp output=p1a min_area=0.0001
snap=-1
PROJ_INFO file not found for location N50kart
PROJ_UNITS file not found for location N50kart

?!

what does 'g.proj -p' give?

XY location?

Projection of input dataset and current location appear to match.

?! NULL == NULL ?

can that ever be true for shapefiles? is .prj respected if it exists?

Hamish

On Thu, 17 Mar 2005, Hamish wrote:

I use the graphical interface of Grass6.0.0 Cygwin stable (feb
something).
I have tried to import shapefiles into grass, and get messages like
this:

v.in.ogr dsn=/cygdrive/c/xxx/periode1a.shp output=p1a min_area=0.0001
snap=-1
PROJ_INFO file not found for location N50kart
PROJ_UNITS file not found for location N50kart

?!

what does 'g.proj -p' give?

XY location?

Projection of input dataset and current location appear to match.

?! NULL == NULL ?

can that ever be true for shapefiles? is .prj respected if it exists?

Yes... OGR reads the .prj file. If there is none there then OGR dataset projection = 0 (XY) and if the same for location then the message about
projections matching will be (validly because XY == XY) reported.

I fixed v.in.ogr so it won't bother checking for proj_info and proj_units if the location is XY and will avoid the confusing warnings.

Paul