automatilcally do pan

Frank Koormann frank.koormann at intevation.de
Sun Mar 25 23:16:20 PST 2001


Hi Bertha, Hi Listers,

* bertha amalia serrato de la cruz (bertha_bonita at yahoo.com) [010324 00:31]:
> Hello list..
> 
> I have a problem when i choose a layer and press the
> bottom Refresh/Query show the layer choosen and
> automatically do pan ...each time press Refresh/Query
> do pan..
> 
> In the next result, i didn't press the radio button
> pan 
> only i wanted view the layer
> 
> http://pc-simac.cicese.mx/cgi-bin/mapserv?mode=browse&zoomdir=0&zoomsize=2&layer=basaltos&imgxy=299.5+299.5&imgext=-657555.174556+-601360.777736+753555.174556+633360.777736&map=%2Fhome%2Fhttpd%2Fhtml%2Fgeoejercicios%2Finter02%2Finter02.map&savequery=true&mapext=shapes
> 
> i don't kown why take &zoomdir=0&zoomsize=2 
> 
> how can i resolve the problem?
> 

For some reason I get no response from your web server. However, one of the
first pitfalls in setting up a new mapserver application is to miss some 
geometry/resolution settings to be adjusted to your needs: I your case
potentially some information on the image size. If these are not
correct, the center of the image will be calculated wrong everytime you
generate a new image. From your URL example I read that your image
should have a size of 6000x600 pixel. If this is not the case, you
should adjust your settings (in the map-file and the templates).

Regards,

    Frank

-- 
Frank Koormann                              http://intevation.net/~frank/
 Professional Service around Free Software         http://intevation.net/
 FreeGIS Project                                   http://freegis.org/



More information about the MapServer-users mailing list