[geos-devel] distance

2011-08-26 Thread Tomas Neme
I'm looking at the geos API and I don't undestand what units are the distance parameters supposed to be.. I'm trying to use buffer, to create a 1km circle around a Point defined in SRID=22186, and.. I have no clue how to do this. Thanks Tomas -- The whole of Japan is pure invention. There is

Re: [geos-devel] distance

2011-08-26 Thread Sean Gillies
On Fri, Aug 26, 2011 at 9:50 AM, Tomas Neme lacrymol...@gmail.com wrote: I'm looking at the geos API and I don't undestand what units are the distance parameters supposed to be.. I'm trying to use buffer, to create a 1km circle around a Point defined in SRID=22186, and.. I have no clue how to

Re: [geos-devel] distance

2011-08-26 Thread Tomas Neme
Hi Tomas, All the GEOS operations are done in a unitless Cartesian space. Distance is unitless. For example, the distance between a point at (0, 0) and (1, 1) is sqrt(2). 22186 has units of meters, right? As long as your distances are in meters (1000 in your case), you'll be fine. I thought

Re: [geos-devel] distance

2011-08-26 Thread Frank Warmerdam
Tomas, If you dig into one of the representations, such as well known text as HTML you can see the units. In the WKT it is: PROJCS[POSGAR 94 / Argentina 6, GEOGCS[POSGAR 94, DATUM[Posiciones_Geodesicas_Argentinas_1994, SPHEROID[WGS 84,6378137,298.257223563,

Re: [geos-devel] distance

2011-08-26 Thread Tomas Neme
If you dig into one of the representations, such as well known text as HTML you can see the units.  In the WKT it is: ...    UNIT[metre,1,   * UNITS * =D thanks -- The whole of Japan is pure invention. There is no such country, there are no such people