[Cartoweb-users] url parameters

Oliver Christen oliver.christen at camptocamp.com
Mon Aug 13 02:51:48 EDT 2007


Hi

is the wms layer activated by default in your initialMapState?
you can try to activate it manualy by adding the following parameter in the url: &layer_select=raster100 (if raster100 is the name of the layer in the layer.ini ! or use the corresponding name)

regards
Oliver
  ----- Original Message ----- 
  From: guillaume champlong 
  To: carto web 
  Sent: Saturday, August 11, 2007 7:14 AM
  Subject: [Cartoweb-users] url parameters


  Hi all,

  I am working with the Dijkstra routing module and I have problems displaying the map. My application is integrated into a website as a single picture, so I use the image mode. Problem : only the performed path is being displayed, not my raster layer (wms from geosignal).

  Here are the parameters I use in my url :
  myproject.php?mode=image&routing_from=X&routing_to=Y&routing_submit=OK
  here is my raster layer:

      LAYER 
          NAME "raster100"
          # MINSCALE 70001
          # MAXSCALE 150000
          TYPE RASTER 
          CONNECTION "http://www.geosignal.org/cgi-bin/wmsmap?" 
          CONNECTIONTYPE WMS
          METADATA 
          "wms_srs" "EPSG:27582" 
          "wms_name" "RASTER100k"
          "wms_server_version" "1.1.1" 
          "wms_format" "image/png" 
          END
      END
  When I directly call the myproject.php page in my browser, everything works fine ; and on another aplication, this same parameters in the url do the job (but this  other project contains no raster wms layer, only shapefiles). 

  Can anyone help me?

  Thanks
  G.



------------------------------------------------------------------------------
  Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 


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


  _______________________________________________
  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/20070813/8f07c3d0/attachment.html


More information about the Cartoweb-users mailing list