[mapserver-users] attribute query problems in 3.5

stepan.kafka at centrum.cz stepan.kafka at centrum.cz
Tue Jan 8 07:55:43 PST 2002


Please, check if your features are in map extent (set in your map 
file). The MS 3.5 uses it for feature queries.

Stepan Kafka


______________________________________________________________
> Od: "Jensen, Hannah ERDC-CRREL-NH" 
<Hannah.Jensen at erdc.usace.army.mil>
> Komu: mapserver-users at lists.gis.umn.edu
> CC: 
> Datum: Tue, 8 Jan 2002 10:02:38 -0500
> Předmět: [mapserver-users] attribute query problems in 3.5
>
> 
> Hello.  I'm trying to do an itemnquery to select US states and 
territories
> by FIPS code from a shapefile containing unprojected data.  It 
seems to work
> fine for most states but has trouble with some islands.  For 
example, Puerto
> Rico works, but Guam doesn't, Hawaii works, but the US Virgin 
Islands don't.
> Seems like this should be a data problem, but so far I haven't 
found
> anything wrong there.  Plus, this worked fine in version 3.4 
with the same
> data.  Any ideas what could be going wrong?  As always, any 
help is much
> appreciated.  
> 
> Here's an example URL and map file excerpt:
> http://myhost/cgi-bin/mapserv35?
map=../stuff/efilters.map&mapext=shapes&mode
> =itemnquerymap&qlayer=qstates&state=06
> 
> LAYER
>   NAME qstates
>   DATA /data/stuff/usstates		
>   TYPE polygon
>   STATUS on
>   FILTERITEM "ST"
>   FILTER "%state%"
>   LABELITEM "ST_NAME"
>   CLASS
>     SYMBOL 'circle' 
>     OUTLINECOLOR 100 100 100 
>     SIZE 2
>   END
>   TEMPLATE state_query.html
> END
> 
> 
> Cheers,
> Hannah
> 
> 
> Hannah Jensen
> (603) 646-4145	
> Remote Sensing / GIS Center
> Cold Regions Research and Engineering Lab (CRREL)
> US Army Corps of Engineers
> 72 Lyme Rd, Hanover, NH 03755-1290
> 
> 


-----
Nový vyhledávač pro český internet www.webfast.cz - prostě najde ...







More information about the MapServer-users mailing list