[Cartoweb-users] Recentering on id

Pierre GIRAUD pierre.giraud at camptocamp.com
Thu Feb 16 12:13:51 EST 2006


AFAIK, Cartoweb is not able to recenter on the FID field.
On must use another field as id attribute.

Regards

Pierre GIRAUD

Oliver Ishmael wrote:

> Hi List,
>
> I have the same problem as described by Emmanuel Belo in his post (Thu 
> Dec 8 06:21:59 EST 2005).
>
> I have the location.ini files both client and server set up correctly 
> and the METADATA included in my .map for relevant layers:
>
> LAYER
>  NAME "SSSI"
>  #MAXSCALE     750000
>  METADATA
>    "id_attribute_string" "FID|string"
>    "query_returned_attributes" "SSSI_NAME"
>    "hilight_createlayer" "true"
>    "hilight_color" "255 255 0"
>    "hilight_transparency" "50"
>  END
>  TYPE POLYGON
>  STATUS ON
>  DATA "sssi_broads.shp"
>  TRANSPARENCY 50
>  CLASS
>    NAME "SSSI"
>    STYLE
>      COLOR 205 91 69
>    END
>  END # end class
> END # end layer
>
> Yet it still does not recenter correctly. Instead i get the following 
> only:
>
> Recenter Id canceled, unable to find selected Id
>
> Please help if you can.
>
> Olly
>
> _________________________________________________________________
> Be the first to hear what's new at MSN - sign up to our free 
> newsletters! http://www.msn.co.uk/newsletters
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users



-- 
_________________________________________________________
Pierre GIRAUD
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
http://www.camptocamp.com  




More information about the Cartoweb-users mailing list