[Cartoweb-users] Query in layer with CLASS

Pierre GIRAUD pierre.giraud at camptocamp.com
Tue Aug 9 05:27:38 EDT 2005

Caussin David a écrit :

> Hi,
> I ask the question again about the query in a layer with class.
> In fact, i have a layer with many class and when i query it all the 
> elements in the class of the layer are highlighted.
> I have take a look in the shp file to see if the elements are not only 
> one polygon but there are independants.
> I can't see from where that come.
You probably need to set a TEMPLATE "foo" in each class an not in the 
layer itself.

> Another question is about the zoom in the reference map.
> At the beginning i have a good view with all the city.
> When i zoom in no problem i have the good zoom on the main screen and 
> on the reference map.
> But when i want to move the zoom rectangle with the reference map, the 
> result is wrong.
> The rectangle of the zoom go to the bottom of the reference map and 
> display nothing.....
You probably forgot to set your reference size in your mapfile in 
concordance with the real size (in pixels) of your project keymap (i.e. 



Géomaticien, Analyste

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex 

Tel : 00 33 4 79 44 44 93
Mail : pierre.giraud at camptocamp.com

More information about the Cartoweb-users mailing list