[postgis-users] Zoom problems
Chris Hodgson
chodgson at refractions.net
Mon Sep 23 16:47:01 PDT 2002
What sort of interface are you using to pan/zoom etc? One that you developed
yourself using mapscript? It seems likely that your list of layers is
getting lost, so you are just showing a blank page (try changing the
background color in your mapfile to test if this is the case). It is also
possible that your extents after panning/zooming and doing an incorect
calculation either very big, or very small, or do not intersect with you
data (do the extents you are sending mapserver after zooming/panning
actually contain data?).
It is very likely that either your layers or extents are getting messed up
in the pan/zoom process and this is what is causing your problem, do some
debugging by looking more closely at those variables of your mapserver
request.
Chris
> Hi all!
> When i start mapserver for first time, i see the my map very o.k., but
when i want to "zoom in or zoom out or pan" in the map...., the next map
that i see appear totally in white (nothing appear in the map either in the
legend)!!!
>
> i changed the values in the "EXTENT" section,
> and restart the mapserver ...then it's see again everything ok... the
problem exist when i try to do again something in the map
>
> i am using:
> postgres 7.2
> mapserver 3.6.1
> postgis 0.7.1
> apache 1.3.26
> debian potato
> mpaserv -v OUTPUT=PNG OUTPUT=WBMP SUPPORTS=TTF
> INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL
> INPUT=SHAPEFILE
>
>
> ¿what i am doing wrong?
>
> Regards
> .
> .
> EXTENT 170000 2200000 430000 2400000
> .
> .
> LAYER
> NAME Guanajuato
> TYPE LINE
> STATUS OFF
> CONNECTIONTYPE postgis
> CONNECTION "user=postgres dbname=prueba
> host=10.0.0.1"
> DATA "the_geom from denspob"
> LABELITEM pob_2000
> CLASS
> NAME "MANZANAS"
> COLOR 0 0 0
> OUTLINECOLOR 0 0 0
> LABEL
> FONT "Arialn"
> COLOR 110 0 0
> SIZE MEDIUM
> POSITION cc
> END
> END
> END # Layer
> --
> Get your free email from www.linuxmail.org
>
>
> Powered by Outblaze
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
>
More information about the postgis-users
mailing list