[Cartoweb-users] zoom
Oliver Christen
oliver.christen at camptocamp.com
Wed Jun 18 06:56:01 EDT 2008
a possibility is you have copied some project as template and forgot to
modify the minScale / maxScale defined in locations.ini on SERVER side.
you are not having any javascript error, do you ?
regards
Oliver
> One of other way to see if your trouble are server-side or client-side is
> to ask directly
> your mapserver url with a bbox lesser than the general first map.
>
> If you have firebug extension in firefox, you would see any javascript
> error.
>
>
> Delaunois Denis wrote:
>> HI
>>
>> I didn't work on the tpl and no plugin active
>> I'm trying but no result, no zoom
>> Thanks
>>
>> Bruno Friedmann wrote:
>>> Hi Denis,
>>>
>>> When I was working on a project modifying the tpl I've got this error.
>>> Did you use the plugin pdf ?
>>> If yes try to disable it and check if the other tools works.
>>>
>>> Give the result back here.
>>>
>>>
>>> Delaunois Denis wrote:
>>>
>>>> Hello
>>>>
>>>> I have a problem with a project. I cannot do a zoom + or -
>>>>
>>>> With the demo project, it's work but not with this one.
>>>>
>>>> I think that it's a problem with my file .map.
>>>>
>>>> Someboby can help me ?
>>>>
>>>> Very Thanks
>>>>
>>>> Denis
>>>>
>>>> MAP
>>>> NAME "hamoir"
>>>> EXTENT 234606 123041 240460 126719
>>>> IMAGETYPE PNG
>>>> IMAGECOLOR 255 255 255
>>>> STATUS ON
>>>> UNITS METERS
>>>>
>>>> FONTSET "fonts.txt"
>>>> SYMBOLSET "symbols.txt"
>>>> SHAPEPATH "/var/www/Cartographie/Hamoir"
>>>>
>>>> REFERENCE
>>>> IMAGE images/keymap.png
>>>> EXTENT 236727.869696 124587.813333 237994.536363 125587.813333
>>>> STATUS ON
>>>> COLOR -1 -1 -1
>>>> OUTLINECOLOR 200 200 200
>>>> SIZE 140 97
>>>> END
>>>>
>>>> SCALEBAR
>>>> POSTLABELCACHE TRUE
>>>> STYLE 0
>>>> UNITS kilometers
>>>> SIZE 350 3
>>>> TRANSPARENT TRUE
>>>> COLOR 77 77 88
>>>> IMAGECOLOR 242 255 195
>>>> BACKGROUNDCOLOR 222 222 222
>>>> LABEL
>>>> TYPE BITMAP
>>>> SIZE SMALL
>>>> COLOR 0 0 0
>>>> POSITION UR
>>>> BUFFER 10
>>>> END
>>>> END
>>>>
>>>>
>>>> LEGEND
>>>> KEYSIZE 20 15
>>>> END
>>>>
>>>> #==============================================================================
>>>>
>>>>
>>>> # Les layers
>>>> #==============================================================================
>>>>
>>>>
>>>>
>>>> LAYER
>>>> NAME '01'
>>>> TYPE POLYGON
>>>> DATA '01.shp'
>>>> METADATA
>>>> 'wms_title' '01'
>>>> END
>>>> STATUS DEFAULT
>>>> TRANSPARENCY 100
>>>> PROJECTION
>>>> 'proj=longlat'
>>>> 'ellps=WGS84'
>>>> 'datum=WGS84'
>>>> 'no_defs'
>>>> END
>>>> CLASS
>>>> NAME '01'
>>>> STYLE
>>>> SYMBOL 0
>>>> SIZE 6
>>>> OUTLINECOLOR 0 0 0
>>>> COLOR 255 255 127
>>>> END
>>>> END
>>>> END
>>>>
>>>> LAYER
>>>> NAME '2'
>>>> TYPE POLYGON
>>>> DATA '2.shp'
>>>> METADATA
>>>> 'wms_title' '2'
>>>> END
>>>> STATUS DEFAULT
>>>> TRANSPARENCY 100
>>>> PROJECTION
>>>> 'proj=longlat'
>>>> 'ellps=WGS84'
>>>> 'datum=WGS84'
>>>> 'no_defs'
>>>> END
>>>> CLASS
>>>> NAME '2'
>>>> STYLE
>>>> SYMBOL 0
>>>> SIZE 6
>>>> OUTLINECOLOR 0 0 0
>>>> COLOR 85 170 255
>>>> END
>>>> END
>>>> END
>>>>
>>>> LAYER
>>>> NAME '5'
>>>> TYPE POLYGON
>>>> DATA '5.shp'
>>>> METADATA
>>>> 'wms_title' '5'
>>>> END
>>>> STATUS DEFAULT
>>>> TRANSPARENCY 100
>>>> PROJECTION
>>>> 'proj=longlat'
>>>> 'ellps=WGS84'
>>>> 'datum=WGS84'
>>>> 'no_defs'
>>>> END
>>>> CLASS
>>>> NAME '5'
>>>> STYLE
>>>> SYMBOL 0
>>>> SIZE 6
>>>> OUTLINECOLOR 0 0 0
>>>> COLOR 255 255 127
>>>> END
>>>> END
>>>> END
>>>>
>>>> LAYER
>>>> NAME '4'
>>>> TYPE POLYGON
>>>> DATA '4.shp'
>>>> METADATA
>>>> 'wms_title' '4'
>>>> END
>>>> STATUS DEFAULT
>>>> TRANSPARENCY 100
>>>> PROJECTION
>>>> 'proj=longlat'
>>>> 'ellps=WGS84'
>>>> 'datum=WGS84'
>>>> 'no_defs'
>>>> END
>>>> CLASS
>>>> NAME '4'
>>>> STYLE
>>>> SYMBOL 0
>>>> SIZE 6
>>>> OUTLINECOLOR 0 0 0
>>>> COLOR 85 85 0
>>>> END
>>>> END
>>>> END
>>>>
>>>> LAYER
>>>> NAME '3'
>>>> TYPE POLYGON
>>>> DATA '3.shp'
>>>> METADATA
>>>> 'wms_title' '3'
>>>> END
>>>> STATUS DEFAULT
>>>> TRANSPARENCY 100
>>>> PROJECTION
>>>> 'proj=longlat'
>>>> 'ellps=WGS84'
>>>> 'datum=WGS84'
>>>> 'no_defs'
>>>> END
>>>> CLASS
>>>> NAME '3'
>>>> STYLE
>>>> SYMBOL 0
>>>> SIZE 6
>>>> OUTLINECOLOR 0 0 0
>>>> COLOR 255 255 127
>>>> END
>>>> END
>>>> END
>>>>
>>>> LAYER
>>>> NAME '6'
>>>> TYPE POLYGON
>>>> DATA '6.shp'
>>>> METADATA
>>>> 'wms_title' '6'
>>>> END
>>>> STATUS DEFAULT
>>>> TRANSPARENCY 100
>>>> PROJECTION
>>>> 'proj=longlat'
>>>> 'ellps=WGS84'
>>>> 'datum=WGS84'
>>>> 'no_defs'
>>>> END
>>>> CLASS
>>>> NAME '6'
>>>> STYLE
>>>> SYMBOL 0
>>>> SIZE 6
>>>> OUTLINECOLOR 0 0 0
>>>> COLOR 255 255 127
>>>> END
>>>> END
>>>> END
>>>>
>>>> LAYER
>>>> NAME '9'
>>>> TYPE POLYGON
>>>> DATA '9.shp'
>>>> METADATA
>>>> 'wms_title' '9'
>>>> END
>>>> STATUS DEFAULT
>>>> TRANSPARENCY 100
>>>> PROJECTION
>>>> 'proj=longlat'
>>>> 'ellps=WGS84'
>>>> 'datum=WGS84'
>>>> 'no_defs'
>>>> END
>>>> CLASS
>>>> NAME '9'
>>>> STYLE
>>>> SYMBOL 0
>>>> SIZE 6
>>>> OUTLINECOLOR 0 0 0
>>>> COLOR 0 170 255
>>>> END
>>>> END
>>>> END
>>>>
>>>> LAYER
>>>> NAME '10'
>>>> TYPE POLYGON
>>>> DATA '101.shp'
>>>> METADATA
>>>> 'wms_title' '10'
>>>> END
>>>> STATUS DEFAULT
>>>> TRANSPARENCY 100
>>>> PROJECTION
>>>> 'proj=longlat'
>>>> 'ellps=WGS84'
>>>> 'datum=WGS84'
>>>> 'no_defs'
>>>> END
>>>> CLASS
>>>> NAME '10'
>>>> STYLE
>>>> SYMBOL 0
>>>> SIZE 6
>>>> OUTLINECOLOR 0 0 0
>>>> COLOR 170 255 127
>>>> END
>>>> END
>>>> END
>>>>
>>>> LAYER
>>>> NAME '11'
>>>> TYPE POLYGON
>>>> DATA '11.shp'
>>>> METADATA
>>>> 'wms_title' '11'
>>>> END
>>>> STATUS DEFAULT
>>>> TRANSPARENCY 100
>>>> PROJECTION
>>>> 'proj=longlat'
>>>> 'ellps=WGS84'
>>>> 'datum=WGS84'
>>>> 'no_defs'
>>>> END
>>>> CLASS
>>>> NAME '11'
>>>> STYLE
>>>> SYMBOL 0
>>>> SIZE 6
>>>> OUTLINECOLOR 0 0 0
>>>> COLOR 255 170 255
>>>> END
>>>> END
>>>> END
>>>>
>>>> LAYER
>>>> NAME '7'
>>>> TYPE POLYGON
>>>> DATA '7.shp'
>>>> METADATA
>>>> 'wms_title' '7'
>>>> END
>>>> STATUS DEFAULT
>>>> TRANSPARENCY 100
>>>> PROJECTION
>>>> 'proj=longlat'
>>>> 'ellps=WGS84'
>>>> 'datum=WGS84'
>>>> 'no_defs'
>>>> END
>>>> CLASS
>>>> NAME '7'
>>>> STYLE
>>>> SYMBOL 0
>>>> SIZE 6
>>>> OUTLINECOLOR 0 0 0
>>>> COLOR 85 85 0
>>>> END
>>>> END
>>>> END
>>>>
>>>> LAYER
>>>> NAME '8'
>>>> TYPE POLYGON
>>>> DATA '8.shp'
>>>> METADATA
>>>> 'wms_title' '8'
>>>> END
>>>> STATUS DEFAULT
>>>> TRANSPARENCY 100
>>>> PROJECTION
>>>> 'proj=longlat'
>>>> 'ellps=WGS84'
>>>> 'datum=WGS84'
>>>> 'no_defs'
>>>> END
>>>> CLASS
>>>> NAME '8'
>>>> STYLE
>>>> SYMBOL 0
>>>> SIZE 6
>>>> OUTLINECOLOR 0 0 0
>>>> COLOR 255 255 127
>>>> END
>>>> END
>>>> END
>>>>
>>>> LAYER
>>>> NAME '12'
>>>> TYPE POLYGON
>>>> DATA '12.shp'
>>>> METADATA
>>>> 'wms_title' '12'
>>>> END
>>>> STATUS DEFAULT
>>>> TRANSPARENCY 100
>>>> PROJECTION
>>>> 'proj=longlat'
>>>> 'ellps=WGS84'
>>>> 'datum=WGS84'
>>>> 'no_defs'
>>>> END
>>>> CLASS
>>>> NAME '12'
>>>> STYLE
>>>> SYMBOL 0
>>>> SIZE 6
>>>> OUTLINECOLOR 0 0 0
>>>> COLOR 255 255 127
>>>> END
>>>> END
>>>> END
>>>>
>>>> LAYER
>>>> NAME '23'
>>>> TYPE POLYGON
>>>> DATA '23.shp'
>>>> METADATA
>>>> 'wms_title' '23'
>>>> END
>>>> STATUS DEFAULT
>>>> TRANSPARENCY 100
>>>> PROJECTION
>>>> 'proj=longlat'
>>>> 'ellps=WGS84'
>>>> 'datum=WGS84'
>>>> 'no_defs'
>>>> END
>>>> CLASS
>>>> NAME '23'
>>>> STYLE
>>>> SYMBOL 0
>>>> SIZE 6
>>>> OUTLINECOLOR 0 0 0
>>>> COLOR 170 255 127
>>>> END
>>>> END
>>>> END
>>>>
>>>> LAYER
>>>> NAME '27'
>>>> TYPE POLYGON
>>>> DATA '27.shp'
>>>> METADATA
>>>> 'wms_title' '27'
>>>> END
>>>> STATUS DEFAULT
>>>> TRANSPARENCY 100
>>>> PROJECTION
>>>> 'proj=longlat'
>>>> 'ellps=WGS84'
>>>> 'datum=WGS84'
>>>> 'no_defs'
>>>> END
>>>> CLASS
>>>> NAME '27'
>>>> STYLE
>>>> SYMBOL 0
>>>> SIZE 6
>>>> OUTLINECOLOR 0 0 0
>>>> COLOR 85 85 0
>>>> END
>>>> END
>>>> END
>>>>
>>>> LAYER
>>>> NAME '1956'
>>>> TYPE POLYGON
>>>> DATA '1956.shp'
>>>> METADATA
>>>> 'wms_title' '1956'
>>>> END
>>>> STATUS DEFAULT
>>>> TRANSPARENCY 100
>>>> PROJECTION
>>>> 'proj=longlat'
>>>> 'ellps=WGS84'
>>>> 'datum=WGS84'
>>>> 'no_defs'
>>>> END
>>>> CLASS
>>>> NAME '1956'
>>>> STYLE
>>>> SYMBOL 0
>>>> SIZE 6
>>>> OUTLINECOLOR 0 0 0
>>>> COLOR 255 255 127
>>>> END
>>>> END
>>>> END
>>>>
>>>> LAYER
>>>> NAME '26'
>>>> TYPE POLYGON
>>>> DATA '26.shp'
>>>> METADATA
>>>> 'wms_title' '26'
>>>> END
>>>> STATUS DEFAULT
>>>> TRANSPARENCY 100
>>>> PROJECTION
>>>> 'proj=longlat'
>>>> 'ellps=WGS84'
>>>> 'datum=WGS84'
>>>> 'no_defs'
>>>> END
>>>> CLASS
>>>> NAME '26'
>>>> STYLE
>>>> SYMBOL 0
>>>> SIZE 6
>>>> OUTLINECOLOR 0 0 0
>>>> COLOR 255 255 127
>>>> END
>>>> END
>>>> END
>>>>
>>>> LAYER
>>>> NAME '19'
>>>> TYPE POLYGON
>>>> DATA '19.shp'
>>>> METADATA
>>>> 'wms_title' '19'
>>>> END
>>>> STATUS DEFAULT
>>>> TRANSPARENCY 100
>>>> PROJECTION
>>>> 'proj=longlat'
>>>> 'ellps=WGS84'
>>>> 'datum=WGS84'
>>>> 'no_defs'
>>>> END
>>>> CLASS
>>>> NAME '19'
>>>> STYLE
>>>> SYMBOL 0
>>>> SIZE 6
>>>> OUTLINECOLOR 0 0 0
>>>> COLOR 255 255 127
>>>> END
>>>> END
>>>> END
>>>>
>>>> LAYER
>>>> NAME '15'
>>>> TYPE POLYGON
>>>> DATA '15.shp'
>>>> METADATA
>>>> 'wms_title' '15'
>>>> END
>>>> STATUS DEFAULT
>>>> TRANSPARENCY 100
>>>> PROJECTION
>>>> 'proj=longlat'
>>>> 'ellps=WGS84'
>>>> 'datum=WGS84'
>>>> 'no_defs'
>>>> END
>>>> CLASS
>>>> NAME '15'
>>>> STYLE
>>>> SYMBOL 0
>>>> SIZE 6
>>>> OUTLINECOLOR 0 0 0
>>>> COLOR 170 255 127
>>>> END
>>>> END
>>>> END
>>>>
>>>> LAYER
>>>> NAME '22'
>>>> TYPE POLYGON
>>>> DATA '22.shp'
>>>> METADATA
>>>> 'wms_title' '22'
>>>> END
>>>> STATUS DEFAULT
>>>> TRANSPARENCY 100
>>>> PROJECTION
>>>> 'proj=longlat'
>>>> 'ellps=WGS84'
>>>> 'datum=WGS84'
>>>> 'no_defs'
>>>> END
>>>> CLASS
>>>> NAME '22'
>>>> STYLE
>>>> SYMBOL 0
>>>> SIZE 6
>>>> OUTLINECOLOR 0 0 0
>>>> COLOR 85 85 0
>>>> END
>>>> END
>>>> END
>>>>
>>>> LAYER
>>>> NAME '17'
>>>> TYPE POLYGON
>>>> DATA '17.shp'
>>>> METADATA
>>>> 'wms_title' '17'
>>>> END
>>>> STATUS DEFAULT
>>>> TRANSPARENCY 100
>>>> PROJECTION
>>>> 'proj=longlat'
>>>> 'ellps=WGS84'
>>>> 'datum=WGS84'
>>>> 'no_defs'
>>>> END
>>>> CLASS
>>>> NAME '17'
>>>> STYLE
>>>> SYMBOL 0
>>>> SIZE 6
>>>> OUTLINECOLOR 0 0 0
>>>> COLOR 85 85 0
>>>> END
>>>> END
>>>> END
>>>>
>>>> LAYER
>>>> NAME '16'
>>>> TYPE POLYGON
>>>> DATA '16.shp'
>>>> METADATA
>>>> 'wms_title' '16'
>>>> END
>>>> STATUS DEFAULT
>>>> TRANSPARENCY 100
>>>> PROJECTION
>>>> 'proj=longlat'
>>>> 'ellps=WGS84'
>>>> 'datum=WGS84'
>>>> 'no_defs'
>>>> END
>>>> CLASS
>>>> NAME '16'
>>>> STYLE
>>>> SYMBOL 0
>>>> SIZE 6
>>>> OUTLINECOLOR 0 0 0
>>>> COLOR 255 170 255
>>>> END
>>>> END
>>>> END
>>>>
>>>> LAYER
>>>> NAME '25'
>>>> TYPE POLYGON
>>>> DATA '25.shp'
>>>> METADATA
>>>> 'wms_title' '25'
>>>> END
>>>> STATUS DEFAULT
>>>> TRANSPARENCY 100
>>>> PROJECTION
>>>> 'proj=longlat'
>>>> 'ellps=WGS84'
>>>> 'datum=WGS84'
>>>> 'no_defs'
>>>> END
>>>> CLASS
>>>> NAME '25'
>>>> STYLE
>>>> SYMBOL 0
>>>> SIZE 6
>>>> OUTLINECOLOR 0 0 0
>>>> COLOR 255 170 255
>>>> END
>>>> END
>>>> END
>>>>
>>>> LAYER
>>>> NAME '24'
>>>> TYPE POLYGON
>>>> DATA '24.shp'
>>>> METADATA
>>>> 'wms_title' '24'
>>>> END
>>>> STATUS DEFAULT
>>>> TRANSPARENCY 100
>>>> PROJECTION
>>>> 'proj=longlat'
>>>> 'ellps=WGS84'
>>>> 'datum=WGS84'
>>>> 'no_defs'
>>>> END
>>>> CLASS
>>>> NAME '24'
>>>> STYLE
>>>> SYMBOL 0
>>>> SIZE 6
>>>> OUTLINECOLOR 0 0 0
>>>> COLOR 85 170 255
>>>> END
>>>> END
>>>> END
>>>>
>>>> LAYER
>>>> NAME '20'
>>>> TYPE POLYGON
>>>> DATA '20.shp'
>>>> METADATA
>>>> 'wms_title' '20'
>>>> END
>>>> STATUS DEFAULT
>>>> TRANSPARENCY 100
>>>> PROJECTION
>>>> 'proj=longlat'
>>>> 'ellps=WGS84'
>>>> 'datum=WGS84'
>>>> 'no_defs'
>>>> END
>>>> CLASS
>>>> NAME '20'
>>>> STYLE
>>>> SYMBOL 0
>>>> SIZE 6
>>>> OUTLINECOLOR 0 0 0
>>>> COLOR 74 85 49
>>>> END
>>>> END
>>>> END
>>>>
>>>> LAYER
>>>> NAME '13'
>>>> TYPE POLYGON
>>>> DATA '13.shp'
>>>> METADATA
>>>> 'wms_title' '13'
>>>> END
>>>> STATUS DEFAULT
>>>> TRANSPARENCY 100
>>>> PROJECTION
>>>> 'proj=longlat'
>>>> 'ellps=WGS84'
>>>> 'datum=WGS84'
>>>> 'no_defs'
>>>> END
>>>> CLASS
>>>> NAME '13'
>>>> STYLE
>>>> SYMBOL 0
>>>> SIZE 6
>>>> OUTLINECOLOR 0 0 0
>>>> COLOR 141 239 127
>>>> END
>>>> END
>>>> END
>>>>
>>>> LAYER
>>>> NAME '14'
>>>> TYPE POLYGON
>>>> DATA '14.shp'
>>>> METADATA
>>>> 'wms_title' '14'
>>>> END
>>>> STATUS DEFAULT
>>>> TRANSPARENCY 100
>>>> PROJECTION
>>>> 'proj=longlat'
>>>> 'ellps=WGS84'
>>>> 'datum=WGS84'
>>>> 'no_defs'
>>>> END
>>>> CLASS
>>>> NAME '14'
>>>> STYLE
>>>> SYMBOL 0
>>>> SIZE 6
>>>> OUTLINECOLOR 0 0 0
>>>> COLOR 85 170 255
>>>> END
>>>> END
>>>> END
>>>>
>>>> LAYER
>>>> NAME '21'
>>>> TYPE POLYGON
>>>> DATA '21.shp'
>>>> METADATA
>>>> 'wms_title' '21'
>>>> END
>>>> STATUS DEFAULT
>>>> TRANSPARENCY 100
>>>> PROJECTION
>>>> 'proj=longlat'
>>>> 'ellps=WGS84'
>>>> 'datum=WGS84'
>>>> 'no_defs'
>>>> END
>>>> CLASS
>>>> NAME '21'
>>>> STYLE
>>>> SYMBOL 0
>>>> SIZE 6
>>>> OUTLINECOLOR 0 0 0
>>>> COLOR 85 170 255
>>>> END
>>>> END
>>>> END
>>>>
>>>> LAYER
>>>> NAME '18'
>>>> TYPE POLYGON
>>>> DATA '18.shp'
>>>> METADATA
>>>> 'wms_title' '18'
>>>> END
>>>> STATUS DEFAULT
>>>> TRANSPARENCY 100
>>>> PROJECTION
>>>> 'proj=longlat'
>>>> 'ellps=WGS84'
>>>> 'datum=WGS84'
>>>> 'no_defs'
>>>> END
>>>> CLASS
>>>> NAME '18'
>>>> STYLE
>>>> SYMBOL 0
>>>> SIZE 6
>>>> OUTLINECOLOR 0 0 0
>>>> COLOR 170 255 127
>>>> END
>>>> END
>>>> END
>>>>
>>>> OUTPUTFORMAT
>>>> NAME png
>>>> DRIVER "GD/PNG"
>>>> MIMETYPE "image/png"
>>>> IMAGEMODE PC256
>>>> EXTENSION "png"
>>>> FORMATOPTION "INTERLACE=OFF"
>>>> TRANSPARENT ON
>>>> END
>>>>
>>>> ###########################################################################
>>>>
>>>> # Output formats definitions
>>>> ###########################################################################
>>>>
>>>> OUTPUTFORMAT
>>>> NAME jpeg
>>>> DRIVER "GD/JPEG"
>>>> MIMETYPE "image/jpeg"
>>>> IMAGEMODE RGB
>>>> EXTENSION "jpg"
>>>> FORMATOPTION "INTERLACE=OFF"
>>>> FORMATOPTION "QUALITY=80"
>>>> END
>>>>
>>>> END
>>>>
>>>> _______________________________________________
>>>> Cartoweb-users mailing list
>>>> Cartoweb-users at lists.maptools.org
>>>> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>>>>
>>>
>>>
>>>
>>
>
>
> --
>
> Bruno Friedmann
>
> Ioda-Net Sàrl - www.ioda-net.ch
> 2830 Vellerat - Switzerland
>
> Tél : ++41 32 435 7171
> Fax : ++41 32 435 7172
> gsm : ++41 78 802 6760
>
> C'est Facile et Cool d'Évoluer en ligne : www.cfcel.com
>
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>
More information about the Cartoweb-users
mailing list