[mapserver-users] Setting scale

Lawrence Hartpence hartpence_gis at co.jasper.ia.us
Mon Sep 8 13:44:49 PDT 2008


Hello,

 

I have a CGI question for Mapserver 4.8.  The following URL brings up a
query.

http://gismap/JasperMaps/cgi-bin/mapserv.exe?layer=ortho&layer=Parcels&layer
=ParcelDim&layer=ParcelPt&layer=Sub&layer=Lots&layer=LotDim&layer=Survey&lay
er=Water&layer=ROW&layer=Highways&layer=Shields&layer=Roads&layer=County&lay
er=Towns&zoomdir=1&Meas=Line&imgxy=320+240&imgbox=288+234+337+264&mapext=sha
pe&mapxy=shape.25&imgext=1764933.905200+615189.123844+1767599.115400+617239.
285536&map=C%3A%5CInetPub%5Cwwwroot%5CMapdocs%5CParcels.map&program=%2FJaspe
rMaps%2Fcgi-bin%2Fmapserv.exe&slayer=Parcels&qlayer=Parcels&previousmode=%5B
previousmode%5D&mode=nquery&zoomsize=2&savequery=true

 

I have mapxy set to (shape).  Now I want to reset the scale so I add
&scale=3600 to get the following URL:

http://gismap/JasperMaps/cgi-bin/mapserv.exe?layer=ortho&layer=Parcels&layer
=ParcelDim&layer=ParcelPt&layer=Sub&layer=Lots&layer=LotDim&layer=Survey&lay
er=Water&layer=ROW&layer=Highways&layer=Shields&layer=Roads&layer=County&lay
er=Towns&zoomdir=1&Meas=Line&imgxy=320+240&imgbox=288+234+337+264&mapext=sha
pe&mapxy=shape.25&imgext=1764933.905200+615189.123844+1767599.115400+617239.
285536&map=C%3A%5CInetPub%5Cwwwroot%5CMapdocs%5CParcels.map&program=%2FJaspe
rMaps%2Fcgi-bin%2Fmapserv.exe&slayer=Parcels&qlayer=Parcels&previousmode=%5B
previousmode%5D&mode=nquery&zoomsize=2&savequery=true&scale=3600

 

Everything I read says that this should work, but I get an error.  Can
anyone tell me what I am doing wrong?

 

 

 

Lawrence Hartpence

Jasper County GIS Coordinator

101 1st St N

Newton IA 50208

Tel.: 641-792-6437

Fax: 641-792-5783

hartpence_gis at co.jasper.ia.us

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080908/0ed5649c/attachment.htm>


More information about the MapServer-users mailing list