[Mapserver-users] Re: Expression parser error
Leah Roderman
elrod@oaktownunderground.com
Thu, 8 Jan 2004 09:10:21 -0800 (PST)
Aha, that would be it:
$: ogrinfo -ro -where 'ZIPL > 94600 AND ZIPL < 94700' data/tgr06001lkA.shp tgr06001lkA
INFO: Open of `data/tgr06001lkA.shp'
using driver `ESRI Shapefile' successful.
ERROR 1: Attempt to use STRING field `ZIPL' with numeric comparison `>'.
So, rather than using one query to display all geometry objects as a single layer, I should create multiple layers, each displaying the object of a matching (zip code) string.
>Did you check the values in the ZPIL column? What do they look like?
>Sounds to me like there may be non-numeric data in it. Can you share it
>so I could have a look?
>
>Steve
>
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users