[postgis-users] simplify() on lat/lon data

Tyler Mitchell TMitchell at lignum.com
Thu May 20 12:04:43 PDT 2004


More specificially, what is wrong with what I'm doing here?  See the two 
extents are completing different  (e+308?!?)

SELECT extent(simplify(wkb_geometry,0.001)) AS simplified, 
        extent(wkb_geometry) AS original 
FROM countries_area;

-[ RECORD 1 
]------------------------------------------------------------------------------------------------------------------------
simplified | BOX3D(-1.79173126097193e+308 -1.61265495728127e+308 
0,1.61736680834172e+308 1.66449325828348e+308 1.59323651357963e-314)
original   | BOX3D(-180 -90 0,180 83.62741852 0)

Beauty, eh?

postgis-users-bounces at postgis.refractions.net wrote on 05/20/2004 11:37:08 
AM:

> Folks, I've successfully used (and understood) the results of the 
> simplify() function on my UTM data.  But now I've got some DMS data and 
am 
> stumped - any suggestions on how to make useful data?  I used tolerance 
of 
> 0.01 and my data looks really weird.
> 
> Anyone have recommendations on simplifying this data?  With UTM I 
> understood fairly clearly that my tolerance was in meters, but what 
should 
> I be using in DMS?
> 
> Tyler
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users




More information about the postgis-users mailing list