[mapserver-users] Layer selection checkbox with PHPMapScript? (pardon the noob question)
Hi, I've been tinkering around with PHP MapScript lately, and I start to like it even better than MapServer CGI. However, I'm still at loss at enabling the layer selection checkbox. In MapServer CGI, you create the checkbox with such code: input type=checkbox name=layer value=river [layer_check]/River I have tried Google for sample codes, but couldn't find any. I have tried MapServer.pdf documentation too, and still couldn't find anything useful. However, it seems to me that unlike MapServer CGI, in PHPMapScript we don't have to hardcode each layer's name. Instead, it can dynamically recognize layer names through looping routine. Am I being correct here? Does anyone have sample codes for such purpose? And how about groups? Could PHPMapScript recognize layer groups as well? Many thanks, -Kresh ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] MapServer,Mod_python and tilecache
You are in the right, I have change this line and now apache is start again Directory C:\ms4w\Apache\htdocs\tilecache **it's important to not forget to putout \ after \tilecache!** saltalungo wrote: thanx, but if I change that line, the Apache doesn't restart. Shawn Gervais wrote: on the httpd.conf of apache i have tthose lines: Directory C:\ms4w\Apache\htdocs\tilecache\tilecache I think this path is incorrect, it should likely read: Directory C:\ms4w\Apache\htdocs\tilecache -S ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- View this message in context: http://n2.nabble.com/MapServer%2CMod_python-and-tilecache-tp3025358p3029309.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] WMS Overlay shift
Hi, It must be related somehow to projections, but could you please give us a bit more information? Do you have a PROJECTION block at MAP level and/or at LAYER level? What do you have in wms_srs element in METADATA? -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta Frank Broniewski Lähetetty: 5. kesäkuuta 2009 10:44 Vastaanottaja: mapserver-users@lists.osgeo.org Aihe: [mapserver-users] WMS Overlay shift Hello list, I am debugging a problem with my WMS server. I am serving administrational boundaries in a national reference system for use in different applications. Just yesterday I noticed a shift of the WMS layer to the east when I overlay the WMS layer with the original shapefile in ArcGIS. The shift is approx. 29m and I have no clue where to start looking for a solution. There is only one projection in the mapfile, and I set the view in ArcGis to the same projection. I checked the projection definition in ArcGis already to see if there is some mismatch but I couldn't find any. So I am rather clueless where to start looking for the reason of the shift. I checked also in OpenJump to see wether this is an ESRI effect, but there is the same shift in OpenJump Any hints are welcome ... Frank ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users