[Cartoweb-users] calling project and recentering on an id

Pierre GIRAUD pierre.giraud at camptocamp.com
Thu Mar 16 05:10:43 EST 2006


Sure you can.

The posted form parameters "id_recenter_layer" and "id_recenter_ids" can 
also be use in get requests.
The url would be something like :

myproject.php?id_recenter_layer=id_of_layer_to_recenter_on&id_recenter_ids=123

Regards

Pierre GIRAUD

Valerio Noti wrote:

> Sorry for my last message: It had the same content of this one but a 
> wrong object (was 'managing project')
>
> ************************************************************************
>
> Hello,
>
> I'd like to call a cartoweb project from an external page and after a
> database query.
>
> Once I have an object id (and a mapfile metadata "id_attribute_string"
> "I_D|string") is it possible to call a project with something like:
>
> myproject.php?id=123
>
> and recentering the map with a certain scale?
>
> Or, if not, is there a way to retrieve coordinates of an object starting
> from an id and calling the project with
>
> myproject.php?recenter_bbox=23,45,56,70
>
> This solution would be probably better.
>
> Thanks in advance
>
> Regards
>
> Valerio
>
> _______________________________________________
> 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