Postgres filter error when gid < 10

Steve Lime Steve.Lime at DNR.STATE.MN.US
Mon Oct 22 16:17:04 EDT 2007


That's a new one so would categorize as a bug. I'm assuming this is with older
versions of MapServer given the URL syntax. Nothing had changed in the PostGIS 
driver so I imagine it's still relevant. Please file a bug...

Steve

>>> On 10/22/2007 at 7:25 AM, in message <011901c814a6$b2604780$9601a8c0 at PC150>,
Marc Jacquin <marc.jacquin at MAGELLIUM.FR> wrote:
> Hi Map folks,
> 
>  
> 
> I don't know if this has been reported for current version but I encountered
> it with FWTools version 1.2.2.
> 
>  
> 
> When filtering with CGI controls (&map_layer_filter='gid = 10') a Postgis
> layer, if the gid is lower than 10 (2 digits I guess is the reason),
> Mapserver returns an error with no explanation (only the output of mapserv
> -v) and no error is logged in the debug file. The workaround consists in
> creating a Postgres sequence starting at 10 (or alter the sequence
> implicitly created with serial).
> 
>  
> 
> Should I file a bug ?
> 
>  
> 
> Marc 



More information about the mapserver-users mailing list