Re: Points and Polygons

Hamish <[email protected]> Fri, 3 Jun 2005 12:07:48 +1200
Newsgroups gmane.games.flightgear.terragear.devel
Message-ID <[email protected]>
> I need to know what area is next to another area, for example, if i'm
> using a road's polygon i would like to know what kind of polygons are
> next to this, if there is another road's polygon, or a polygon from a
> river, from an ocean, from an urban area,.... I've been looking for a
> routine in Terragear but i can't find it. Does somebody know if exists
> a routine that returns the polygon or polygons from a definite point,
> or a routine that returns all the polygons next to the polygon i have?


You can load the data into GRASS GIS and use the v.to.db module to do
this. Pretty much all common vector formats can be loaded with v.in.ogr.

v.to.db option=sides

see:
  http://grass.ibiblio.org/grass61/manuals/html61_user/v.to.db.html

Saves to a DBF database which can be loaded into OpenOffice, etc.




Hamish

_______________________________________________
Terragear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/terragear-devel
2f585eeea02e2c79d7b1d8c4963bae2d