[Cartoweb-users] Recentering on demoCW3

Oliver Christen oliver.christen at camptocamp.com
Tue May 20 02:34:38 EDT 2008


Hi,
the lake with id 1 is actualy outside of the extent defined in the mapfile.
if you change maxy from 5409261 to 5760000 for example, the recentering happens normaly

regards
Oliver
  ----- Original Message ----- 
  From: Albert Casanovas 
  To: cartoweb-users at lists.maptools.org 
  Sent: Monday, May 19, 2008 6:04 PM
  Subject: [Cartoweb-users] Recentering on demoCW3


  Hi,

  I'm testing the recentering functionality on the demoCW3 demo and having:

  demoCW3.map (lake layer)

  METADATA
        "id_attribute_string" "OGC_FID|string"
        "query_returned_attributes" "AREA" 

  and the following information in the inwatera.dbf wich represents the lake layer:

        OGC_FID ID F_CODE HYC NAM 
        1 59053 BH000 8,0000000000 RHEIN 

  I get the message 

  Recenter Id canceled, unable to find selected Id.

  using the following URL

  http://www.cartoweb.org/demos/demoCW3.php?id_recenter_layer=lake&id_recenter_ids=1

  Could you tell me what is wrong? or if there is another id I should use? the layer is ok since if i use another name it returns that the name is wrong.



  Regards,

  Albert Casanovas





------------------------------------------------------------------------------


  _______________________________________________
  Cartoweb-users mailing list
  Cartoweb-users at lists.maptools.org
  http://lists.maptools.org/mailman/listinfo/cartoweb-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20080520/b900a72c/attachment.html


More information about the Cartoweb-users mailing list