[pmapper-users] Zoom to layer Postgis
Brought to you by:
arminburger
From: Pedro V. <ped...@ya...> - 2013-12-19 11:15:52
|
Hi I'm having problems with "Zoom to layer" on PostGIS layers. I have an application where everything works fine, but I have other, based on the same version of pMapper (4.2.0), where the "Zoom to layer" works with raster layers, but does not work with PostGIS layers. For example, with "lugares" layer, firebug gives: http://prociv.local/incphp/xajax/x_load.php?&mode=map&zoom_type=zoomgroup&groupname=lugares&dummy=dummy 500 Internal Server Error 20ms jquery_merged.js (linha 16) Internal Server Error pm_cjs.js (linha 35) If I select some features of this layer and do "Zoom to selection", everything works fine. Also, if I use the Query Editor or Query Search, it also works well. It only fails with "Zoom to layer". The layer connection is like this: LAYER NAME "lugares" STATUS DEFAULT TYPE POINT CONNECTIONTYPE postgis PROCESSING "CLOSE_CONNECTION=DEFER" CONNECTION "user=xxxx password=xxxx dbname=carto host=localhost options='-c client_encoding=LATIN1'" DATA "the_geom from topo.lugares using unique id" TOLERANCE 3 TOLERANCEUNITS pixels TEMPLATE void PROJECTION "init=epsg:3763" END METADATA "DESCRIPTION" "Toponímia de Lugares" "RESULT_FIELDS" "nome,xx,yy,tipo,carta_mili" "RESULT_HEADERS" "Nome,X,Y,Tipo,Folha" "ows_title" "Toponímia de Lugares" END CLASS NAME 'Toponímia' COLOR 0 0 255 SYMBOL 'circle' SIZE 4 END END Does anyone have any suggestions on what's wrong? Thank you very much! Best regards, Pedro Venâncio |