Re: [mapserver-users] Differerent output format for GetFeatureInfo - template strategy

2020-06-25 Thread Seth G
Hi, I'm not sure if you have a custom template for each layer already, or if this something you want to avoid? I'm guessing ideally you want to be able to change the LAYER - TEMPLATE via the URL? Although this is not listed in the docs at

Re: [mapserver-users] PostGIS query problem

2020-06-25 Thread Jeff McKenna
Hi Fernando, I would try using the shp2img utility at the commandline, and set CONFIG "CPL_DEBUG" "ON" in your mapfile (see https://mapserver.org/optimization/debugging.html#step-3-turn-on-cpl-debug-optional) and then execute: shp2img -m mymap.map -o ttt.png -all_debug 5 The full query

Re: [mapserver-users] PostGIS query problem

2020-06-25 Thread Seth G
Hi, What client are you using? How long does the query take to complete? It is likely the client stops waiting for a response. Seth -- web:http://geographika.co.uk twitter: @geographika On Thu, Jun 25, 2020, at 10:16 PM, Fernando Martins Pimenta wrote: > Hi, > > I am using the query below to

[mapserver-users] PostGIS query problem

2020-06-25 Thread Fernando Martins Pimenta
Hi, I am using the query below to return a hydrograph of a region (using POSTGIS). This query works perfectly when I use it in pgadmin. With the mapserver, the connection with the client is lost. It records a query that shows no errors in SQL, just shows that the connection has lost. Why is that?