Re: [pmapper-users] Internal Server Error with postgis search

2013-09-18 Thread Pedro Venâncio
Here is how a person feel stupid... :-/ I mistook the layer name in the mapfile with the layer name in postgis. Thank you very much Thomas!! Best regards, Pedro - Original Message - From: Thomas RAFFIN The layer name is not "geopnh" but "rede_viaria". You have to replace in you

Re: [pmapper-users] Internal Server Error with postgis search

2013-09-18 Thread Thomas RAFFIN
The layer name is not "geopnh" but "rede_viaria". You have to replace in your search.xml: with: Bye Thomas Le 18/09/2013 15:19, Pedro Venâncio a écrit : > Hi Thomas, > > Yes, of course. Here it is: > > LAYER > NAME "rede_viaria" > STATUS DEFAULT > TYPE LINE > CONNECTIONT

Re: [pmapper-users] Internal Server Error with postgis search

2013-09-18 Thread Pedro Venâncio
Hi Thomas, Yes, of course. Here it is: LAYER     NAME "rede_viaria"     STATUS DEFAULT     TYPE LINE     CONNECTIONTYPE postgis     PROCESSING "CLOSE_CONNECTION=DEFER"     CONNECTION "user=xxx password=xxx dbname=cartografia_oficial host=localhost options='-c client_encoding=LATIN1'"  

Re: [pmapper-users] Internal Server Error with postgis search

2013-09-18 Thread Thomas RAFFIN
Hi, Could you send the layer definition in the mapfile please (layer named "geopnh")? Thomas Le 18/09/2013 14:02, Pedro Venâncio a écrit : > > Hi all, > > Some new information about the error that I reported yesterday. > > A search to a layer on the same database, that works well, shows the >

[pmapper-users] Internal Server Error with postgis search

2013-09-18 Thread Pedro Venâncio
Hi all, Some new information about the error that I reported yesterday. A search to a layer on the same database, that works well, shows the following result on pm_debug.log: [18-Sep-2013 13:15:47] P.MAPPER debug info XML->//definition  SimpleXMLElement Object (     [@attributes] => Array   

[pmapper-users] Internal Server Error with postgis search

2013-09-17 Thread Pedro Venâncio
Hi, I'm using (yet) pmapper 4.2 and I'm having difficulty creating a postgis search. Despite being using pmapper 4.2, I've done this update http://svn.pmapper.net/trac/changeset/1272 and I have other searches working properly. The search that does not work is this one: