#674: add a region option flag to v.proj / r.proj
---------------------+------------------------------------------------------
Reporter: timmie | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: normal | Milestone: 6.4.0
Component: default | Version: svn-develbranch6
Keywords: | Platform: Linux
Cpu: x86-32 |
---------------------+------------------------------------------------------
* imagine a global data set (world borders in EPSG 4326) that is to be
reprojected into a samller zone (UTM N13 location).
* doing this without the region flag caused the following error:
- v.proj: split_q.c:69: RTreeClassify: Assertion `!p->taken[i]' failed.
* take -r flag of v.in.ogr as example
It is not surprising it ended in error, you asked it to do something
mathematically unsuitable.
crop your vector with v.in.region + v.overlay before you try to project
it. simply selecting line features if they cross the target region is no
good as the line could extend far out of zone. simply throwing away
vertices outside the region is no good too because it breaks topology.
the error message could be clearer, beyond that I'd consider to close this
as wontfix.
#674: add a region option flag to v.proj / r.proj
--------------------------+-------------------------------------------------
Reporter: timmie | Owner: grass-dev@lists.osgeo.org
Type: enhancement | Status: new
Priority: normal | Milestone: 6.5.0
Component: Vector | Version: svn-develbranch6
Resolution: | Keywords: v.proj
Platform: Linux | Cpu: x86-32
--------------------------+-------------------------------------------------
Old description:
* imagine a global data set (world borders in EPSG 4326) that is to be
reprojected into a samller zone (UTM N13 location).
* doing this without the region flag caused the following error:
- v.proj: split_q.c:69: RTreeClassify: Assertion `!p->taken[i]' failed.
* take -r flag of v.in.ogr as example
New description:
* imagine a global data set (world borders in EPSG 4326) that is to be
reprojected into a samller zone (UTM N13 location).
* doing this without the region flag caused the following error:
{{{
v.proj: split_q.c:69: RTreeClassify: Assertion `!p->taken[i]'
}}}
failed.
* take -r flag of v.in.ogr as example
Comment (by neteler):
See also Ticket #818 for assertion.
Do ticket #845 and changes in 6.5svn (r40559) and trunk in r40560) help?
#674: add a region option flag to v.proj / r.proj
--------------------------+-------------------------------------------------
Reporter: timmie | Owner: grass-dev@lists.osgeo.org
Type: enhancement | Status: new
Priority: normal | Milestone: 6.5.0
Component: Vector | Version: svn-develbranch6
Resolution: | Keywords: v.proj
Platform: Linux | Cpu: x86-32
--------------------------+-------------------------------------------------
Comment (by hamish):
to add to my previous comments to this ticket (which were perhaps a bit
harsh), a region cropping flag could be nice. even if it is not
universally workable it would probably work for most practical cases.