[GRASS-user] Trouble with reprojecting a vector file

All,

I’m using GRASS 7.0 svn from a few weeks ago on Ubuntu 13.10 (not that I think either is an issue). I have imported a fairly large shapefile from here: http://www.nohrsc.noaa.gov/data/vector/master/rfc_us.tar.gz – 3084 KB. It imports just fine into a lat/long Location and displays just fine, but when I try to reproject the map into a LCC projection Location, I lose feature data for most of the 12 (large) polygons. These polygons are displayed (unfilled with any color) in my map, and when I query them I get no attribute info; the other polygons (about 4 out of the 12) are fine. I have tried the reprojection several times with identical results. This same result occured with GRASS 6.4.x as well.

I have successfully reprojected other vector maps from my lat/long Location into my LCC Location without issues. It seems I have hit a memory problem?? My computer has 8GB RAM.

One thought is to import the vector map directly into my LCC Location; if memory serves there is a way to do this from the command line, but I can not remember how…

Regards,

Tom

On 27/12/13 18:27, Thomas Adams wrote:

All,

I'm using GRASS 7.0 svn from a few weeks ago on Ubuntu 13.10 (not that I
think either is an issue). I have imported a fairly large shapefile from
here: http://www.nohrsc.noaa.gov/data/vector/master/rfc_us.tar.gz --
3084 KB. It imports just fine into a lat/long Location and displays just
fine, but when I try to reproject the map into a LCC projection
Location, I lose feature data for most of the 12 (large) polygons. These
polygons are displayed (unfilled with any color) in my map, and when I
query them I get no attribute info; the other polygons (about 4 out of
the 12) are fine. I have tried the reprojection several times with
identical results. This same result occured with GRASS 6.4.x as well.

I have successfully reprojected other vector maps from my lat/long
Location into my LCC Location without issues. It seems I have hit a
memory problem?? My computer has 8GB RAM.

I don't think that this is a memory problem. Sounds more like the polygons are not closed after reprojection. You can open the file in the digitizer to check. If that's the case, you can either correct manually, or you can use v.clean.

Moritz

On Fri, Dec 27, 2013 at 6:27 PM, Thomas Adams <tea3rd@gmail.com> wrote:

All,

I'm using GRASS 7.0 svn from a few weeks ago on Ubuntu 13.10 (not that I
think either is an issue). I have imported a fairly large shapefile from
here: http://www.nohrsc.noaa.gov/data/vector/master/rfc_us.tar.gz -- 3084
KB. It imports just fine into a lat/long Location and displays just fine,
but when I try to reproject the map into a LCC projection Location, I lose
feature data for most of the 12 (large) polygons. These polygons are
displayed (unfilled with any color) in my map, and when I query them I get
no attribute info; the other polygons (about 4 out of the 12) are fine. I
have tried the reprojection several times with identical results. This same
result occured with GRASS 6.4.x as well.

This is a known problem which can be avoided by adding new vertices
with v.split. See also
http://trac.osgeo.org/grass/attachment/ticket/1918/dense_points_effect.png
for an illustration.

Markus M

I have successfully reprojected other vector maps from my lat/long Location
into my LCC Location without issues. It seems I have hit a memory problem??
My computer has 8GB RAM.

One thought is to import the vector map directly into my LCC Location; if
memory serves there is a way to do this from the command line, but I can not
remember how...

Regards,
Tom

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

On Wed, Jan 8, 2014 at 9:34 PM, Markus Metz
<markus.metz.giswork@gmail.com> wrote:
...

This is a known problem which can be avoided by adding new vertices
with v.split. See also
http://trac.osgeo.org/grass/attachment/ticket/1918/dense_points_effect.png
for an illustration.

IMHO this should go into the manual of v.proj.

markusN