[mapserver-users] Impossible to get getFeatureInfo result

2013-06-17 Thread Geo-6
Hi I’m new to MapServer. I’m trying to use MapServer (MS4W) as a WMS Server with Leaflet (http://leafletjs.com/) The “GetMap” function works perfectly but I can’t get a correct “GetFeatureInfo” result… Here are some portions of my code : Leaflet : var map2 = L.map('map2', {

Re: [mapserver-users] Impossible to get getFeatureInfo result

2013-06-17 Thread Rahkonen Jukka
Hi, Your problem is in the Leaflet code which does not take X and Y values from the mouse click and you will be better served if you ask about that from some Leaflet forum. However, there is a working GetFeatureInfo example at http://projects.bryanmcbride.com/leaflet/wms_info.html Perhaps you

Re: [mapserver-users] Impossible to get getFeatureInfo result

2013-06-17 Thread Geo-6
Thanks for your help, I posted a message on Leaflet forum. Unfortunately, this is the example I used to get “GetFeatureInfo” function J Have a good day. Jonathan Beliën Geo-6 De : mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] De la part

[mapserver-users] mapserver in heroku environment

2013-06-17 Thread ahlah
Hi, has anyone tried to compile Mapserver in Heroku environment? https://devcenter.heroku.com/articles/buildpack-binaries br, AL -- View this message in context: http://osgeo-org.1560.x6.nabble.com/mapserver-in-heroku-environment-tp5060604.html Sent from the Mapserver - User mailing list

[mapserver-users] fast raster formats for LiDAR - hillshade and elevation

2013-06-17 Thread Mark Volz
Hello, I would like to add my Lidar elevation and hillshade layers to Mapserver. If possible, I would like a format that will save on disk space, while performing adequately. Does anyone have any recommendations for a raster format? Thanks Mark Volz, GISP GIS Specialist

Re: [mapserver-users] fast raster formats for LiDAR - hillshade and elevation

2013-06-17 Thread Stephen Woodbridge
On 6/17/2013 10:27 AM, Mark Volz wrote: Hello, I would like to add my Lidar elevation and hillshade layers to Mapserver. If possible, I would like a format that will save on disk space, while performing adequately. Does anyone have any recommendations for a raster format? You might try jpg

[mapserver-users] DEM color ramps

2013-06-17 Thread Mark Volz
Hi, I would like to add a color ramp to my elevation (DEM) layer. If anyone has any .map files or tips for creating a DEM color ramp please let me know. Thanks Mark Volz, GISP GIS Specialist ___ mapserver-users mailing list

Re: [mapserver-users] DEM color ramps

2013-06-17 Thread Smith, Michael
I just did this same thing about 8 weeks ago. Here are my map files. The two DEM ones (medem2, medem2_color) are just different representations of the same tiles, which are 32-bit float TIFFs. The hill is grayscale stretch for 8-bit TIFF. The slope is also 32-bit float.

Re: [mapserver-users] DEM color ramps

2013-06-17 Thread Smith, Michael ERDC-RDE-CRREL-NH
Mark, What I used is the following gdaldem hillshade ${filename}.tif ${filename}_hs.tif -z 5 -az 90 gdaladdo -r average ${filename}_hs.tif 2 4 8 16 32 gdaldem color-relief ${filename}.tif colorramp.txt ${filename}_cr.tif -co compress=jpeg -co PHOTOMETRIC=YCBCR -co tiled=yes gdaladdo -r average

Re: [mapserver-users] DEM color ramps

2013-06-17 Thread Rahkonen Jukka
Hi, Here you can find some more GDAL commands and a nice map as a result. https://groups.google.com/forum/#!msg/openjump-users/oedpVya8qNk/7Tk5y0xxYAoJ Andrei has created several images with GDAL and finally merged them together with Gimp. I do not know if this merging could be done with GDAL