[GRASSLIST:1048] Finding area where sit points without PostgreSQL

Hello,

I have a vectorial map with text which insertion point is inside the area
it should be associated with. I have used PostgreSQL geometric extensions
to find where the point (insertion) is in ( '(x,y)' @ boundary ). But :

1) I would prefer to use the geometric/topological tool, i.e. GRASS, to do
this kind of things, and not use database extensions ;

2) The results are not always good (i.e. PostgreSQL miss some points that
indeed lie inside an area --- the area boundaries where extracted from GRASS);

Is there a way to do it automatically (batch) in GRASS.
Alternate: has someone tips to make it work correctly under PostgreSQl (I still
prefer a GRASS based solution but I'd like to understand if there are
subtilities under PostgreSQL).

TIA.

On Wednesday 27 August 2003 18:19, tlaronde@polynum.org wrote:

Hello,

I have a vectorial map with text which insertion point is inside the area
it should be associated with. I have used PostgreSQL geometric extensions
to find where the point (insertion) is in ( '(x,y)' @ boundary ). But :

1) I would prefer to use the geometric/topological tool, i.e. GRASS, to do
this kind of things, and not use database extensions ;

2) The results are not always good (i.e. PostgreSQL miss some points that
indeed lie inside an area --- the area boundaries where extracted from
GRASS);

Is there a way to do it automatically (batch) in GRASS.
Alternate: has someone tips to make it work correctly under PostgreSQl (I
still prefer a GRASS based solution but I'd like to understand if there are
subtilities under PostgreSQL).

TIA.

To find area the point is within?
5.0: v.what (attention to current region!)
5.1: v.distance max=0

Ra

En réponse à Radim Blazek <blazek@itc.it>:

On Wednesday 27 August 2003 18:19, tlaronde@polynum.org wrote:
> Hello,
>
> I have a vectorial map with text which insertion point is inside the
area
> it should be associated with. I have used PostgreSQL geometric
extensions
> to find where the point (insertion) is in ( '(x,y)' @ boundary ). But
:
>
> 1) I would prefer to use the geometric/topological tool, i.e. GRASS,
to do
> this kind of things, and not use database extensions ;
>
>
> Is there a way to do it automatically (batch) in GRASS.
> Alternate: has someone tips to make it work correctly under PostgreSQl

To find area the point is within?
5.0: v.what (attention to current region!)
5.1: v.distance max=0

Thanks! Works simply great!

It´s always interesting to know about other open gis tools...

www.vividsolutions.com/jump

I´m working in a project to display geographic data (generally in dwg or
shp) and sustainable development indicators in several cities, so this
program is useful for our project...We need to provide open source tools to
the cities in order to prepare gis data for MapSever and Postgis. But we
have the eternal problem, most of the information is in autocad format and
most of the municipal office´s don´t have gis or cad software.

We are looking for open tools to transform the data (dwg to shape), any
sugestion is welcome. (Most of this people is not familiar with linux and
open source)

Guillermo Martínez

------------------------------------------
Ministry of Environment - Colnodo
Bogotá, Colombia
gfmb@tutopia.com
guillermo@colnodo.apc.org
-----------------------------------------