Mapscript getExtent() for postGIS Layer returns strange result

Christian wolf christian.wolf at GMAIL.COM
Tue Dec 13 08:04:36 EST 2005


Hi again.

Searching the list/web I couldn't find anything related, so here it goes:

Using MapServer/Script 46 and PostgreSQL 8.0 and current PostGIS version, I
get as a result from getExtent()

-25000000,-25000000 25000000,25000000

wich is kinda not the extent of my layer. Neither in the data nor in the
EXTENT definition of the Mapfile. shooting an 'exetent(wkb_geometry)'
directly returns the correct data.

Can anyone confirm this? Or did I mess something up?



More information about the mapserver-users mailing list