From francesco.martinelli at pi.ingv.it Mon Sep 1 06:04:18 2014 From: francesco.martinelli at pi.ingv.it (Francesco Martinelli) Date: Mon, 01 Sep 2014 15:04:18 +0200 Subject: [mapserver-users] Issue on deploying mapserver 6.4.1 from Ubuntu to Windows OS In-Reply-To: <54046D0C.7050404@pi.ingv.it> References: <54046D0C.7050404@pi.ingv.it> Message-ID: <54046ED2.1070800@pi.ingv.it> Hi all, I developed a java/jsp application on Ubuntu, using the latest version of Mapserver (6.4.1) I then prepared the WAR, and deployed the application to a web server Apache Tomcat 7.0.54 As I didn't find the mapscript.dll for Mapserver 6.4.1, I used the file mapscript.dll released with MS4W (which should support Mapserver 6.0), but I got the error: <> I then replaced the file mapscript.jar with those released by MS4W, and the application started working. However, as I tested my application with Mapserver 6.4.1, I wonder if it were available a mapscript.dll for Mapserver 6.4.1. Thank you for your suggestions, Francesco. From peter.freimuth at blackbridge.com Mon Sep 1 06:49:38 2014 From: peter.freimuth at blackbridge.com (Peter Freimuth) Date: Mon, 1 Sep 2014 13:49:38 +0000 Subject: [mapserver-users] searching for a solution to render polygons crossing the antimeridan Message-ID: Hi, i think this problem was solved already thousand times but i could not find a solution via google. We have polygons in a postgis 2.1 db describing the satellite images which sometimes cross the antimeridan. These polygons shall be rendered to a map via WMS calls using google Mercator in the map client (or any other projection supported by the WMS). The problem is that the polygons are drawn incorrect (see attached image which is the outcome of the following call http://db5.devel.intern/cgi-bin/catalog_view.fcgi?SERVICE=WMS&VERSION=1.1.1&REQUEST=getmap&layers=coveragepols_test&bbox=19068286.820724,-2282715.4123002,20749901.442696,-1809417.3332432&srs=epsg:3785&format=image/png&width=800&height=800) Any hint on documentation or how to overcome this problem is very welcome! Kind regards, Peter These are the details: umn ms 6.4.1 ## layer defintion LAYER NAME "coveragepols_test" TYPE POLYGON STATUS ON DEBUG 5 UNITS dd SIZEUNITS PIXELS TOLERANCE 3 TOLERANCEUNITS PIXELS PROCESSING "CLOSE_CONNECTION=DEFER" CONNECTIONTYPE POSTGIS CONNECTION"user=... password=.... dbname=... host='localhost' port=5432" DATA "coverage_poly FROM (SELECT id as image_id, coveragepoly as coverage_poly FROM public.view_test ) foo USING UNIQUE image_id USING SRID=4326" PROJECTION "init=epsg:4326" END METADATA "ows_title" "Coverage Polygons" #"ows_extent" "-20037508.34 -20037508.34 20037508.34 20037508.34" "ows_extent" "-180 -89 180 89" "wms_srs" "EPSG:3875 EPSG:900913 EPSG:4326" #output END CLASS NAME "Coverage Polygons" #STYLE # COLOR 231 182 21 #END STYLE OUTLINECOLOR 10 255 0 WIDTH 2 END END END ##used data CREATE TABLE view_test ( id bigserial NOT NULL, catalog_id integer, dataset_id integer, image_path character varying(256) NOT NULL, coveragepoly geometry(MultiPolygon,4326), CONSTRAINT view_test_pkey PRIMARY KEY (id) ) WITH ( OIDS=FALSE ); ALTER TABLE view_test OWNER TO searchdb_admin; INSERT INTO public.view_test (catalog_id,dataset_id,image_path,coveragepoly) VALUES (15829509, 2061925, '', st_multi(st_geomfromtext('POLYGON((180.655999799 -15.8486300543,180.606999598 -16.0696710923,180.558000402 -16.2907050895,180.509000201 -16.5117270167,180.459000201 -16.7327328505,180.41 -16.9537185677,180.36 -17.1746801448,180.310999799 -17.3956135586,180.260999799 -17.6165178033,180.210999799 -17.8373888554,180.160999799 -18.0582267149,180.110999799 -18.2790293703,180.06 -18.4997958157,180.01 -18.7205260511,179.991351841 -18.8027016697,180.235999799 -18.8380677932,180.478000402 -18.8720267552,180.716999598 -18.9047223899,180.735999799 -18.8224783746,180.785 -18.6015670891,180.834000201 -18.3806216053,180.883000402 -18.1596439348,180.931999598 -17.9386350835,180.980999799 -17.7175950513,181.03 -17.4965258499,181.079000201 -17.2754304969,181.128000402 -17.054309998,181.175999799 -16.8331663649,181.225 -16.6120056327,181.273000402 -16.3908308187,181.321999598 -16.1696449407,181.37 -15.9484540334,181.134000201 -15.9164302957,180.896999598 -15.8832025749,180.655999799 -15.8486300543))',4326))); INSERT INTO public.view_test (catalog_id,dataset_id,image_path,coveragepoly) VALUES (15836184, 2063096, '', st_multi(st_geomfromtext('POLYGON((179.545984711 -15.9171514786,179.495243412 -16.1403429893,179.444430698 -16.3635103601,179.39354657 -16.5866535908,179.342587005 -16.8097726816,179.291548984 -17.0328726614,179.240427479 -17.2559535305,179.189217461 -17.4790142828,179.137916918 -17.7020488835,179.086521827 -17.9250553209,179.035031181 -18.1480315832,178.983387648 -18.3712140414,179.243388654 -18.4105864011,179.497604104 -18.4480185073,179.746907061 -18.4837567894,179.797483404 -18.2603590827,179.847922953 -18.0371695836,179.898278012 -17.8139509153,179.948551599 -17.5907060954,179.998746731 -17.3674381412,180.049000201 -17.1441520821,180.099000201 -16.9208519413,180.149000201 -16.6975347013,180.199000201 -16.4741983504,180.249000201 -16.2508398713,180.298000402 -16.0274612754,180.053000402 -15.9924049487,179.802257091 -15.9557151479,179.545984711 -15.9171514786))',4326))); INSERT INTO public.view_test (catalog_id,dataset_id,image_path,coveragepoly) VALUES (17349264, 2322838, '', st_multi(st_geomfromtext('POLYGON((179.512290179 72.1542419267,179.144996874 71.9140629718,178.786510145 71.6732398732,178.436519681 71.431805025,178.09473374 71.1897945653,177.760579284 70.9470277758,178.409691839 70.8557411573,179.049974648 70.7633884077,179.683210657 70.6697257057,180.037 70.9090975825,180.398 71.1476343103,180.768 71.3855111027,181.146 71.6226895184,181.534 71.8591349187,180.869 71.9588213447,180.196 72.0571058194,179.512290179 72.1542419267))',4326))); INSERT INTO public.view_test (catalog_id,dataset_id,image_path,coveragepoly) VALUES (17068914, 2257845, '', st_multi(st_geomfromtext('POLYGON((179.039884317 66.7567958853,178.848036178 66.5444771894,178.659274879 66.3319824792,178.473510114 66.1193169453,178.290653052 65.9064856728,178.110617892 65.6934935118,177.933322353 65.4803448547,177.758687153 65.2670434883,177.586635006 65.0535926383,177.417090186 64.8399952046,177.249979201 64.6262540807,177.085232004 64.4123723214,176.922783052 64.1983530566,176.762120618 63.9835922069,176.601173726 63.752017263,176.440226834 63.5204423192,176.279279942 63.2888673753,176.11833305 63.0572924315,175.957386158 62.8257174876,175.796439266 62.5941425438,175.635492375 62.3625675999,175.474545483 62.1309926561,175.313598591 61.8994177122,175.794181146 61.8349421828,176.269645981 61.7699080473,176.741344538 61.7041913201,176.91309487 61.9341579796,177.084845202 62.1641246391,177.256595534 62.3940912986,177.428345866 62.6240579581,177.600096198 62.8540246176,177.77184653 63.0839912771,177.943596862 63.3139579366,178.115347194 63.5439245961,178.287097526 63.7738912556,178.458501351 63.9870341862,178.631810997 64.1994137729,178.807570808 64.4116291457,178.98584849 64.6236763672,179.166716008 64.8355512763,179.350248692 65.047249762,179.536524184 65.2587677865,179.725621852 65.4701011843,179.917623217 65.6812454324,180.113 65.8921955223,180.311 66.1029459981,180.512 66.3134910974,180.716 66.5238248589,180.164 66.6023721443,179.605404276 66.6799870814,179.039884317 66.7567958853))',4326))); INSERT INTO public.view_test (catalog_id,dataset_id,image_path,coveragepoly) VALUES (15836249, 2063096, '/BrowseUDM/ams/2014/3/21/1395403157193100/324329_131001_browse.jpg', st_multi(st_geomfromtext('POLYGON((179.838948 -17.340608,179.835209 -17.557215,180.06104 -17.5607,180.064513 -17.344047,179.838948 -17.340608))',4326))); INSERT INTO public.view_test (catalog_id,dataset_id,image_path,coveragepoly) VALUES (15836252, 2063096, '/BrowseUDM/ams/2014/3/21/1395403157193100/324329_6031228_browse.jpg', st_multi(st_geomfromtext('POLYGON((179.928689 -16.910725,179.932063 -17.127389,180.157366 -17.123996,180.153734 -16.907378,179.928689 -16.910725))',4326))); INSERT INTO public.view_test (catalog_id,dataset_id,image_path,coveragepoly) VALUES (15836230, 2063096, '/BrowseUDM/ams/2014/3/21/1395403157193100/324329_6031528_browse.jpg', st_multi(st_geomfromtext('POLYGON((179.918861 -16.260704,179.922088 -16.477383,180.146628 -16.474126,180.143154 -16.257492,179.918861 -16.260704))',4326))); BlackBridge AG | Sitz Berlin | Amtsgericht Charlottenburg - Registergericht | HRB 152785 | Aufsichtsratsvorsitzender: David Westwood | Vorstand: Ryan Johnson -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: view_test.png Type: image/png Size: 6794 bytes Desc: view_test.png URL: From pomiarowiec10 at poczta.onet.pl Tue Sep 2 06:53:40 2014 From: pomiarowiec10 at poczta.onet.pl (Bartlomiej Burkot) Date: Tue, 02 Sep 2014 15:53:40 +0200 Subject: [mapserver-users] Raster projection troubles - empty image by projection epsg:31255 In-Reply-To: References: Message-ID: <5405CBE4.60709@poczta.onet.pl> Hi I spent much time searching for reason why my raster does not appear in WMS layer. My raster is in EPSG:31255 projection gdalinfo samle_raster.tif Driver: GTiff/GeoTIFF Files: samle_raster.tif Size is 5000, 4000 Coordinate System is: PROJCS["MGI / Austria GK Central", GEOGCS["MGI", DATUM["Militar_Geographische_Institute", SPHEROID["Bessel 1841",6377397.155,299.1528128000008, AUTHORITY["EPSG","7004"]], TOWGS84[577.326,90.129,463.919,5.137,1.474,5.297,2.4232], AUTHORITY["EPSG","6312"]], PRIMEM["Greenwich",0], UNIT["degree",0.0174532925199433], AUTHORITY["EPSG","4312"]], PROJECTION["Transverse_Mercator"], PARAMETER["latitude_of_origin",0], PARAMETER["central_meridian",13.33333333333333], PARAMETER["scale_factor",1], PARAMETER["false_easting",0], PARAMETER["false_northing",-5000000], UNIT["metre",1, AUTHORITY["EPSG","9001"]], AUTHORITY["EPSG","31255"]] Origin = (-112500.000000057683792,274999.999999893829226) Pixel Size = (0.249999999999589,-0.249999999999589) Metadata: AREA_OR_POINT=Area TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch) TIFFTAG_XRESOLUTION=72 TIFFTAG_YRESOLUTION=72 Image Structure Metadata: INTERLEAVE=PIXEL Corner Coordinates: Upper Left ( -112500.000, 275000.000) ( 11d50'13.22"E, 47d36'16.17"N) Lower Left ( -112500.000, 274000.000) ( 11d50'14.14"E, 47d35'43.80"N) Upper Right ( -111250.000, 275000.000) ( 11d51'13.05"E, 47d36'16.95"N) Lower Right ( -111250.000, 274000.000) ( 11d51'13.96"E, 47d35'44.57"N) Center ( -111875.000, 274500.000) ( 11d50'43.59"E, 47d36' 0.37"N) Band 1 Block=5000x1 Type=Byte, ColorInterp=Red Description = Band_1 Metadata: LAYER_TYPE=athematic Band 2 Block=5000x1 Type=Byte, ColorInterp=Green Description = Band_2 Metadata: LAYER_TYPE=athematic Band 3 Block=5000x1 Type=Byte, ColorInterp=Blue Description = Band_3 Metadata: LAYER_TYPE=athematic I can show it in qgis and reproject to any coordinate system for example epsg:3857. My mapfile is: MAP IMAGETYPE PNG EXTENT -120000 270000 -110000 275000 SIZE 800 600 RESOLUTION 72 CONFIG "MS_ERRORFILE" "../log/ms_error_standard.log" DEBUG 5 NAME myname CONFIG "CPL_DEBUG" "ON" CONFIG "PROJ_DEBUG" "ON" CONFIG "PROJ_LIB" "/usr/share/proj/" PROJECTION "init=epsg:31255" END WEB METADATA wms_title "standard data in wgw" "wms_enable_request" "GetMap GetFeatureInfo GetCapabilities" "wms_srs" "EPSG:31255 EPSG:4326 EPSG:3857 EPSG:2180 EPSG:31287" END END LAYER NAME "oneRaster" DATA "samle_raster.tif" TYPE RASTER STATUS ON PROJECTION "init=epsg:31255" END METADATA wms_title "Sample raster" wms_srs "EPSG:31255" END END END #MAP I'm using mapserver 6.4.1 in cgi mode on the Ubuntu 14.04 linux installed with apt-get install cgi-mapserver: /usr/lib/cgi-bin/mapserv -v MapServer version 6.4.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ SUPPORTS=GD SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=SVG_SYMBOLS SUPPORTS=RSVG SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE When Im requesting a map: http://myhost/cgi-bin/wmsstandard?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=-112516.67630140134133399,273973.2257158225402236,-111233.66681915351364296,275020.36552757304161787&CRS=EPSG:31255&WIDTH=1038&HEIGHT=846&LAYERS=oneRaster&STYLES=&FORMAT=image/jpeg&DPI=96&MAP_RESOLUTION=96&FORMAT_OPTIONS=dpi:96 I got a message in /var/log/apache2/error.log [Tue Sep 02 15:01:30.386845 2014] [cgi:error] [pid 2057] [client myip:65403] AH01215: GDAL: GDALOpen(/pathto/sample.tif, this=0x819310) succeeds as GTiff. [Tue Sep 02 15:01:30.396083 2014] [cgi:error] [pid 2057] [client myip:65403] AH01215: GDAL: GDALClose(/pathto/sample.tif,, this=0x819310) ms_error_standard.log: [Tue Sep 2 15:04:45 2014].609914 CGI Request 1 on process 5909 [Tue Sep 2 15:04:45 2014].610243 msWMSLoadGetMapParams(): enabling non-square pixels. [Tue Sep 2 15:04:45 2014].614988 msDrawMap(): kicking into non-square pixel preserving mode. [Tue Sep 2 15:04:45 2014].615034 msDrawMap(): rendering using outputformat named AGG_JPEG (AGG/JPEG). [Tue Sep 2 15:04:45 2014].615064 msDrawMap(): WMS/WFS set-up and query, 0.000s [Tue Sep 2 15:04:45 2014].617587 msDrawRasterLayerLow(oneRaster): entering. [Tue Sep 2 15:04:45 2014].619764 msDrawMap(): Layer 1 (oneRaster), 0.005s [Tue Sep 2 15:04:45 2014].619805 msDrawMap(): Drawing Label Cache, 0.000s [Tue Sep 2 15:04:45 2014].619816 msDrawMap() total time: 0.009s [Tue Sep 2 15:04:45 2014].627898 msSaveImage(stdout) total time: 0.008s [Tue Sep 2 15:04:45 2014].628129 mapserv request processing time (msLoadMap not incl.): 0.018s [Tue Sep 2 15:04:45 2014].628152 msFreeMap(): freeing map at 0xd0c570. The requested image is white/empty The proj4 epsg file does include my projection: more /usr/share/proj/epsg | grep 31255 #<31255> +proj=tmerc +lat_0=0 +lon_0=13.33333333333333 +k=1 +x_0=0 +y_0=-5000000 +datum=hermannskogel +units=m +no_defs <> <31255> +proj=tmerc +lat_0=0 +lon_0=13.33333333333333 +k=1 +x_0=0 +y_0=-5000000 +ellps=bessel +towgs84=577.326,90.129,463.919,5.137,1.474,5.297,2.4232 +units=m +no_defs <> And pcs.csv as well: more /usr/share/gdal/1.10/pcs.csv | grep 31255 31255,"MGI / Austria GK Central",9001,4312,18005,9807,1,0,4530,8801,0,9110,8802,13.2,9110,8805,1,9201,8806,0,9001,8807,-5000000,9001,,,,,, When I convert the rasterfile to epsg:3857 using gdalwarp and request Layer in the same crs&CRS=EPSG:31255& I get the correct getMap request. If I switch to &CRS=EPSG:31255& to force mapserver to reproject I got the same white/empty image. Could somebody help me? I can send you a sample of raster on email address. Bartek -------------- next part -------------- An HTML attachment was scrubbed... URL: From jukka.rahkonen at mmmtike.fi Tue Sep 2 07:43:35 2014 From: jukka.rahkonen at mmmtike.fi (Rahkonen Jukka (Tike)) Date: Tue, 2 Sep 2014 14:43:35 +0000 Subject: [mapserver-users] Raster projection troubles - empty image by projection epsg:31255 Message-ID: Hi, Your system seems to have Northing-Easting axis order http://epsg-registry.org/report.htm?type=selection&entity=urn:ogc:def:crs:EPSG::31255&reportDetail=short&style=urn:uuid:report-style:default-with-code&style_name=OGP%20Default%20With%20Code&title=EPSG:31255 Check if your BBOX has north coordinates first. If not, flip the coordinates or alternatively change your WMS version into 1.1.1 and CRS into SRS and keep your BBOX. -Jukka Rahkonen- Bartlomiej Burkot wrote: Hi I spent much time searching for reason why my raster does not appear in WMS layer. My raster is in EPSG:31255 projection gdalinfo samle_raster.tif Driver: GTiff/GeoTIFF Files: samle_raster.tif Size is 5000, 4000 Coordinate System is: PROJCS["MGI / Austria GK Central", GEOGCS["MGI", DATUM["Militar_Geographische_Institute", SPHEROID["Bessel 1841",6377397.155,299.1528128000008, AUTHORITY["EPSG","7004"]], TOWGS84[577.326,90.129,463.919,5.137,1.474,5.297,2.4232], AUTHORITY["EPSG","6312"]], PRIMEM["Greenwich",0], UNIT["degree",0.0174532925199433], AUTHORITY["EPSG","4312"]], PROJECTION["Transverse_Mercator"], PARAMETER["latitude_of_origin",0], PARAMETER["central_meridian",13.33333333333333], PARAMETER["scale_factor",1], PARAMETER["false_easting",0], PARAMETER["false_northing",-5000000], UNIT["metre",1, AUTHORITY["EPSG","9001"]], AUTHORITY["EPSG","31255"]] Origin = (-112500.000000057683792,274999.999999893829226) Pixel Size = (0.249999999999589,-0.249999999999589) Metadata: AREA_OR_POINT=Area TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch) TIFFTAG_XRESOLUTION=72 TIFFTAG_YRESOLUTION=72 Image Structure Metadata: INTERLEAVE=PIXEL Corner Coordinates: Upper Left ( -112500.000, 275000.000) ( 11d50'13.22"E, 47d36'16.17"N) Lower Left ( -112500.000, 274000.000) ( 11d50'14.14"E, 47d35'43.80"N) Upper Right ( -111250.000, 275000.000) ( 11d51'13.05"E, 47d36'16.95"N) Lower Right ( -111250.000, 274000.000) ( 11d51'13.96"E, 47d35'44.57"N) Center ( -111875.000, 274500.000) ( 11d50'43.59"E, 47d36' 0.37"N) Band 1 Block=5000x1 Type=Byte, ColorInterp=Red Description = Band_1 Metadata: LAYER_TYPE=athematic Band 2 Block=5000x1 Type=Byte, ColorInterp=Green Description = Band_2 Metadata: LAYER_TYPE=athematic Band 3 Block=5000x1 Type=Byte, ColorInterp=Blue Description = Band_3 Metadata: LAYER_TYPE=athematic I can show it in qgis and reproject to any coordinate system for example epsg:3857. My mapfile is: MAP IMAGETYPE PNG EXTENT -120000 270000 -110000 275000 SIZE 800 600 RESOLUTION 72 CONFIG "MS_ERRORFILE" "../log/ms_error_standard.log" DEBUG 5 NAME myname CONFIG "CPL_DEBUG" "ON" CONFIG "PROJ_DEBUG" "ON" CONFIG "PROJ_LIB" "/usr/share/proj/" PROJECTION "init=epsg:31255" END WEB METADATA wms_title "standard data in wgw" "wms_enable_request" "GetMap GetFeatureInfo GetCapabilities" "wms_srs" "EPSG:31255 EPSG:4326 EPSG:3857 EPSG:2180 EPSG:31287" END END LAYER NAME "oneRaster" DATA "samle_raster.tif" TYPE RASTER STATUS ON PROJECTION "init=epsg:31255" END METADATA wms_title "Sample raster" wms_srs "EPSG:31255" END END END #MAP I'm using mapserver 6.4.1 in cgi mode on the Ubuntu 14.04 linux installed with apt-get install cgi-mapserver: /usr/lib/cgi-bin/mapserv -v MapServer version 6.4.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ SUPPORTS=GD SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=SVG_SYMBOLS SUPPORTS=RSVG SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE When Im requesting a map: http://myhost/cgi-bin/wmsstandard?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=-112516.67630140134133399,273973.2257158225402236,-111233.66681915351364296,275020.36552757304161787&CRS=EPSG:31255&WIDTH=1038&HEIGHT=846&LAYERS=oneRaster&STYLES=&FORMAT=image/jpeg&DPI=96&MAP_RESOLUTION=96&FORMAT_OPTIONS=dpi:96 I got a message in /var/log/apache2/error.log [Tue Sep 02 15:01:30.386845 2014] [cgi:error] [pid 2057] [client myip:65403] AH01215: GDAL: GDALOpen(/pathto/sample.tif, this=0x819310) succeeds as GTiff. [Tue Sep 02 15:01:30.396083 2014] [cgi:error] [pid 2057] [client myip:65403] AH01215: GDAL: GDALClose(/pathto/sample.tif,, this=0x819310) ms_error_standard.log: [Tue Sep 2 15:04:45 2014].609914 CGI Request 1 on process 5909 [Tue Sep 2 15:04:45 2014].610243 msWMSLoadGetMapParams(): enabling non-square pixels. [Tue Sep 2 15:04:45 2014].614988 msDrawMap(): kicking into non-square pixel preserving mode. [Tue Sep 2 15:04:45 2014].615034 msDrawMap(): rendering using outputformat named AGG_JPEG (AGG/JPEG). [Tue Sep 2 15:04:45 2014].615064 msDrawMap(): WMS/WFS set-up and query, 0.000s [Tue Sep 2 15:04:45 2014].617587 msDrawRasterLayerLow(oneRaster): entering. [Tue Sep 2 15:04:45 2014].619764 msDrawMap(): Layer 1 (oneRaster), 0.005s [Tue Sep 2 15:04:45 2014].619805 msDrawMap(): Drawing Label Cache, 0.000s [Tue Sep 2 15:04:45 2014].619816 msDrawMap() total time: 0.009s [Tue Sep 2 15:04:45 2014].627898 msSaveImage(stdout) total time: 0.008s [Tue Sep 2 15:04:45 2014].628129 mapserv request processing time (msLoadMap not incl.): 0.018s [Tue Sep 2 15:04:45 2014].628152 msFreeMap(): freeing map at 0xd0c570. The requested image is white/empty The proj4 epsg file does include my projection: more /usr/share/proj/epsg | grep 31255 #<31255> +proj=tmerc +lat_0=0 +lon_0=13.33333333333333 +k=1 +x_0=0 +y_0=-5000000 +datum=hermannskogel +units=m +no_defs <> <31255> +proj=tmerc +lat_0=0 +lon_0=13.33333333333333 +k=1 +x_0=0 +y_0=-5000000 +ellps=bessel +towgs84=577.326,90.129,463.919,5.137,1.474,5.297,2.4232 +units=m +no_defs <> And pcs.csv as well: more /usr/share/gdal/1.10/pcs.csv | grep 31255 31255,"MGI / Austria GK Central",9001,4312,18005,9807,1,0,4530,8801,0,9110,8802,13.2,9110,8805,1,9201,8806,0,9001,8807,-5000000,9001,,,,,, When I convert the rasterfile to epsg:3857 using gdalwarp and request Layer in the same crs &CRS=EPSG:31255& I get the correct getMap request. If I switch to &CRS=EPSG:31255& to force mapserver to reproject I got the same white/empty image. Could somebody help me? I can send you a sample of raster on email address. Bartek -------------- next part -------------- An HTML attachment was scrubbed... URL: From anttij.lind at birdlife.fi Tue Sep 2 08:01:05 2014 From: anttij.lind at birdlife.fi (Antti J. Lind) Date: Tue, 02 Sep 2014 18:01:05 +0300 Subject: [mapserver-users] Debugging mapserver 6.2 Message-ID: <6fdf9bd4d1d9a0c12fa16902496ece0f@ajl.fi> Hello list, I try to debug mapserver (version 6.2.2) without success. I have set on map-file CONFIG "MS_ERRORFILE" "/tmp/ms_error.txt" DEBUG 5 and run web-application. Log file shows up on /tmp-directory, but it's allways empty. ll /tmp/ms_* -rw-r--r-- 1 apache apache 0 Sep 2 12:16 /tmp/ms_error.txt Ideas? -- Antti J. Lind From woodbri at swoodbridge.com Tue Sep 2 08:10:27 2014 From: woodbri at swoodbridge.com (Stephen Woodbridge) Date: Tue, 02 Sep 2014 11:10:27 -0400 Subject: [mapserver-users] Debugging mapserver 6.2 In-Reply-To: <6fdf9bd4d1d9a0c12fa16902496ece0f@ajl.fi> References: <6fdf9bd4d1d9a0c12fa16902496ece0f@ajl.fi> Message-ID: <5405DDE3.5070205@swoodbridge.com> On 9/2/2014 11:01 AM, Antti J. Lind wrote: > Hello list, > > I try to debug mapserver (version 6.2.2) without success. > > I have set on map-file > CONFIG "MS_ERRORFILE" "/tmp/ms_error.txt" > DEBUG 5 > and run web-application. > > Log file shows up on /tmp-directory, but it's allways empty. > > ll /tmp/ms_* > -rw-r--r-- 1 apache apache 0 Sep 2 12:16 /tmp/ms_error.txt > > Ideas? is /tmp full? From jmckenna at gatewaygeomatics.com Tue Sep 2 08:21:00 2014 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Tue, 02 Sep 2014 12:21:00 -0300 Subject: [mapserver-users] Debugging mapserver 6.2 In-Reply-To: <6fdf9bd4d1d9a0c12fa16902496ece0f@ajl.fi> References: <6fdf9bd4d1d9a0c12fa16902496ece0f@ajl.fi> Message-ID: <5405E05C.8@gatewaygeomatics.com> On 2014-09-02 12:01 PM, Antti J. Lind wrote: > Hello list, > > I try to debug mapserver (version 6.2.2) without success. > > I have set on map-file > CONFIG "MS_ERRORFILE" "/tmp/ms_error.txt" > DEBUG 5 > and run web-application. > > Log file shows up on /tmp-directory, but it's allways empty. > > ll /tmp/ms_* > -rw-r--r-- 1 apache apache 0 Sep 2 12:16 /tmp/ms_error.txt > > Ideas? > > -- > Antti J. Lind > You might also use the shp2img commandline utility with the '-all_debug 5' switch. -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ From anttij.lind at birdlife.fi Tue Sep 2 08:27:14 2014 From: anttij.lind at birdlife.fi (Antti J. Lind) Date: Tue, 02 Sep 2014 18:27:14 +0300 Subject: [mapserver-users] Debugging mapserver 6.2 In-Reply-To: <5405E05C.8@gatewaygeomatics.com> References: <6fdf9bd4d1d9a0c12fa16902496ece0f@ajl.fi> <5405E05C.8@gatewaygeomatics.com> Message-ID: Hi, Seems to be plenty of space on /tmp/, only 7% used. With shp2img seems to write to correct file [Tue Sep 2 18:24:58 2014].520502 msDrawMap(): rendering using outputformat named png (AGG/PNG). [Tue Sep 2 18:24:59 2014].17303 msDrawMap(): WMS/WFS set-up and query, 0.497s [Tue Sep 2 18:24:59 2014].19072 msDrawRasterLayerLow(kartta_mk2m): entering. [Tue Sep 2 18:24:59 2014].34160 msDrawMap(): Layer 0 (kartta_mk2m), 0.017s [Tue Sep 2 18:24:59 2014].34341 msDrawRasterLayerLow(watermark): entering. [Tue Sep 2 18:24:59 2014].47150 msDrawMap(): Layer 7 (watermark), 0.013s [Tue Sep 2 18:24:59 2014].47221 msDrawMap(): Layer 8 (lupa), 0.000s [Tue Sep 2 18:24:59 2014].47299 msDrawMap(): Drawing Label Cache, 0.000s [Tue Sep 2 18:24:59 2014].47311 msDrawMap() total time: 0.528s [Tue Sep 2 18:24:59 2014].879297 msSaveImage(stdout) total time: 0.832s [Tue Sep 2 18:24:59 2014].879659 msFreeMap(): freeing map at 0x234f570. -- AJL Jeff McKenna kirjoitti 2014-09-02 18:21: > On 2014-09-02 12:01 PM, Antti J. Lind wrote: >> Hello list, >> >> I try to debug mapserver (version 6.2.2) without success. >> >> I have set on map-file >> CONFIG "MS_ERRORFILE" "/tmp/ms_error.txt" >> DEBUG 5 >> and run web-application. >> >> Log file shows up on /tmp-directory, but it's allways empty. >> >> ll /tmp/ms_* >> -rw-r--r-- 1 apache apache 0 Sep 2 12:16 /tmp/ms_error.txt >> >> Ideas? >> >> -- >> Antti J. Lind >> > > You might also use the shp2img commandline utility with the > '-all_debug 5' switch. > > -jeff From woodbri at swoodbridge.com Tue Sep 2 08:58:20 2014 From: woodbri at swoodbridge.com (Stephen Woodbridge) Date: Tue, 02 Sep 2014 11:58:20 -0400 Subject: [mapserver-users] Debugging mapserver 6.2 In-Reply-To: References: <6fdf9bd4d1d9a0c12fa16902496ece0f@ajl.fi> <5405E05C.8@gatewaygeomatics.com> Message-ID: <5405E91C.50906@swoodbridge.com> Check permissions on the file ls -l /tmp/ms_error.txt sudo chmod 666 /tmp/ms_error.txt and try it again from the webserver. -Steve W On 9/2/2014 11:27 AM, Antti J. Lind wrote: > Hi, > > Seems to be plenty of space on /tmp/, only 7% used. > > With shp2img seems to write to correct file > > [Tue Sep 2 18:24:58 2014].520502 msDrawMap(): rendering using > outputformat named png (AGG/PNG). > [Tue Sep 2 18:24:59 2014].17303 msDrawMap(): WMS/WFS set-up and query, > 0.497s > [Tue Sep 2 18:24:59 2014].19072 msDrawRasterLayerLow(kartta_mk2m): > entering. > [Tue Sep 2 18:24:59 2014].34160 msDrawMap(): Layer 0 (kartta_mk2m), 0.017s > [Tue Sep 2 18:24:59 2014].34341 msDrawRasterLayerLow(watermark): entering. > [Tue Sep 2 18:24:59 2014].47150 msDrawMap(): Layer 7 (watermark), 0.013s > [Tue Sep 2 18:24:59 2014].47221 msDrawMap(): Layer 8 (lupa), 0.000s > [Tue Sep 2 18:24:59 2014].47299 msDrawMap(): Drawing Label Cache, 0.000s > [Tue Sep 2 18:24:59 2014].47311 msDrawMap() total time: 0.528s > [Tue Sep 2 18:24:59 2014].879297 msSaveImage(stdout) total time: 0.832s > [Tue Sep 2 18:24:59 2014].879659 msFreeMap(): freeing map at 0x234f570. > > -- > AJL > > Jeff McKenna kirjoitti 2014-09-02 18:21: >> On 2014-09-02 12:01 PM, Antti J. Lind wrote: >>> Hello list, >>> >>> I try to debug mapserver (version 6.2.2) without success. >>> >>> I have set on map-file >>> CONFIG "MS_ERRORFILE" "/tmp/ms_error.txt" >>> DEBUG 5 >>> and run web-application. >>> >>> Log file shows up on /tmp-directory, but it's allways empty. >>> >>> ll /tmp/ms_* >>> -rw-r--r-- 1 apache apache 0 Sep 2 12:16 /tmp/ms_error.txt >>> >>> Ideas? >>> >>> -- >>> Antti J. Lind >>> >> >> You might also use the shp2img commandline utility with the >> '-all_debug 5' switch. >> >> -jeff > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From anttij.lind at birdlife.fi Tue Sep 2 09:14:30 2014 From: anttij.lind at birdlife.fi (Antti J. Lind) Date: Tue, 02 Sep 2014 19:14:30 +0300 Subject: [mapserver-users] Debugging mapserver 6.2 In-Reply-To: <5405E91C.50906@swoodbridge.com> References: " <6fdf9bd4d1d9a0c12fa16902496ece0f@ajl.fi>" <5405E05C.8@gatewaygeomatics.com> <5405E91C.50906@swoodbridge.com> Message-ID: <08c8a2226db175935eab38ed6817c85b@ajl.fi> I can remove file and when running from webserver, it recreated again and owned by apache with -rw-r--r-- rights. Same when chmod 666 existing file. -- AJL Stephen Woodbridge kirjoitti 2014-09-02 18:58: > Check permissions on the file > > ls -l /tmp/ms_error.txt > sudo chmod 666 /tmp/ms_error.txt > > and try it again from the webserver. > > -Steve W > > On 9/2/2014 11:27 AM, Antti J. Lind wrote: >> Hi, >> >> Seems to be plenty of space on /tmp/, only 7% used. >> >> With shp2img seems to write to correct file >> >> [Tue Sep 2 18:24:58 2014].520502 msDrawMap(): rendering using >> outputformat named png (AGG/PNG). >> [Tue Sep 2 18:24:59 2014].17303 msDrawMap(): WMS/WFS set-up and >> query, >> 0.497s >> [Tue Sep 2 18:24:59 2014].19072 msDrawRasterLayerLow(kartta_mk2m): >> entering. >> [Tue Sep 2 18:24:59 2014].34160 msDrawMap(): Layer 0 (kartta_mk2m), >> 0.017s >> [Tue Sep 2 18:24:59 2014].34341 msDrawRasterLayerLow(watermark): >> entering. >> [Tue Sep 2 18:24:59 2014].47150 msDrawMap(): Layer 7 (watermark), >> 0.013s >> [Tue Sep 2 18:24:59 2014].47221 msDrawMap(): Layer 8 (lupa), 0.000s >> [Tue Sep 2 18:24:59 2014].47299 msDrawMap(): Drawing Label Cache, >> 0.000s >> [Tue Sep 2 18:24:59 2014].47311 msDrawMap() total time: 0.528s >> [Tue Sep 2 18:24:59 2014].879297 msSaveImage(stdout) total time: >> 0.832s >> [Tue Sep 2 18:24:59 2014].879659 msFreeMap(): freeing map at >> 0x234f570. >> >> -- >> AJL >> >> Jeff McKenna kirjoitti 2014-09-02 18:21: >>> On 2014-09-02 12:01 PM, Antti J. Lind wrote: >>>> Hello list, >>>> >>>> I try to debug mapserver (version 6.2.2) without success. >>>> >>>> I have set on map-file >>>> CONFIG "MS_ERRORFILE" "/tmp/ms_error.txt" >>>> DEBUG 5 >>>> and run web-application. >>>> >>>> Log file shows up on /tmp-directory, but it's allways empty. >>>> >>>> ll /tmp/ms_* >>>> -rw-r--r-- 1 apache apache 0 Sep 2 12:16 /tmp/ms_error.txt >>>> >>>> Ideas? >>>> >>>> -- >>>> Antti J. Lind >>>> >>> >>> You might also use the shp2img commandline utility with the >>> '-all_debug 5' switch. >>> >>> -jeff >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From pomiarowiec10 at poczta.onet.pl Tue Sep 2 09:32:26 2014 From: pomiarowiec10 at poczta.onet.pl (Bartek Burkot) Date: Tue, 02 Sep 2014 18:32:26 +0200 Subject: [mapserver-users] Raster projection troubles - empty image by projection epsg:31255 Message-ID: <90380726-890414a240ee9c79a3e1e98e00bf3132@pmq1v.m5r2.onet> Hi ? bingo!? I tested wms using qgis 2.0.1 and there is a bug regarding revert axis order. Than you Jukka very much :) ? Bartek ? W dniu 2014-09-02 16:43:35 u?ytkownik Rahkonen Jukka (Tike) napisa?: Hi, ? Your system seems to have Northing-Easting axis order http://epsg-registry.org/report.htm?type=selection&entity=urn:ogc:def:crs:EPSG::31255&reportDetail=short&style=urn:uuid:report-style:default-with-code&style_name=OGP%20Default%20With%20Code&title=EPSG:31255 ? Check if your BBOX has north coordinates first. If not, flip the coordinates or alternatively change your WMS version into 1.1.1 and CRS into SRS and keep your BBOX. ? -Jukka Rahkonen- ? Bartlomiej Burkot wrote: ? Hi I spent much time searching for reason why my raster does not appear in WMS layer. My raster is in EPSG:31255 projection gdalinfo samle_raster.tif Driver: GTiff/GeoTIFF Files: samle_raster.tif Size is 5000, 4000 Coordinate System is: PROJCS["MGI / Austria GK Central", ??? GEOGCS["MGI", ??????? DATUM["Militar_Geographische_Institute", ??????????? SPHEROID["Bessel 1841",6377397.155,299.1528128000008, ??????????????? AUTHORITY["EPSG","7004"]], ??????????? TOWGS84[577.326,90.129,463.919,5.137,1.474,5.297,2.4232], ??????????? AUTHORITY["EPSG","6312"]], ??????? PRIMEM["Greenwich",0], ??????? UNIT["degree",0.0174532925199433], ??????? AUTHORITY["EPSG","4312"]], ??? PROJECTION["Transverse_Mercator"], ??? PARAMETER["latitude_of_origin",0], ??? PARAMETER["central_meridian",13.33333333333333], ??? PARAMETER["scale_factor",1], ??? PARAMETER["false_easting",0], ??? PARAMETER["false_northing",-5000000], ??? UNIT["metre",1, ??????? AUTHORITY["EPSG","9001"]], ??? AUTHORITY["EPSG","31255"]] Origin = (-112500.000000057683792,274999.999999893829226) Pixel Size = (0.249999999999589,-0.249999999999589) Metadata: ? AREA_OR_POINT=Area ? TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch) ? TIFFTAG_XRESOLUTION=72 ? TIFFTAG_YRESOLUTION=72 Image Structure Metadata: ? INTERLEAVE=PIXEL Corner Coordinates: Upper Left? ( -112500.000,? 275000.000) ( 11d50'13.22"E, 47d36'16.17"N) Lower Left? ( -112500.000,? 274000.000) ( 11d50'14.14"E, 47d35'43.80"N) Upper Right ( -111250.000,? 275000.000) ( 11d51'13.05"E, 47d36'16.95"N) Lower Right ( -111250.000,? 274000.000) ( 11d51'13.96"E, 47d35'44.57"N) Center????? ( -111875.000,? 274500.000) ( 11d50'43.59"E, 47d36' 0.37"N) Band 1 Block=5000x1 Type=Byte, ColorInterp=Red ? Description = Band_1 ? Metadata: ??? LAYER_TYPE=athematic Band 2 Block=5000x1 Type=Byte, ColorInterp=Green ? Description = Band_2 ? Metadata: ??? LAYER_TYPE=athematic Band 3 Block=5000x1 Type=Byte, ColorInterp=Blue ? Description = Band_3 ? Metadata: ??? LAYER_TYPE=athematic I can show it in qgis and reproject to any coordinate system for example epsg:3857. My mapfile is: MAP ??? IMAGETYPE???? PNG ??? EXTENT??? ????? -120000 270000 -110000 275000 ??? SIZE?????????? 800 600 ??? RESOLUTION 72 ??? CONFIG "MS_ERRORFILE" "../log/ms_error_standard.log" ??? DEBUG 5 ??? NAME ??? myname ??? CONFIG "CPL_DEBUG" "ON" ??? CONFIG "PROJ_DEBUG" "ON" ??? CONFIG "PROJ_LIB" "/usr/share/proj/" ??? ??? PROJECTION ??? ??? "init=epsg:31255" ??? END ??? WEB ??? ??? METADATA ??? ??? ??? wms_title "standard data in wgw" ??? ??? ??? "wms_enable_request" "GetMap GetFeatureInfo GetCapabilities" ??? ??? ??? "wms_srs" "EPSG:31255 EPSG:4326 EPSG:3857 EPSG:2180 EPSG:31287" ??? ??? END ??? END ??? ??? LAYER ??? ??? NAME "oneRaster" ??? ??? DATA "samle_raster.tif" ??? ??? TYPE RASTER ??? ??? STATUS ON ??? ??? PROJECTION ??? ??? ? "init=epsg:31255" ??? ??? END ??? ??? METADATA ??? ??? ??? wms_title "Sample raster" ??? ??? ??? wms_srs "EPSG:31255" ??? ??? END ??? ??? ??? END END #MAP I'm using mapserver 6.4.1 in cgi mode on the Ubuntu 14.04 linux installed with apt-get install cgi-mapserver: /usr/lib/cgi-bin/mapserv -v MapServer version 6.4.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ SUPPORTS=GD SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=SVG_SYMBOLS SUPPORTS=RSVG SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE When Im requesting a map: http://myhost/cgi-bin/wmsstandard?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=-112516.67630140134133399,273973.2257158225402236,-111233.66681915351364296,275020.36552757304161787&CRS=EPSG:31255&WIDTH=1038&HEIGHT=846&LAYERS=oneRaster&STYLES=&FORMAT=image/jpeg&DPI=96&MAP_RESOLUTION=96&FORMAT_OPTIONS=dpi:96 I got a message in /var/log/apache2/error.log [Tue Sep 02 15:01:30.386845 2014] [cgi:error] [pid 2057] [client myip:65403] AH01215: GDAL: GDALOpen(/pathto/sample.tif, this=0x819310) succeeds as GTiff. [Tue Sep 02 15:01:30.396083 2014] [cgi:error] [pid 2057] [client myip:65403] AH01215: GDAL: GDALClose(/pathto/sample.tif,, this=0x819310) ms_error_standard.log: [Tue Sep? 2 15:04:45 2014].609914 CGI Request 1 on process 5909 [Tue Sep? 2 15:04:45 2014].610243 msWMSLoadGetMapParams(): enabling non-square pixels. [Tue Sep? 2 15:04:45 2014].614988 msDrawMap(): kicking into non-square pixel preserving mode. [Tue Sep? 2 15:04:45 2014].615034 msDrawMap(): rendering using outputformat named AGG_JPEG (AGG/JPEG). [Tue Sep? 2 15:04:45 2014].615064 msDrawMap(): WMS/WFS set-up and query, 0.000s [Tue Sep? 2 15:04:45 2014].617587 msDrawRasterLayerLow(oneRaster): entering. [Tue Sep? 2 15:04:45 2014].619764 msDrawMap(): Layer 1 (oneRaster), 0.005s [Tue Sep? 2 15:04:45 2014].619805 msDrawMap(): Drawing Label Cache, 0.000s [Tue Sep? 2 15:04:45 2014].619816 msDrawMap() total time: 0.009s [Tue Sep? 2 15:04:45 2014].627898 msSaveImage(stdout) total time: 0.008s [Tue Sep? 2 15:04:45 2014].628129 mapserv request processing time (msLoadMap not incl.): 0.018s [Tue Sep? 2 15:04:45 2014].628152 msFreeMap(): freeing map at 0xd0c570. The requested image is white/empty The proj4 epsg file does include my projection: more /usr/share/proj/epsg | grep 31255 #<31255> +proj=tmerc +lat_0=0 +lon_0=13.33333333333333 +k=1 +x_0=0 +y_0=-5000000 +datum=hermannskogel +units=m +no_defs? <> <31255> +proj=tmerc +lat_0=0 +lon_0=13.33333333333333 +k=1 +x_0=0 +y_0=-5000000 +ellps=bessel +towgs84=577.326,90.129,463.919,5.137,1.474,5.297,2.4232 +units=m +no_defs? <> And pcs.csv as well: ?more /usr/share/gdal/1.10/pcs.csv | grep 31255 31255,"MGI / Austria GK Central",9001,4312,18005,9807,1,0,4530,8801,0,9110,8802,13.2,9110,8805,1,9201,8806,0,9001,8807,-5000000,9001,,,,,, When I convert the rasterfile to epsg:3857 using gdalwarp and request Layer in the same crs? &CRS=EPSG:31255& I get the correct getMap request. If I switch to &CRS=EPSG:31255& to force mapserver to reproject I got the same white/empty image. Could somebody help me? I can send you a sample of raster on email address. Bartek ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From gislars+list at googlemail.com Wed Sep 3 01:03:11 2014 From: gislars+list at googlemail.com (Lars Lingner) Date: Wed, 03 Sep 2014 10:03:11 +0200 Subject: [mapserver-users] searching for a solution to render polygons crossing the antimeridan In-Reply-To: References: Message-ID: <5406CB3F.3070304@googlemail.com> Hi Peter, I could reproduce your findings. Excellent issue report btw. Data-SQL and mapfile are just working with copy paste :) Displaying in epsg:4326 is working fine. I noticed a difference in your epsg code 3785 (in your request URL and 3875 in your wms_srs parameter. But even if I add 3785 to it nothing changes. Interisting: When I'm viewing the data in QGIS (postgis layer), with 3785 the geometries have a similar "artistic look". Best wishes, Lars On 01.09.2014 15:49, Peter Freimuth wrote: > Hi, > > i think this problem was solved already thousand times but i could not > find a solution via google. > > > > We have polygons in a postgis 2.1 db describing the satellite images > which sometimes cross the antimeridan. These polygons shall be rendered > to a map via WMS calls using google Mercator in the map client (or any > other projection supported by the WMS). The problem is that the polygons > are drawn incorrect (see attached image which is the outcome of the > following call > > http://db5.devel.intern/cgi-bin/catalog_view.fcgi?SERVICE=WMS&VERSION=1.1.1&REQUEST=getmap&layers=coveragepols_test&bbox=19068286.820724,-2282715.4123002,20749901.442696,-1809417.3332432&srs=epsg:3785&format=image/png&width=800&height=800) > > > > Any hint on documentation or how to overcome this problem is very welcome! > > Kind regards, > > Peter > > > > > > These are the details: umn ms 6.4.1 > > ## layer defintion > > LAYER > > NAME "coveragepols_test" > > TYPE POLYGON > > STATUS ON > > DEBUG 5 > > UNITS dd > > SIZEUNITS PIXELS > > TOLERANCE 3 > > TOLERANCEUNITS PIXELS > > PROCESSING "CLOSE_CONNECTION=DEFER" > > CONNECTIONTYPE POSTGIS > > CONNECTION"user=? password=?. dbname=? host='localhost' port=5432" > > DATA "coverage_poly FROM (SELECT id as image_id, coveragepoly as > coverage_poly > > > FROM public.view_test > > ) foo > USING UNIQUE image_id USING SRID=4326" > > PROJECTION > > "init=epsg:4326" > > END > > METADATA > > "ows_title" "Coverage Polygons" > > #"ows_extent" "-20037508.34 -20037508.34 20037508.34 > 20037508.34" > > "ows_extent" "-180 -89 180 89" > > "wms_srs" "EPSG:3875 EPSG:900913 EPSG:4326" #output > > END > > CLASS > > NAME "Coverage Polygons" > > #STYLE > > # COLOR 231 182 21 > > #END > > STYLE > > OUTLINECOLOR 10 255 0 > > WIDTH 2 > > END > > END > > END > > > > > > > > > > ##used data > > CREATE TABLE view_test > > ( > > id bigserial NOT NULL, > > catalog_id integer, > > dataset_id integer, > > image_path character varying(256) NOT NULL, > > coveragepoly geometry(MultiPolygon,4326), > > CONSTRAINT view_test_pkey PRIMARY KEY (id) > > ) > > WITH ( > > OIDS=FALSE > > ); > > ALTER TABLE view_test > > OWNER TO searchdb_admin; > > > > INSERT INTO public.view_test (catalog_id,dataset_id,image_path,coveragepoly) > > VALUES (15829509, 2061925, '', > st_multi(st_geomfromtext('POLYGON((180.655999799 > -15.8486300543,180.606999598 -16.0696710923,180.558000402 > -16.2907050895,180.509000201 -16.5117270167,180.459000201 > -16.7327328505,180.41 -16.9537185677,180.36 -17.1746801448,180.310999799 > -17.3956135586,180.260999799 -17.6165178033,180.210999799 > -17.8373888554,180.160999799 -18.0582267149,180.110999799 > -18.2790293703,180.06 -18.4997958157,180.01 -18.7205260511,179.991351841 > -18.8027016697,180.235999799 -18.8380677932,180.478000402 > -18.8720267552,180.716999598 -18.9047223899,180.735999799 > -18.8224783746,180.785 -18.6015670891,180.834000201 > -18.3806216053,180.883000402 -18.1596439348,180.931999598 > -17.9386350835,180.980999799 -17.7175950513,181.03 > -17.4965258499,181.079000201 -17.2754304969,181.128000402 > -17.054309998,181.175999799 -16.8331663649,181.225 > -16.6120056327,181.273000402 -16.3908308187,181.321999598 > -16.1696449407,181.37 -15.9484540334,181.134000201 > -15.9164302957,180.896999598 -15.8832025749,180.655999799 > -15.8486300543))',4326))); > > INSERT INTO public.view_test (catalog_id,dataset_id,image_path,coveragepoly) > > VALUES (15836184, 2063096, '', > st_multi(st_geomfromtext('POLYGON((179.545984711 > -15.9171514786,179.495243412 -16.1403429893,179.444430698 > -16.3635103601,179.39354657 -16.5866535908,179.342587005 > -16.8097726816,179.291548984 -17.0328726614,179.240427479 > -17.2559535305,179.189217461 -17.4790142828,179.137916918 > -17.7020488835,179.086521827 -17.9250553209,179.035031181 > -18.1480315832,178.983387648 -18.3712140414,179.243388654 > -18.4105864011,179.497604104 -18.4480185073,179.746907061 > -18.4837567894,179.797483404 -18.2603590827,179.847922953 > -18.0371695836,179.898278012 -17.8139509153,179.948551599 > -17.5907060954,179.998746731 -17.3674381412,180.049000201 > -17.1441520821,180.099000201 -16.9208519413,180.149000201 > -16.6975347013,180.199000201 -16.4741983504,180.249000201 > -16.2508398713,180.298000402 -16.0274612754,180.053000402 > -15.9924049487,179.802257091 -15.9557151479,179.545984711 > -15.9171514786))',4326))); > > INSERT INTO public.view_test (catalog_id,dataset_id,image_path,coveragepoly) > > VALUES (17349264, 2322838, '', > st_multi(st_geomfromtext('POLYGON((179.512290179 > 72.1542419267,179.144996874 71.9140629718,178.786510145 > 71.6732398732,178.436519681 71.431805025,178.09473374 > 71.1897945653,177.760579284 70.9470277758,178.409691839 > 70.8557411573,179.049974648 70.7633884077,179.683210657 > 70.6697257057,180.037 70.9090975825,180.398 71.1476343103,180.768 > 71.3855111027,181.146 71.6226895184,181.534 71.8591349187,180.869 > 71.9588213447,180.196 72.0571058194,179.512290179 72.1542419267))',4326))); > > INSERT INTO public.view_test (catalog_id,dataset_id,image_path,coveragepoly) > > VALUES (17068914, 2257845, '', > st_multi(st_geomfromtext('POLYGON((179.039884317 > 66.7567958853,178.848036178 66.5444771894,178.659274879 > 66.3319824792,178.473510114 66.1193169453,178.290653052 > 65.9064856728,178.110617892 65.6934935118,177.933322353 > 65.4803448547,177.758687153 65.2670434883,177.586635006 > 65.0535926383,177.417090186 64.8399952046,177.249979201 > 64.6262540807,177.085232004 64.4123723214,176.922783052 > 64.1983530566,176.762120618 63.9835922069,176.601173726 > 63.752017263,176.440226834 63.5204423192,176.279279942 > 63.2888673753,176.11833305 63.0572924315,175.957386158 > 62.8257174876,175.796439266 62.5941425438,175.635492375 > 62.3625675999,175.474545483 62.1309926561,175.313598591 > 61.8994177122,175.794181146 61.8349421828,176.269645981 > 61.7699080473,176.741344538 61.7041913201,176.91309487 > 61.9341579796,177.084845202 62.1641246391,177.256595534 > 62.3940912986,177.428345866 62.6240579581,177.600096198 > 62.8540246176,177.77184653 63.0839912771,177.943596862 > 63.3139579366,178.115347194 63.5439245961,178.287097526 > 63.7738912556,178.458501351 63.9870341862,178.631810997 > 64.1994137729,178.807570808 64.4116291457,178.98584849 > 64.6236763672,179.166716008 64.8355512763,179.350248692 > 65.047249762,179.536524184 65.2587677865,179.725621852 > 65.4701011843,179.917623217 65.6812454324,180.113 65.8921955223,180.311 > 66.1029459981,180.512 66.3134910974,180.716 66.5238248589,180.164 > 66.6023721443,179.605404276 66.6799870814,179.039884317 > 66.7567958853))',4326))); > > > > > > INSERT INTO public.view_test (catalog_id,dataset_id,image_path,coveragepoly) > > VALUES (15836249, 2063096, > '/BrowseUDM/ams/2014/3/21/1395403157193100/324329_131001_browse.jpg', > st_multi(st_geomfromtext('POLYGON((179.838948 -17.340608,179.835209 > -17.557215,180.06104 -17.5607,180.064513 -17.344047,179.838948 > -17.340608))',4326))); > > INSERT INTO public.view_test (catalog_id,dataset_id,image_path,coveragepoly) > > VALUES (15836252, 2063096, > '/BrowseUDM/ams/2014/3/21/1395403157193100/324329_6031228_browse.jpg', > st_multi(st_geomfromtext('POLYGON((179.928689 -16.910725,179.932063 > -17.127389,180.157366 -17.123996,180.153734 -16.907378,179.928689 > -16.910725))',4326))); > > INSERT INTO public.view_test (catalog_id,dataset_id,image_path,coveragepoly) > > VALUES (15836230, 2063096, > '/BrowseUDM/ams/2014/3/21/1395403157193100/324329_6031528_browse.jpg', > st_multi(st_geomfromtext('POLYGON((179.918861 -16.260704,179.922088 > -16.477383,180.146628 -16.474126,180.143154 -16.257492,179.918861 > -16.260704))',4326))); > > > > > > > > > > > > BlackBridge AG | Sitz Berlin | Amtsgericht Charlottenburg - > Registergericht | HRB 152785 | Aufsichtsratsvorsitzender: David Westwood > | Vorstand: Ryan Johnson > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > From amanero at geograma.com Wed Sep 3 01:32:16 2014 From: amanero at geograma.com (Geograma) Date: Wed, 3 Sep 2014 01:32:16 -0700 (PDT) Subject: [mapserver-users] Oracle layer partially drawn Message-ID: <1409733136117-5159828.post@n6.nabble.com> Hello, With MapServer for Windows (3.0.6 updated to MapServer 6.2.0-beta4), I?m writing a ?.map? that uses data from an Oracle 11g schema. All looks OK but, when a map is requested, only some features are drawn. In the log there is no error or warning. Anybody knows what is happening? (any suggestion will be appreciated) Attached are two images, one with the map that should be got (data in a PostGis server), another with the map got from Oracle and the ?.map? used to generate the second image. Tha ".map" file is as follows: MAP NAME TEST EXTENT -1450047 2763292 2122072 5658922 SYMBOLSET "symbols.sym" FONTSET "font.list" LEGEND IMAGECOLOR -1 -1 -1 LABEL FONT "vera" ANGLE FOLLOW COLOR 0 0 0 ENCODING "UTF-8" TYPE truetype SIZE 8 END STATUS ON TRANSPARENT ON END WEB METADATA "wms_encoding" "UTF-8" "wms_title" "title" "wms_abstract" "" "wms_srs" "epsg:23030 epsg:4326" "wms_enable_request" "*" "wms_onlineresource" "http://v-0049:8080/fcgi-bin/mapserv.exe?map=C:\\ms4w\\maps\\test.map" labelcache_map_edge_buffer "-10" END END PROJECTION "init=epsg:23030" END #CONFIG MS_ERRORFILE "c:\\ms4w_3_0_6\\maps\\logs\\test.log" #DEBUG 5 IMAGECOLOR 153 179 204 OUTPUTFORMAT NAME png DRIVER "AGG/PNG" MIMETYPE "image/png" IMAGEMODE RGB EXTENSION "png" FORMATOPTION QUALITY=100 FORMATOPTION "INTERLACE=OFF" END LAYER NAME "geo_r3_500K-1M" STATUS ON TYPE LINE CONNECTIONTYPE oraclespatial CONNECTION "user/pass at service" DATA "geom from geo_r3 using unique id srid 23030" MAXSCALEDENOM 749210 MINSCALEDENOM 149750 TRANSPARENCY 100 SIZEUNITS pixels DUMP TRUE PROJECTION "init=epsg:23030" END CLASS STYLE INCLUDE 'defs/roundedline.def' COLOR 170 170 170 WIDTH 5 END STYLE INCLUDE 'defs/roundedline.def' COLOR 255 255 115 WIDTH 2 END NAME "default" END METADATA "wms_title" "public.geo_r3_500K-1M" "wms_abstract" "Capa del Servicio WMS" "wms_extent" "-971136.125 3134652.25 1051167.75 4846924.0" "gml_include_items" "all" END PROCESSING "CLOSE_CONNECTION=DEFER" END # Layer END # Map File -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Oracle-layer-partially-drawn-tp5159828.html Sent from the Mapserver - User mailing list archive at Nabble.com. From jukka.rahkonen at mmmtike.fi Wed Sep 3 02:10:32 2014 From: jukka.rahkonen at mmmtike.fi (Rahkonen Jukka (Tike)) Date: Wed, 3 Sep 2014 09:10:32 +0000 Subject: [mapserver-users] Oracle layer partially drawn Message-ID: Hi, Could you have arcs in the linestrings in Oracle? I think that Mapserver supports only " Line string whose vertices are connected by straight line segments." http://docs.oracle.com/cd/B28359_01/appdev.111/b28400/sdo_objrelschema.htm#SPATL494 I am not sure, though, and our documents, which feels also party outdated, do not tell anything about curved geometries of Oracle http://mapserver.org/input/vector/oracle.html http://mapserver.org/installation/oracle.html If you have only straight lines in Oracle then the issue is somewhere else. -Jukka Rahkonen- Geograma wrote: > Hello, > > With MapServer for Windows (3.0.6 updated to MapServer 6.2.0-beta4), I?m > writing a ?.map? that uses data from an Oracle 11g schema. All looks OK but, > when a map is requested, only some features are drawn. In the log there is no > error or warning. Anybody knows what is happening? (any suggestion will be > appreciated) > > Attached are two images, one with the map that should be got (data in a PostGis > server), another with the map got from Oracle and the ?.map? used to generate > the second image. > > > > > > Tha ".map" file is as follows: > > MAP > NAME TEST > EXTENT -1450047 2763292 2122072 5658922 > SYMBOLSET "symbols.sym" > FONTSET "font.list" > LEGEND > IMAGECOLOR -1 -1 -1 > LABEL > FONT "vera" > ANGLE FOLLOW > COLOR 0 0 0 > ENCODING "UTF-8" > TYPE truetype > SIZE 8 > END > STATUS ON > TRANSPARENT ON > END > WEB > METADATA > "wms_encoding" "UTF-8" > "wms_title" "title" > "wms_abstract" "" > "wms_srs" "epsg:23030 epsg:4326" > "wms_enable_request" "*" > "wms_onlineresource" > "http://v-0049:8080/fcgi-bin/mapserv.exe?map=C:\\ms4w\\maps\\test.map" > labelcache_map_edge_buffer "-10" > END > END > PROJECTION > "init=epsg:23030" > END > > #CONFIG MS_ERRORFILE "c:\\ms4w_3_0_6\\maps\\logs\\test.log" > #DEBUG 5 > > IMAGECOLOR 153 179 204 > > OUTPUTFORMAT > NAME png > DRIVER "AGG/PNG" > MIMETYPE "image/png" > IMAGEMODE RGB > EXTENSION "png" > FORMATOPTION QUALITY=100 > FORMATOPTION "INTERLACE=OFF" > > END > > LAYER > NAME "geo_r3_500K-1M" > STATUS ON > TYPE LINE > CONNECTIONTYPE oraclespatial > CONNECTION "user/pass at service" > DATA "geom from geo_r3 using unique id srid 23030" > MAXSCALEDENOM 749210 > MINSCALEDENOM 149750 > TRANSPARENCY 100 > SIZEUNITS pixels > DUMP TRUE > PROJECTION > "init=epsg:23030" > END > CLASS > STYLE > INCLUDE 'defs/roundedline.def' > COLOR 170 170 170 > WIDTH 5 > END > STYLE > INCLUDE 'defs/roundedline.def' > COLOR 255 255 115 > WIDTH 2 > END > NAME "default" > END > METADATA > "wms_title" "public.geo_r3_500K-1M" > "wms_abstract" "Capa del Servicio WMS" > "wms_extent" "-971136.125 3134652.25 1051167.75 4846924.0" > "gml_include_items" "all" > END > PROCESSING "CLOSE_CONNECTION=DEFER" > END # Layer > END # Map File > > > > -- > View this message in context: http://osgeo-org.1560.x6.nabble.com/Oracle- > layer-partially-drawn-tp5159828.html > Sent from the Mapserver - User mailing list archive at Nabble.com. > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From amanero at geograma.com Wed Sep 3 02:23:28 2014 From: amanero at geograma.com (Geograma) Date: Wed, 3 Sep 2014 02:23:28 -0700 (PDT) Subject: [mapserver-users] Oracle layer partially drawn In-Reply-To: References: <1409733136117-5159828.post@n6.nabble.com> Message-ID: <1409736208125-5159840.post@n6.nabble.com> Hello Tike, Instead of checking for arcs, I got images with a point layer and the problem is also there, so I think that it could be a problem with the number of features to draw (too much?), but I do not know hoy to get the number of features drawn for the layer. The results of the point layer: PostGis: Oracle: -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Oracle-layer-partially-drawn-tp5159828p5159840.html Sent from the Mapserver - User mailing list archive at Nabble.com. From jukka.rahkonen at mmmtike.fi Wed Sep 3 02:57:04 2014 From: jukka.rahkonen at mmmtike.fi (Rahkonen Jukka (Tike)) Date: Wed, 3 Sep 2014 09:57:04 +0000 Subject: [mapserver-users] Oracle layer partially drawn Message-ID: Hi, Things to try: - Check by other means that your Oracle table really has all the data,. - Keep DEBUG 5 on. - Try if OGR connection gives the same result. - Debug OGR connection more by adding CONFIG "CPL_DEBUG" "ON". - Remove min/maxscaledenoms (even they do not cause the trouble, otherwise you would see nothing). - Transparency is deprecated, use opacity instead. - If TRANSPARENCY 100 works it would render totally transparent features and I wonder why you see anything. - Your wms_extent is more strict than extents of the whole mapfile, try if commenting it out is changing anything. - Recreate the spatial index in Oracle. - Check layer extents in Oracle from ALL_SDO_GEOM_METADATA - Start from the beginning by downloading some data from http://www.naturalearthdata.com/downloads/. Import data into Oracle with ogr2ogr and make a new layer from it. Write down everything you do. If you make the problem easy enough to reproduce it is possible that someone will pay some attention to it. -Jukka Rahkonen- Geograma wrote: > > Hello Tike, > > Instead of checking for arcs, I got images with a point layer and the problem is > also there, so I think that it could be a problem with the number of features to > draw (too much?), but I do not know hoy to get the number of features drawn > for the layer. > > The results of the point layer: > PostGis: > > > Oracle: > > > > > > -- > View this message in context: http://osgeo-org.1560.x6.nabble.com/Oracle- > layer-partially-drawn-tp5159828p5159840.html > Sent from the Mapserver - User mailing list archive at Nabble.com. > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From amanero at geograma.com Wed Sep 3 03:57:18 2014 From: amanero at geograma.com (Geograma) Date: Wed, 3 Sep 2014 03:57:18 -0700 (PDT) Subject: [mapserver-users] Oracle layer partially drawn In-Reply-To: References: <1409733136117-5159828.post@n6.nabble.com> Message-ID: <1409741838212-5159854.post@n6.nabble.com> Hello Tike, First, thanks for your help! - Checked that the layer has all the data (the same records in PostGis and Oracle). - DEBUG 5 is on - Cannot try ORG connection (it gives me an error, I do not know why) - Scaledoms, transparency, wms_extent and spatial index recreated in Oracle removed but no change - The test you suggested: ? Downloaded: http//www.naturalearthdata.com/download/10m/cultural/ne_10m_populated_places.zip ? Loaded info to Oracle using ogr2ogr -f oci oci:user/pass at orcl ne_10m_populated_places.shp ? New "NE_10M_POPULATED_PLACES.map", as follows: ------------------------------------------------------- MAP NAME TEST EXTENT -180 -90 180 90 SYMBOLSET "symbols.sym" FONTSET "fonts.txt" DEBUG ON LEGEND IMAGECOLOR -1 -1 -1 LABEL FONT "vera" ANGLE FOLLOW COLOR 0 0 0 ENCODING "UTF-8" TYPE truetype SIZE 8 END STATUS ON TRANSPARENT ON END WEB METADATA "wms_encoding" "UTF-8" "wms_title" "WMS" "wms_abstract" "" "wms_srs" "epsg:4326 epsg:23030" "wms_enable_request" "*" "wms_onlineresource" "http://v-0049:8080/fcgi-bin/mapserv.exe?map=C:\ms4w\maps\NE_10M_POPULATED_PLACES.map" labelcache_map_edge_buffer "-10" END END PROJECTION "init=epsg:4326" END CONFIG MS_ERRORFILE "c:\ms4w_3_0_6\maps\logs\NE_10M_POPULATED_PLACES.log" DEBUG 5 CONFIG "CPL_DEBUG" "ON" CONFIG "PROJ_DEBUG" "ON" IMAGECOLOR 153 179 204 OUTPUTFORMAT NAME png DRIVER "AGG/PNG" MIMETYPE "image/png" IMAGEMODE RGB EXTENSION "png" FORMATOPTION QUALITY=100 FORMATOPTION "INTERLACE=OFF" END LAYER NAME "NE_10M_POPULATED_PLACES" STATUS ON TYPE POINT CONNECTIONTYPE oraclespatial CONNECTION "FONDO_2014_06/FONDO_2014_06 at orcl" DATA "ora_geometry from NE_10M_POPULATED_PLACES using unique ogr_fid srid 4326" SIZEUNITS pixels LABELITEM "name" PROJECTION "init=epsg:4326" END TYPE truetype CLASS STYLE COLOR 254 0 0 SIZE 1 END SYMBOL "circle" NAME "default" LABEL FONT "arial" ANGLE 0 COLOR 0 0 0 TYPE truetype SIZE 10 POSITION Auto PARTIALS FALSE FORCE FALSE OUTLINECOLOR 254 254 254 END END METADATA "wms_title" "public.smaltown_point_500k" "wms_abstract" "Capa del Servicio WMS" #"wms_extent" "-180 -90 180 90" "wms_layer_group" "/TINSAMaps" "gml_include_items" "all" END PROCESSING "CLOSE_CONNECTION=DEFER" END # Layer END # Map File ------------------------------------------------------- ? Request made: http://v-0049:8081/fcgi-bin/mapserv.exe?map=C:\ms4w_3_0_6\maps\NE_10M_POPULATED_PLACES.map&LAYERS=NE_10M_POPULATED_PLACES&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FORMAT=image%2Fpng&SRS=EPSG%3A4326&BBOX=-180,-90,180,90&WIDTH=768&HEIGHT=384&d ? Log got: ------------------------------------------------------- [Wed Sep 03 12:57:47 2014].724000 CGI Request 1 on process 5764 [Wed Sep 03 12:57:47 2014].740000 msDrawMap(): rendering using outputformat named png (AGG/PNG). [Wed Sep 03 12:57:47 2014].740000 msOracleSpatialLayerOpen called with: ora_geometry from NE_10M_POPULATED_PLACES using unique ogr_fid srid 4326 (Layer pointer 02E88CB8) [Wed Sep 03 12:57:48 2014].490000 msOracleSpatialLayerOpen. Shared connection not available. Creating one. [Wed Sep 03 12:57:48 2014].490000 msConnPoolRegister(NE_10M_POPULATED_PLACES,user/pass at orcl,02EB1D08) [Wed Sep 03 12:57:48 2014].505000 msOracleSpatialLayerFreeItemInfo was called. [Wed Sep 03 12:57:48 2014].505000 msOracleSpatialLayerInitItemInfo was called. [Wed Sep 03 12:57:48 2014].505000 msOracleSpatialLayerWhichShapes was called. [Wed Sep 03 12:57:48 2014].505000 msOracleSpatialLayerWhichShapes. Using this Sql to retrieve the data: SELECT name, ogr_fid,rownum, ora_geometry FROM NE_10M_POPULATED_PLACES WHERE SDO_FILTER( ora_geometry, MDSYS.SDO_GEOMETRY(2003, :srid, NULL,MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,3),:ordinates ),'querytype=window') = 'TRUE' [Wed Sep 03 12:57:48 2014].505000 msOracleSpatialLayerWhichShapes. Bind values: srid:4326 minx:-179.765625 miny:-89.765625 maxx:179.765625 maxy:89.765625 [Wed Sep 03 12:57:48 2014].505000 msOracleSpatialLayerWhichShapes getting ordinate definition. [Wed Sep 03 12:57:48 2014].505000 msOracleSpatialLayerWhichShapes converting to OCIColl. [Wed Sep 03 12:57:48 2014].505000 msOracleSpatialLayerWhichShapes bind by name and object. [Wed Sep 03 12:57:48 2014].505000 msOracleSpatialLayerWhichShapes name and object now bound. [Wed Sep 03 12:57:48 2014].896000 msOracleSpatialLayerFreeItemInfo was called. [Wed Sep 03 12:57:48 2014].896000 msOracleSpatialLayerClose was called. Layer: 02E88CB8, Layer name: NE_10M_POPULATED_PLACES. Layer connection: user/pass at orcl [Wed Sep 03 12:57:48 2014].896000 msOracleSpatialLayerClose. Cleaning layerinfo handlers. [Wed Sep 03 12:57:48 2014].896000 msOracleSpatialLayerClose. Release the Oracle Pool. [Wed Sep 03 12:57:48 2014].896000 msConnPoolRelease(NE_10M_POPULATED_PLACES,user/pass at orcl,02EB1D08) [Wed Sep 03 12:57:48 2014].896000 msDrawLabelCache(): labelcache_map_edge_buffer = 10 [Wed Sep 03 12:57:49 2014].130000 msOracleSpatialLayerClose was called. Layer: 02E88CB8, Layer name: NE_10M_POPULATED_PLACES. Layer connection: user/pass at orcl ------------------------------------------------------- ? Image got: As you can see, the result is not correct. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Oracle-layer-partially-drawn-tp5159828p5159854.html Sent from the Mapserver - User mailing list archive at Nabble.com. From jukka.rahkonen at mmmtike.fi Wed Sep 3 04:29:37 2014 From: jukka.rahkonen at mmmtike.fi (Rahkonen Jukka (Tike)) Date: Wed, 3 Sep 2014 11:29:37 +0000 Subject: [mapserver-users] Oracle layer partially drawn Message-ID: Hi, For minimizing the possibility that it is some projection error, could you do the import again by adding -lco SRID=4326 into the ogr2ogr command? Drop the old table first and delete the corresponding row from ALL_SDO_GEOM_METADATA. -Jukka- > -----Alkuper?inen viesti----- > L?hett?j?: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users- > bounces at lists.osgeo.org] Puolesta Geograma > L?hetetty: 3. syyskuuta 2014 13:57 > Vastaanottaja: mapserver-users at lists.osgeo.org > Aihe: Re: [mapserver-users] Oracle layer partially drawn > > Hello Tike, > > First, thanks for your help! > > - Checked that the layer has all the data (the same records in PostGis and > Oracle). > - DEBUG 5 is on > - Cannot try ORG connection (it gives me an error, I do not know why) > - Scaledoms, transparency, wms_extent and spatial index recreated in Oracle > removed but no change > > - The test you suggested: > > ? Downloaded: > http//www.naturalearthdata.com/download/10m/cultural/ne_10m_populated_ > places.zip > ? Loaded info to Oracle using ogr2ogr -f oci oci:user/pass at orcl > ne_10m_populated_places.shp > ? New "NE_10M_POPULATED_PLACES.map", as follows: > ------------------------------------------------------- > MAP > NAME TEST > EXTENT -180 -90 180 90 > SYMBOLSET "symbols.sym" > FONTSET "fonts.txt" > DEBUG ON > LEGEND > IMAGECOLOR -1 -1 -1 > LABEL > FONT "vera" > ANGLE FOLLOW > COLOR 0 0 0 > ENCODING "UTF-8" > TYPE truetype > SIZE 8 > END > STATUS ON > TRANSPARENT ON > END > WEB > METADATA > "wms_encoding" "UTF-8" > "wms_title" "WMS" > "wms_abstract" "" > "wms_srs" "epsg:4326 epsg:23030" > "wms_enable_request" "*" > "wms_onlineresource" > "http://v-0049:8080/fcgi- > bin/mapserv.exe?map=C:\ms4w\maps\NE_10M_POPULATED_PLACES.map" > labelcache_map_edge_buffer "-10" > END > END > PROJECTION > "init=epsg:4326" > END > > CONFIG MS_ERRORFILE > "c:\ms4w_3_0_6\maps\logs\NE_10M_POPULATED_PLACES.log" > DEBUG 5 > CONFIG "CPL_DEBUG" "ON" > CONFIG "PROJ_DEBUG" "ON" > > IMAGECOLOR 153 179 204 > > OUTPUTFORMAT > NAME png > DRIVER "AGG/PNG" > MIMETYPE "image/png" > IMAGEMODE RGB > EXTENSION "png" > FORMATOPTION QUALITY=100 > FORMATOPTION "INTERLACE=OFF" > END > > LAYER > NAME "NE_10M_POPULATED_PLACES" > STATUS ON > TYPE POINT > CONNECTIONTYPE oraclespatial > CONNECTION "FONDO_2014_06/FONDO_2014_06 at orcl" > DATA "ora_geometry from NE_10M_POPULATED_PLACES using unique > ogr_fid srid 4326" > SIZEUNITS pixels > LABELITEM "name" > PROJECTION > "init=epsg:4326" > END > TYPE truetype > CLASS > STYLE > COLOR 254 0 0 > SIZE 1 > END > SYMBOL "circle" > NAME "default" > LABEL > FONT "arial" > ANGLE 0 > COLOR 0 0 0 > TYPE truetype > SIZE 10 > POSITION Auto > PARTIALS FALSE > FORCE FALSE > OUTLINECOLOR 254 254 254 > END > END > METADATA > "wms_title" "public.smaltown_point_500k" > "wms_abstract" "Capa del Servicio WMS" > #"wms_extent" "-180 -90 180 90" > "wms_layer_group" "/TINSAMaps" > "gml_include_items" "all" > END > PROCESSING "CLOSE_CONNECTION=DEFER" > END # Layer > > END # Map File > ------------------------------------------------------- > > ? Request made: > http://v-0049:8081/fcgi- > bin/mapserv.exe?map=C:\ms4w_3_0_6\maps\NE_10M_POPULATED_PLACES.m > ap&LAYERS=NE_10M_POPULATED_PLACES&TRANSPARENT=TRUE&SERVICE=W > MS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FORMAT=image%2Fpng&SR > S=EPSG%3A4326&BBOX=-180,-90,180,90&WIDTH=768&HEIGHT=384&d > > ? Log got: > ------------------------------------------------------- > [Wed Sep 03 12:57:47 2014].724000 CGI Request 1 on process 5764 [Wed Sep > 03 12:57:47 2014].740000 msDrawMap(): rendering using outputformat named > png (AGG/PNG). > [Wed Sep 03 12:57:47 2014].740000 msOracleSpatialLayerOpen called with: > ora_geometry from NE_10M_POPULATED_PLACES using unique ogr_fid srid > 4326 (Layer pointer 02E88CB8) [Wed Sep 03 12:57:48 2014].490000 > msOracleSpatialLayerOpen. Shared connection not available. Creating one. > [Wed Sep 03 12:57:48 2014].490000 > msConnPoolRegister(NE_10M_POPULATED_PLACES,user/pass at orcl,02EB1D08) > [Wed Sep 03 12:57:48 2014].505000 msOracleSpatialLayerFreeItemInfo was > called. > [Wed Sep 03 12:57:48 2014].505000 msOracleSpatialLayerInitItemInfo was > called. > [Wed Sep 03 12:57:48 2014].505000 msOracleSpatialLayerWhichShapes was > called. > [Wed Sep 03 12:57:48 2014].505000 msOracleSpatialLayerWhichShapes. Using > this Sql to retrieve the data: SELECT name, ogr_fid,rownum, ora_geometry > FROM NE_10M_POPULATED_PLACES WHERE SDO_FILTER( ora_geometry, > MDSYS.SDO_GEOMETRY(2003, :srid, > NULL,MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,3),:ordinates > ),'querytype=window') = 'TRUE' > [Wed Sep 03 12:57:48 2014].505000 msOracleSpatialLayerWhichShapes. Bind > values: srid:4326 minx:-179.765625 miny:-89.765625 maxx:179.765625 > maxy:89.765625 > [Wed Sep 03 12:57:48 2014].505000 msOracleSpatialLayerWhichShapes getting > ordinate definition. > [Wed Sep 03 12:57:48 2014].505000 msOracleSpatialLayerWhichShapes > converting to OCIColl. > [Wed Sep 03 12:57:48 2014].505000 msOracleSpatialLayerWhichShapes bind by > name and object. > [Wed Sep 03 12:57:48 2014].505000 msOracleSpatialLayerWhichShapes name > and object now bound. > [Wed Sep 03 12:57:48 2014].896000 msOracleSpatialLayerFreeItemInfo was > called. > [Wed Sep 03 12:57:48 2014].896000 msOracleSpatialLayerClose was called. > Layer: 02E88CB8, Layer name: NE_10M_POPULATED_PLACES. Layer > connection: > user/pass at orcl > [Wed Sep 03 12:57:48 2014].896000 msOracleSpatialLayerClose. Cleaning > layerinfo handlers. > [Wed Sep 03 12:57:48 2014].896000 msOracleSpatialLayerClose. Release the > Oracle Pool. > [Wed Sep 03 12:57:48 2014].896000 > msConnPoolRelease(NE_10M_POPULATED_PLACES,user/pass at orcl,02EB1D08) > [Wed Sep 03 12:57:48 2014].896000 msDrawLabelCache(): > labelcache_map_edge_buffer = 10 > [Wed Sep 03 12:57:49 2014].130000 msOracleSpatialLayerClose was called. > Layer: 02E88CB8, Layer name: NE_10M_POPULATED_PLACES. Layer > connection: > user/pass at orcl > ------------------------------------------------------- > > ? Image got: > > org.1560.x6.nabble.com/file/n5159854/NE_10M_POPULATED_PLACES.png> > > As you can see, the result is not correct. > > > > -- > View this message in context: http://osgeo-org.1560.x6.nabble.com/Oracle- > layer-partially-drawn-tp5159828p5159854.html > Sent from the Mapserver - User mailing list archive at Nabble.com. > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From nando_gcia at hotmail.com Wed Sep 3 05:11:01 2014 From: nando_gcia at hotmail.com (nando_gcia) Date: Wed, 3 Sep 2014 05:11:01 -0700 (PDT) Subject: [mapserver-users] Update mapserver in Ubuntu 12.04 Message-ID: <1409746261760-5159874.post@n6.nabble.com> Hi, I have Ubuntu Server 12.04 and I have installed Mapserver 6.0.1-2 with synaptic, but how I can upgrade to version 6.4.1-2? Thanks. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Update-mapserver-in-Ubuntu-12-04-tp5159874.html Sent from the Mapserver - User mailing list archive at Nabble.com. From jlarouche at mapgears.com Wed Sep 3 05:27:44 2014 From: jlarouche at mapgears.com (Jerome Villeneuve Larouche) Date: Wed, 03 Sep 2014 08:27:44 -0400 Subject: [mapserver-users] Update mapserver in Ubuntu 12.04 In-Reply-To: <1409746261760-5159874.post@n6.nabble.com> References: <1409746261760-5159874.post@n6.nabble.com> Message-ID: <54070940.4000303@mapgears.com> Hello, You can use the UbuntuGIS Launchpad repo, it has the latest Mapserver version. https://launchpad.net/~ubuntugis/+archive/ubuntu/ubuntugis-unstable On 14-09-03 08:11 AM, nando_gcia wrote: > Hi, I have Ubuntu Server 12.04 and I have installed Mapserver 6.0.1-2 with > synaptic, but how I can upgrade to version 6.4.1-2? Thanks. > > > > -- > View this message in context: http://osgeo-org.1560.x6.nabble.com/Update-mapserver-in-Ubuntu-12-04-tp5159874.html > Sent from the Mapserver - User mailing list archive at Nabble.com. > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users -- J?r?me Villeneuve Larouche www.mapgears.com From francesco.martinelli at pi.ingv.it Wed Sep 3 06:26:33 2014 From: francesco.martinelli at pi.ingv.it (Francesco Martinelli) Date: Wed, 03 Sep 2014 15:26:33 +0200 Subject: [mapserver-users] How to Mapserver 6.4 on Windows? Message-ID: <54071709.5080308@pi.ingv.it> Hi, I would like to install Mapserver 6.4.x on a Windows OS. What should I do? ... I immagine "recompile", but can someone post some more details on specific steps to follow. Thank you. From siki at agt.bme.hu Wed Sep 3 06:46:19 2014 From: siki at agt.bme.hu (Siki Zoltan) Date: Wed, 3 Sep 2014 15:46:19 +0200 (CEST) Subject: [mapserver-users] How to Mapserver 6.4 on Windows? In-Reply-To: <54071709.5080308@pi.ingv.it> References: <54071709.5080308@pi.ingv.it> Message-ID: Dear Francesco, you can download binary package from http://trac.osgeo.org/osgeo4w/ 6.4.1 is the latest stabil. You can download apache laso from there. Zoltan On Wed, 3 Sep 2014, Francesco Martinelli wrote: > Hi, > I would like to install Mapserver 6.4.x on a Windows OS. > What should I do? ... I immagine "recompile", > but can someone post some more details on specific steps to follow. > > Thank you. > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > From HSO at kmd.dk Wed Sep 3 06:41:58 2014 From: HSO at kmd.dk (=?iso-8859-1?Q?St=F8rner=2EHenrik_Juul_HSO?=) Date: Wed, 3 Sep 2014 13:41:58 +0000 Subject: [mapserver-users] How to Mapserver 6.4 on Windows? In-Reply-To: <54071709.5080308@pi.ingv.it> References: <54071709.5080308@pi.ingv.it> Message-ID: Hi, I did this recently on a 2012 R2 server, using IIS as the webserver. Based on some webpages found via Google I ended up with this procedure: Get http://www.gisinternals.com/sdk/PackageList.aspx?file=release-1600-x64-gdal-1-11-0-mapserver-6-4-1.zip (release version) Unzip release-1600-x64-gdal-1-11-0-mapserver-6-4-1.zip to c:\program files\mapserver Cop/move bin\ms\apps\mapserv.exe -> bin\ Copy/move bin\gdal\plugins\ -> bin\gdalplugins\ Moving gdal-plugins turned out to be necessary for the ECW plugin I needed to be picked up. IIS (see also https://github.com/mapserver/mapserver/wiki/Installing-Mapserver-under-IIS-7.n-with-FastCGI ) * Click Start, Control Panel, Programs, Turn Windows features on or off. * Select Internet Information Services. * Select Web Management Tools then select IIS Management Console. * Select World Wide Web Services * In Application development Features, select ASP, CGI, ISAPI Extensions, ISAPI Filters and Server-Side Includes. * In Common HTTP Features, select Default Document, HTTP Errors, HTTP Redirection and Static Content. * In Health and Diagnostics, select HTTP Logging and Request Monitor. * In Performance Features, select Static Content Compression. * In Security, select Request Filtering. Start IIS Manager * Highlight Default Web Site under Sites * Double-click ASP in the centre panel of IIS Manager and ensure the following are set: Enable Parent Paths * Click on Default Web Site then double-click Handler Mappings in the centre panel. * In the Actions Pane, click Add Module Mapping then set the following: * Request path: mapserv.exe * Module: FastCgiModule * Executable: "C:\Program Files\mapserver\bin\mapserv.exe" * Name: Mapserver via FastCGI * Click on Request Restrictions and set the following: * Mapping Tab: Check "Invoke handler ... ", then set for "File". * Verbs Tab: "One of the following ...", enter "GET,HEAD,POST". * Access Tab: Check "Execute". * Whilst the "Mapserver via FastCGI" handler mapping is highlighted, click on Edit feature permissions in the right hand panel then ensure that read, script and execute are checked. * Select Default Web Site and View Applications, then in Action Pane Add Application o Alias: mapserver o Application Pool: DefaultAppPool o Physical path: c:\Program Files\Mapserver\bin Test with the URL http://localhost/mapserver/mapserv.exe - it must return the error message " No query information to decode. QUERY_STRING is set, but empty." Now you need to setup your map-files and source data, but this should at least get your Mapserver installation up and running. Regards, Henrik St?rner -----Oprindelig meddelelse----- Fra: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] P? vegne af Francesco Martinelli Sendt: 3. september 2014 15:27 Til: mapserver-users at lists.osgeo.org Emne: [mapserver-users] How to Mapserver 6.4 on Windows? Hi, I would like to install Mapserver 6.4.x on a Windows OS. What should I do? ... I immagine "recompile", but can someone post some more details on specific steps to follow. Thank you. _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users Vi g?r opm?rksom p?, at denne e-mail kan indeholde fortrolig information. Hvis du ved en fejltagelse modtager e-mailen, beder vi dig venligst informere afsender om fejlen ved at bruge svarfunktionen. Samtidig beder vi dig slette e-mailen i dit system uden at videresende eller kopiere den. Selvom e-mailen og ethvert vedh?ftet bilag efter vores overbevisning er fri for virus og andre fejl, som kan p?virke computeren eller it-systemet, hvori den modtages og l?ses, ?bnes den p? modtagerens eget ansvar. Vi p?tager os ikke noget ansvar for tab og skade, som er opst?et i forbindelse med at modtage og bruge e-mailen. Please note that this message may contain confidential information. If you have received this message by mistake, please inform the sender of the mistake by sending a reply, then delete the message from your system without making, distributing or retaining any copies of it. Although we believe that the message and any attachments are free from viruses and other errors that might affect the computer or it-system where it is received and read, the recipient opens the message at his or her own risk. We assume no responsibility for any loss or damage arising from the receipt or use of this message. From traffin at sirap.fr Wed Sep 3 06:56:25 2014 From: traffin at sirap.fr (Thomas RAFFIN) Date: Wed, 03 Sep 2014 15:56:25 +0200 Subject: [mapserver-users] How to Mapserver 6.4 on Windows? In-Reply-To: References: <54071709.5080308@pi.ingv.it> Message-ID: <54071E09.1000808@sirap.fr> Hi, Does this version contain PHP Mapscript? Thanks Thomas Le 03/09/2014 15:46, Siki Zoltan a ?crit : > Dear Francesco, > > you can download binary package from http://trac.osgeo.org/osgeo4w/ > 6.4.1 is the latest stabil. You can download apache laso from there. > > Zoltan > > On Wed, 3 Sep 2014, Francesco Martinelli wrote: > >> Hi, >> I would like to install Mapserver 6.4.x on a Windows OS. >> What should I do? ... I immagine "recompile", >> but can someone post some more details on specific steps to follow. >> >> Thank you. >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > -- Thomas RAFFIN Chef de Projet Internet traffin at sirap.fr Sirap Tel : 04 75 72 84 10 Fax : 04 75 70 07 98 Rue Paul Louis H?roult - BP 253 26106 Romans cedex -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: jaejbhca.png Type: image/png Size: 5943 bytes Desc: not available URL: From amanero at geograma.com Wed Sep 3 08:22:49 2014 From: amanero at geograma.com (Geograma) Date: Wed, 3 Sep 2014 08:22:49 -0700 (PDT) Subject: [mapserver-users] Oracle layer partially drawn In-Reply-To: References: <1409733136117-5159828.post@n6.nabble.com> Message-ID: <1409757769181-5159914.post@n6.nabble.com> Hello, I'm sorry for the delay. I made what you asked but the problem is still there, only different points are shown this time. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Oracle-layer-partially-drawn-tp5159828p5159914.html Sent from the Mapserver - User mailing list archive at Nabble.com. From jlapointe at mapgears.com Wed Sep 3 10:22:56 2014 From: jlapointe at mapgears.com (Jessica Lapointe) Date: Wed, 3 Sep 2014 13:22:56 -0400 Subject: [mapserver-users] ScribeUI: MapServer Mapfile Development Made Easy Version 1.2 Message-ID: Hi list! The 2014 Google Summer of Code has ended, and this summer's changes are available in the new 1.2 release of ScribeUI! You can download this new release on ScribeUI's github [1]. What's new? ------------------ - The javascript got some major makeover - The plugins are nicely working again, and even more flexible then before! A tutorial is available for anyone wanting to add new features to ScribeUI! [2] - Lots of bugfixes such as: - Group reordering dialog now supports multiple selection - The editor runs much smoother when working in large mapfiles - The layer groups are not hard-coded anymore, the front-end now detects the map name and requests it instead of the previously used "default" group. - You can now delete POIs! - Fixed some annoying with the POIs and zoom levels that caused the map to crash. - And others! This update is available on the demo server [3] (don't hesitate to create new workspaces and maps as everything resets once a day). This summer allowed a lot of bugfixes to be made for ScribeUI, which is in line with our initial goal to make it as stable as possible. My co-mentor for this project, Julien-Samuel Lacroix, will be presenting ScribeUI at the FOSS4G, we hope a lot of people will attend his presentation! Thanks a lot to the users who opened issues or left feedback this summer! [1] Download the release: https://github.com/mapgears/scribeui/releases/tag/v1.2 [2] Plugin creation tutorial: http://scribeui.org/plugin-creation.html [3] Demo: http://demo.scribeui.org/ Jessica Lapointe -------------- next part -------------- An HTML attachment was scrubbed... URL: From siki at agt.bme.hu Wed Sep 3 14:10:25 2014 From: siki at agt.bme.hu (Siki Zoltan) Date: Wed, 3 Sep 2014 23:10:25 +0200 (CEST) Subject: [mapserver-users] How to Mapserver 6.4 on Windows? In-Reply-To: <54071E09.1000808@sirap.fr> References: <54071709.5080308@pi.ingv.it> <54071E09.1000808@sirap.fr> Message-ID: yes On Wed, 3 Sep 2014, Thomas RAFFIN wrote: > Hi, > > Does this version contain PHP Mapscript? > > Thanks > > Thomas > > Le 03/09/2014 15:46, Siki Zoltan a ?crit : >> Dear Francesco, >> >> you can download binary package from http://trac.osgeo.org/osgeo4w/ >> 6.4.1 is the latest stabil. You can download apache laso from there. >> >> Zoltan >> >> On Wed, 3 Sep 2014, Francesco Martinelli wrote: >> >>> Hi, >>> I would like to install Mapserver 6.4.x on a Windows OS. >>> What should I do? ... I immagine "recompile", >>> but can someone post some more details on specific steps to follow. >>> >>> Thank you. >>> _______________________________________________ >>> mapserver-users mailing list >>> mapserver-users at lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> > > -- > > > Thomas RAFFIN > Chef de Projet Internet > traffin at sirap.fr Sirap > Tel : 04 75 72 84 10 > Fax : 04 75 70 07 98 > Rue Paul Louis H?roult - BP 253 > 26106 Romans cedex > > From oliver.christen at camptocamp.com Thu Sep 4 01:48:37 2014 From: oliver.christen at camptocamp.com (Oliver Christen) Date: Thu, 04 Sep 2014 10:48:37 +0200 Subject: [mapserver-users] how to make symbol rotate with the map? Message-ID: <54082765.10500@camptocamp.com> dear all I need to make a symbol rotate with the map, i.e. if my symbol has an angle of 45? and the map is rotated by, let say, 10?, the symbol angle should be 55? to keep it's orientation relative to the map itself. at the moment the only way I see is to dynamically set in my database the angle values to be used for the symbol calculated from the angle of the map selected by the user (which is totally dynamic, not a configured value), and that's horrendously annoying as I would have to dynamically set the data value for the given layer so it use the dynamically generated angles values. is there any other way to make a symbol angle follow the map rotation ? thanks for reading best regards Oliver -- Camptocamp SA Oliver Christen PSE A, EPFL CH-1015 Lausanne www.camptocamp.com +41 21 619 10 23 (direct) +41 21 619 10 10 (centrale) +41 21 619 10 00 (fax) From sollyvuso at gmail.com Thu Sep 4 02:42:18 2014 From: sollyvuso at gmail.com (Solly Vuso) Date: Thu, 4 Sep 2014 11:42:18 +0200 Subject: [mapserver-users] How to Mapserver 6.4 on Windows? In-Reply-To: References: <54071709.5080308@pi.ingv.it> <54071E09.1000808@sirap.fr> Message-ID: Does this version contains MSSQL connection? On 03 Sep 2014 11:10 PM, "Siki Zoltan" wrote: > > yes > > On Wed, 3 Sep 2014, Thomas RAFFIN wrote: > > Hi, >> >> Does this version contain PHP Mapscript? >> >> Thanks >> >> Thomas >> >> Le 03/09/2014 15:46, Siki Zoltan a ?crit : >> >>> Dear Francesco, >>> >>> you can download binary package from http://trac.osgeo.org/osgeo4w/ >>> 6.4.1 is the latest stabil. You can download apache laso from there. >>> >>> Zoltan >>> >>> On Wed, 3 Sep 2014, Francesco Martinelli wrote: >>> >>> Hi, >>>> I would like to install Mapserver 6.4.x on a Windows OS. >>>> What should I do? ... I immagine "recompile", >>>> but can someone post some more details on specific steps to follow. >>>> >>>> Thank you. >>>> _______________________________________________ >>>> mapserver-users mailing list >>>> mapserver-users at lists.osgeo.org >>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>>> >>>> _______________________________________________ >>> mapserver-users mailing list >>> mapserver-users at lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>> >>> >>> >> -- >> >> >> Thomas RAFFIN >> Chef de Projet Internet >> traffin at sirap.fr Sirap >> Tel : 04 75 72 84 10 >> Fax : 04 75 70 07 98 >> Rue Paul Louis H?roult - BP 253 >> 26106 Romans cedex >> >> > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Andreas.Eichner at sid.sachsen.de Thu Sep 4 04:28:11 2014 From: Andreas.Eichner at sid.sachsen.de (Eichner, Andreas - SID) Date: Thu, 4 Sep 2014 11:28:11 +0000 Subject: [mapserver-users] Oracle layer partially drawn In-Reply-To: <1409741838212-5159854.post@n6.nabble.com> References: <1409733136117-5159828.post@n6.nabble.com> <1409741838212-5159854.post@n6.nabble.com> Message-ID: <6F331135492B944D90731CE93743D5680A7005@FS-EX-DB101.fs.sachsen.de> Have you checked that the row of the SDO_COORD_REF_SYS table with SRID=23030 really represents EPSG:23030? In our case for example we use SRID=82032 which represents EPSG:31468. > -----Urspr?ngliche Nachricht----- > Von: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users- > bounces at lists.osgeo.org] Im Auftrag von Geograma > Gesendet: Mittwoch, 3. September 2014 12:57 > An: mapserver-users at lists.osgeo.org > Betreff: Re: [mapserver-users] Oracle layer partially drawn > > Hello Tike, > > First, thanks for your help! > > - Checked that the layer has all the data (the same records in PostGis and > Oracle). > - DEBUG 5 is on > - Cannot try ORG connection (it gives me an error, I do not know why) > - Scaledoms, transparency, wms_extent and spatial index recreated in > Oracle > removed but no change > > - The test you suggested: > > ? Downloaded: > http//www.naturalearthdata.com/download/10m/cultural/ne_10m_populated_plac > es.zip > ? Loaded info to Oracle using ogr2ogr -f oci oci:user/pass at orcl > ne_10m_populated_places.shp > ? New "NE_10M_POPULATED_PLACES.map", as follows: > ------------------------------------------------------- > MAP > NAME TEST > EXTENT -180 -90 180 90 > SYMBOLSET "symbols.sym" > FONTSET "fonts.txt" > DEBUG ON > LEGEND > IMAGECOLOR -1 -1 -1 > LABEL > FONT "vera" > ANGLE FOLLOW > COLOR 0 0 0 > ENCODING "UTF-8" > TYPE truetype > SIZE 8 > END > STATUS ON > TRANSPARENT ON > END > WEB > METADATA > "wms_encoding" "UTF-8" > "wms_title" "WMS" > "wms_abstract" "" > "wms_srs" "epsg:4326 epsg:23030" > "wms_enable_request" "*" > "wms_onlineresource" > "http://v-0049:8080/fcgi- > bin/mapserv.exe?map=C:\ms4w\maps\NE_10M_POPULATED_PLACES.map" > labelcache_map_edge_buffer "-10" > END > END > PROJECTION > "init=epsg:4326" > END > > CONFIG MS_ERRORFILE > "c:\ms4w_3_0_6\maps\logs\NE_10M_POPULATED_PLACES.log" > DEBUG 5 > CONFIG "CPL_DEBUG" "ON" > CONFIG "PROJ_DEBUG" "ON" > > IMAGECOLOR 153 179 204 > > OUTPUTFORMAT > NAME png > DRIVER "AGG/PNG" > MIMETYPE "image/png" > IMAGEMODE RGB > EXTENSION "png" > FORMATOPTION QUALITY=100 > FORMATOPTION "INTERLACE=OFF" > END > > LAYER > NAME "NE_10M_POPULATED_PLACES" > STATUS ON > TYPE POINT > CONNECTIONTYPE oraclespatial > CONNECTION "FONDO_2014_06/FONDO_2014_06 at orcl" > DATA "ora_geometry from NE_10M_POPULATED_PLACES using unique ogr_fid > srid 4326" > SIZEUNITS pixels > LABELITEM "name" > PROJECTION > "init=epsg:4326" > END > TYPE truetype > CLASS > STYLE > COLOR 254 0 0 > SIZE 1 > END > SYMBOL "circle" > NAME "default" > LABEL > FONT "arial" > ANGLE 0 > COLOR 0 0 0 > TYPE truetype > SIZE 10 > POSITION Auto > PARTIALS FALSE > FORCE FALSE > OUTLINECOLOR 254 254 254 > END > END > METADATA > "wms_title" "public.smaltown_point_500k" > "wms_abstract" "Capa del Servicio WMS" > #"wms_extent" "-180 -90 180 90" > "wms_layer_group" "/TINSAMaps" > "gml_include_items" "all" > END > PROCESSING "CLOSE_CONNECTION=DEFER" > END # Layer > > END # Map File > ------------------------------------------------------- > > ? Request made: > http://v-0049:8081/fcgi- > bin/mapserv.exe?map=C:\ms4w_3_0_6\maps\NE_10M_POPULATED_PLACES.map&LAYERS= > NE_10M_POPULATED_PLACES&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST > =GetMap&STYLES=&FORMAT=image%2Fpng&SRS=EPSG%3A4326&BBOX=-180,- > 90,180,90&WIDTH=768&HEIGHT=384&d > > ? Log got: > ------------------------------------------------------- > [Wed Sep 03 12:57:47 2014].724000 CGI Request 1 on process 5764 > [Wed Sep 03 12:57:47 2014].740000 msDrawMap(): rendering using > outputformat > named png (AGG/PNG). > [Wed Sep 03 12:57:47 2014].740000 msOracleSpatialLayerOpen called with: > ora_geometry from NE_10M_POPULATED_PLACES using unique ogr_fid srid 4326 > (Layer pointer 02E88CB8) > [Wed Sep 03 12:57:48 2014].490000 msOracleSpatialLayerOpen. Shared > connection not available. Creating one. > [Wed Sep 03 12:57:48 2014].490000 > msConnPoolRegister(NE_10M_POPULATED_PLACES,user/pass at orcl,02EB1D08) > [Wed Sep 03 12:57:48 2014].505000 msOracleSpatialLayerFreeItemInfo was > called. > [Wed Sep 03 12:57:48 2014].505000 msOracleSpatialLayerInitItemInfo was > called. > [Wed Sep 03 12:57:48 2014].505000 msOracleSpatialLayerWhichShapes was > called. > [Wed Sep 03 12:57:48 2014].505000 msOracleSpatialLayerWhichShapes. Using > this Sql to retrieve the data: SELECT name, ogr_fid,rownum, ora_geometry > FROM NE_10M_POPULATED_PLACES WHERE SDO_FILTER( ora_geometry, > MDSYS.SDO_GEOMETRY(2003, :srid, > NULL,MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,3),:ordinates ),'querytype=window') > = > 'TRUE' > [Wed Sep 03 12:57:48 2014].505000 msOracleSpatialLayerWhichShapes. Bind > values: srid:4326 minx:-179.765625 miny:-89.765625 maxx:179.765625 > maxy:89.765625 > [Wed Sep 03 12:57:48 2014].505000 msOracleSpatialLayerWhichShapes getting > ordinate definition. > [Wed Sep 03 12:57:48 2014].505000 msOracleSpatialLayerWhichShapes > converting > to OCIColl. > [Wed Sep 03 12:57:48 2014].505000 msOracleSpatialLayerWhichShapes bind by > name and object. > [Wed Sep 03 12:57:48 2014].505000 msOracleSpatialLayerWhichShapes name and > object now bound. > [Wed Sep 03 12:57:48 2014].896000 msOracleSpatialLayerFreeItemInfo was > called. > [Wed Sep 03 12:57:48 2014].896000 msOracleSpatialLayerClose was called. > Layer: 02E88CB8, Layer name: NE_10M_POPULATED_PLACES. Layer connection: > user/pass at orcl > [Wed Sep 03 12:57:48 2014].896000 msOracleSpatialLayerClose. Cleaning > layerinfo handlers. > [Wed Sep 03 12:57:48 2014].896000 msOracleSpatialLayerClose. Release the > Oracle Pool. > [Wed Sep 03 12:57:48 2014].896000 > msConnPoolRelease(NE_10M_POPULATED_PLACES,user/pass at orcl,02EB1D08) > [Wed Sep 03 12:57:48 2014].896000 msDrawLabelCache(): > labelcache_map_edge_buffer = 10 > [Wed Sep 03 12:57:49 2014].130000 msOracleSpatialLayerClose was called. > Layer: 02E88CB8, Layer name: NE_10M_POPULATED_PLACES. Layer connection: > user/pass at orcl > ------------------------------------------------------- > > ? Image got: > > org.1560.x6.nabble.com/file/n5159854/NE_10M_POPULATED_PLACES.png> > > As you can see, the result is not correct. > > > > -- > View this message in context: http://osgeo-org.1560.x6.nabble.com/Oracle- > layer-partially-drawn-tp5159828p5159854.html > Sent from the Mapserver - User mailing list archive at Nabble.com. > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From sollyvuso at gmail.com Thu Sep 4 04:45:53 2014 From: sollyvuso at gmail.com (Solly Vuso) Date: Thu, 4 Sep 2014 13:45:53 +0200 Subject: [mapserver-users] The requested URL was not found In-Reply-To: References: Message-ID: Dear Mapservers I was installing MS4W and apache run perfectly until I unzip the application to apache . Apache shows that there is one application running and when I open it the message was the url was not found; Can someone please assist me on how to solve this Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmckenna at gatewaygeomatics.com Thu Sep 4 05:03:53 2014 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Thu, 04 Sep 2014 09:03:53 -0300 Subject: [mapserver-users] The requested URL was not found In-Reply-To: References: Message-ID: <54085529.1090905@gatewaygeomatics.com> On 2014-09-04 8:45 AM, Solly Vuso wrote: > Dear Mapservers > > I was installing MS4W and apache run perfectly until I unzip the > application to apache . Apache shows that there is one application > running and when I open it the message was the url was not found; > > Can someone please assist me on how to solve this > > Thank you > > I usually recommend placing your applications for MS4W in the folder: /ms4w/apps/ Then you can create a small .conf file in /ms4w/httpd.d (see that folder for examples), and restart your Apache service. -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ From sollyvuso at gmail.com Thu Sep 4 05:08:18 2014 From: sollyvuso at gmail.com (Solly Vuso) Date: Thu, 4 Sep 2014 14:08:18 +0200 Subject: [mapserver-users] The requested URL was not found In-Reply-To: <54085529.1090905@gatewaygeomatics.com> References: <54085529.1090905@gatewaygeomatics.com> Message-ID: Thank you Jeff I will try it On 04 Sep 2014 2:04 PM, "Jeff McKenna" wrote: > On 2014-09-04 8:45 AM, Solly Vuso wrote: > >> Dear Mapservers >> >> I was installing MS4W and apache run perfectly until I unzip the >> application to apache . Apache shows that there is one application >> running and when I open it the message was the url was not found; >> >> Can someone please assist me on how to solve this >> >> Thank you >> >> >> > I usually recommend placing your applications for MS4W in the folder: > /ms4w/apps/ > > Then you can create a small .conf file in /ms4w/httpd.d (see that folder > for examples), and restart your Apache service. > > -jeff > > > -- > Jeff McKenna > MapServer Consulting and Training Services > http://www.gatewaygeomatics.com/ > > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From oliver.christen at camptocamp.com Thu Sep 4 05:28:11 2014 From: oliver.christen at camptocamp.com (Oliver Christen) Date: Thu, 04 Sep 2014 14:28:11 +0200 Subject: [mapserver-users] how to make symbol rotate with the map? In-Reply-To: <54082765.10500@camptocamp.com> References: <54082765.10500@camptocamp.com> Message-ID: <54085ADB.2010607@camptocamp.com> a bit easier way to do it is to use mapserver substitution to recover the map angle and calculate the final angle value directly in the postgres data string : DATA "geom FROM (SELECT ..., (%map_angle%::float+angle)*-1 AS angle FROM table WHERE condition) as foo USING UNIQUE id USING srid=21781" ... METADATA ... "default_map_angle" "0" "map_angle_validation_pattern" "[0-9.\-]*" # for map angle END CLASS STYLE SYMBOL 'bla.png' SIZE 120.0 ANGLE [angle] OFFSET 0 60.000000 END END maybe there is an even easier way to do it? > dear all > > I need to make a symbol rotate with the map, i.e. if my symbol has an > angle of 45? and the map is rotated by, let say, 10?, the symbol angle > should be 55? to keep it's orientation relative to the map itself. > > at the moment the only way I see is to dynamically set in my database > the angle values to be used for the symbol calculated from the angle > of the map selected by the user (which is totally dynamic, not a > configured value), and that's horrendously annoying as I would have to > dynamically set the data value for the given layer so it use the > dynamically generated angles values. > > is there any other way to make a symbol angle follow the map rotation ? > > thanks for reading > best regards > Oliver > -- Camptocamp SA Oliver Christen PSE A, EPFL CH-1015 Lausanne www.camptocamp.com +41 21 619 10 23 (direct) +41 21 619 10 10 (centrale) +41 21 619 10 00 (fax) From amanero at geograma.com Thu Sep 4 07:09:28 2014 From: amanero at geograma.com (Geograma) Date: Thu, 4 Sep 2014 07:09:28 -0700 (PDT) Subject: [mapserver-users] Oracle layer partially drawn In-Reply-To: <6F331135492B944D90731CE93743D5680A7005@FS-EX-DB101.fs.sachsen.de> References: <1409733136117-5159828.post@n6.nabble.com> <1409741838212-5159854.post@n6.nabble.com> <6F331135492B944D90731CE93743D5680A7005@FS-EX-DB101.fs.sachsen.de> Message-ID: <1409839768725-5160130.post@n6.nabble.com> Hello Andreas, Check made with 23030 and 4326 (used with the other shape that I downloaded). They are the correct SRIDs. Thanks! -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Oracle-layer-partially-drawn-tp5159828p5160130.html Sent from the Mapserver - User mailing list archive at Nabble.com. From siki at agt.bme.hu Thu Sep 4 13:42:25 2014 From: siki at agt.bme.hu (Siki Zoltan) Date: Thu, 4 Sep 2014 22:42:25 +0200 (CEST) Subject: [mapserver-users] How to Mapserver 6.4 on Windows? In-Reply-To: References: <54071709.5080308@pi.ingv.it> <54071E09.1000808@sirap.fr> Message-ID: try mapserv -v command, it will list all the supported drivers. Another possible source of mapserver binaries is http://www.gisinternals.com it is compiled with mssql (as I read in the package info). Zoltan On Thu, 4 Sep 2014, Solly Vuso wrote: > Does this version contains MSSQL connection? > On 03 Sep 2014 11:10 PM, "Siki Zoltan" wrote: > >> >> yes >> >> On Wed, 3 Sep 2014, Thomas RAFFIN wrote: >> >> Hi, >>> >>> Does this version contain PHP Mapscript? >>> >>> Thanks >>> >>> Thomas >>> >>> Le 03/09/2014 15:46, Siki Zoltan a ?crit : >>> >>>> Dear Francesco, >>>> >>>> you can download binary package from http://trac.osgeo.org/osgeo4w/ >>>> 6.4.1 is the latest stabil. You can download apache laso from there. >>>> >>>> Zoltan >>>> >>>> On Wed, 3 Sep 2014, Francesco Martinelli wrote: >>>> >>>> Hi, >>>>> I would like to install Mapserver 6.4.x on a Windows OS. >>>>> What should I do? ... I immagine "recompile", >>>>> but can someone post some more details on specific steps to follow. >>>>> >>>>> Thank you. >>>>> _______________________________________________ >>>>> mapserver-users mailing list >>>>> mapserver-users at lists.osgeo.org >>>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>>>> >>>>> _______________________________________________ >>>> mapserver-users mailing list >>>> mapserver-users at lists.osgeo.org >>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>>> >>>> >>>> >>> -- >>> >>> >>> Thomas RAFFIN >>> Chef de Projet Internet >>> traffin at sirap.fr Sirap >>> Tel : 04 75 72 84 10 >>> Fax : 04 75 70 07 98 >>> Rue Paul Louis H?roult - BP 253 >>> 26106 Romans cedex >>> >>> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> > From alexandre.saunier at camptocamp.com Fri Sep 5 03:50:37 2014 From: alexandre.saunier at camptocamp.com (Alexandre Saunier) Date: Fri, 5 Sep 2014 12:50:37 +0200 Subject: [mapserver-users] Parens making GetFeature crash with Mapserver 7 Message-ID: Hi, I am testing the coming Mapserver 7 and have noticed that WFS GetFeature requests crash when using parens in a property value filter. Actually only the opening paren seems to be a problem, not the closing one. For instance: nom*foo* works as expected, whereas nom*foo (bar)* returns msWFSGetFeature(): WFS server error. Wrong number of filter elements, one filter must be specified for each feature type listed in the TYPENAME parameter. Both requests work fine with Mapserver 6.0.1. Is it a known problem with Mapserver 7? No idea if this happens with intermediate Mapserver versions. I have found no issue about that on Mapserver's github. Thanks, Alexandre -------------- next part -------------- An HTML attachment was scrubbed... URL: From kirandziskig at gmail.com Fri Sep 5 04:13:31 2014 From: kirandziskig at gmail.com (gorank) Date: Fri, 5 Sep 2014 04:13:31 -0700 (PDT) Subject: [mapserver-users] Unicode class labels and text in mapserver mapfile Message-ID: <1409915611647-5160316.post@n6.nabble.com> I would like to use Cyrillic font (Unicode) for class labels for GetLegendGraphic and copyright. When I change the mapfile with unicode text (for class labels) and tried to save it, there is message that the file contains characters different of Latin. When I save the file as Unicode, in Open Layers I can't see the map. If I change text back to Latin and save as ANSI code then the map is shown in OpenLayers. How to solve the problem? I use ms4w with Mapserver version 6.0 (the last version available on Maptools.org). -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Unicode-class-labels-and-text-in-mapserver-mapfile-tp5160316.html Sent from the Mapserver - User mailing list archive at Nabble.com. From ludwig at kni-online.de Fri Sep 5 14:15:11 2014 From: ludwig at kni-online.de (Ludwig Kniprath) Date: Fri, 05 Sep 2014 23:15:11 +0200 Subject: [mapserver-users] How to Mapserver 6.4 on Windows? In-Reply-To: References: Message-ID: <540A27DF.5010707@kni-online.de> Am 04.09.2014 um 14:04 schrieb mapserver-users-request at lists.osgeo.org: > Message: 1 > Date: Wed, 3 Sep 2014 23:10:25 +0200 (CEST) > From: Siki Zoltan > To: Thomas RAFFIN > Cc:mapserver-users at lists.osgeo.org > Subject: Re: [mapserver-users] How to Mapserver 6.4 on Windows? > Message-ID: > Content-Type: text/plain; charset="iso-8859-2"; Format="flowed" > > > yes > > On Wed, 3 Sep 2014, Thomas RAFFIN wrote: > >> >Hi, >> > >> >Does this version contain PHP Mapscript? >> > >> >Thanks >> > >> >Thomas >> > >> >Le 03/09/2014 15:46, Siki Zoltan a ?crit : >>> >>Dear Francesco, >>> >> >>> >>you can download binary package fromhttp://trac.osgeo.org/osgeo4w/ >>> >>6.4.1 is the latest stabil. You can download apache laso from there. >>> >> >>> >>Zoltan >>> >> >>> >>On Wed, 3 Sep 2014, Francesco Martinelli wrote: >>> >> >>>> >>>Hi, >>>> >>>I would like to install Mapserver 6.4.x on a Windows OS. >>>> >>>What should I do? ... I immagine "recompile", >>>> >>>but can someone post some more details on specific steps to follow. >>>> >>> >>>> >>>Thank you. >>>> >>>_______________________________________________ >>>> >>>mapserver-users mailing list >>>> >>>mapserver-users at lists.osgeo.org >>>> >>>http://lists.osgeo.org/mailman/listinfo/mapserver-users >>>> >>> >>> >>_______________________________________________ >>> >>mapserver-users mailing list >>> >>mapserver-users at lists.osgeo.org >>> >>http://lists.osgeo.org/mailman/listinfo/mapserver-users >>> >> >>> >> >> > >> >-- >> > >> > >> >Thomas RAFFIN >> >Chef de Projet Internet >> >traffin at sirap.fr Sirap >> >Tel : 04 75 72 84 10 >> >Fax : 04 75 70 07 98 >> >Rue Paul Louis H?roult - BP 253 >> >26106 Romans cedex >> > >> > Sorry, but there is no PHP-Mapscript for 64-bit-osgeo4w and a very old Version for 32 bit (MapServer version 5.6.6, Revision: 10204 $ $Date: 2010-06-02). By the way, the "newest" version of the ms4w-package is more then two years old, this "great product" is dead: "The latest release of MS4W is version 3.0.6 (May 26, 2012). Download now!" and that's no joke... Compile your own windows-version (I don't know how) or try linux... Ludwig From jmckenna at gatewaygeomatics.com Fri Sep 5 14:36:23 2014 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Fri, 05 Sep 2014 18:36:23 -0300 Subject: [mapserver-users] How to Mapserver 6.4 on Windows? In-Reply-To: <540A27DF.5010707@kni-online.de> References: <540A27DF.5010707@kni-online.de> Message-ID: <540A2CD7.5060409@gatewaygeomatics.com> Yes MS4W is a great product, and, maybe those who relied on it all those years, almost decades now, can now see that clearly. I can tell you that my business, Gateway Geomatics, devotes much time to this product. I have done several custom builds lately for organizations, and yes that will help build the enterprise version for ms4w.com If you cannot wait for that you can always contact me directly. The good news is that there are now several alternatives as well. Unfortunately making harmful statements on the Internet won't help, but that is your right to do so. Thanks again, and talk soon, -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ On 2014-09-05 6:15 PM, Ludwig Kniprath wrote: >>> > > Sorry, but there is no PHP-Mapscript for 64-bit-osgeo4w and a very old > Version for 32 bit (MapServer version 5.6.6, Revision: 10204 $ $Date: > 2010-06-02). > > By the way, the "newest" version of the ms4w-package is more then two > years old, this "great product" is dead: > "The latest release of MS4W is version 3.0.6 (May 26, 2012). Download now!" > and that's no joke... > > Compile your own windows-version (I don't know how) or try linux... > > Ludwig > > From ludwig at kni-online.de Sun Sep 7 06:55:57 2014 From: ludwig at kni-online.de (Ludwig Kniprath) Date: Sun, 07 Sep 2014 15:55:57 +0200 Subject: [mapserver-users] How to Mapserver 6.4 on Windows? In-Reply-To: References: Message-ID: <540C63ED.3090405@kni-online.de> Sigh...never send mails with angry minds, sorry! It's hard for windows-users to be part of the mapserver-community, when the available binaries are partially so far behind state of development. We relied on ms4w, and it *was* a great product, many thanks to Gateway and Jeff, but after each new mapserver/apache/php/windows...version I had the question "How to Mapserver xxxxxx on Windows?". Anyway, after these experiences we decided to rely on Linux in future. Ludwig > Yes MS4W is a great product, and, maybe those who relied on it all those > years, almost decades now, can now see that clearly. I can tell you > that my business, Gateway Geomatics, devotes much time to this product. > I have done several custom builds lately for organizations, and yes > that will help build the enterprise version for ms4w.com > > If you cannot wait for that you can always contact me directly. The > good news is that there are now several alternatives as well. > > Unfortunately making harmful statements on the Internet won't help, but > that is your right to do so. > > Thanks again, and talk soon, > > -jeff > > -- Jeff McKenna MapServer Consulting and Training Services > http://www.gatewaygeomatics.com/ On 2014-09-05 6:15 PM, Ludwig > Kniprath wrote: >> Sorry, but there is no PHP-Mapscript for 64-bit-osgeo4w and a very old >> Version for 32 bit (MapServer version 5.6.6, Revision: 10204 $ $Date: >> 2010-06-02). >> >> By the way, the "newest" version of the ms4w-package is more then two >> years old, this "great product" is dead: >> "The latest release of MS4W is version 3.0.6 (May 26, 2012). Download now!" >> and that's no joke... >> >> Compile your own windows-version (I don't know how) or try linux... >> >> Ludwig From amanero at geograma.com Mon Sep 8 00:57:10 2014 From: amanero at geograma.com (Geograma) Date: Mon, 8 Sep 2014 00:57:10 -0700 (PDT) Subject: [mapserver-users] Oracle layer partially drawn In-Reply-To: <1409839768725-5160130.post@n6.nabble.com> References: <1409733136117-5159828.post@n6.nabble.com> <1409741838212-5159854.post@n6.nabble.com> <6F331135492B944D90731CE93743D5680A7005@FS-EX-DB101.fs.sachsen.de> <1409839768725-5160130.post@n6.nabble.com> Message-ID: <1410163030163-5160664.post@n6.nabble.com> Hello, I can't figure what the problem is... Has anyone been able at least to reproduce the problem I have? (to check if the problem could be in my computer) Thanks in advance! -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Oracle-layer-partially-drawn-tp5159828p5160664.html Sent from the Mapserver - User mailing list archive at Nabble.com. From gtroost at gmail.com Tue Sep 9 00:29:33 2014 From: gtroost at gmail.com (gtroost) Date: Tue, 9 Sep 2014 00:29:33 -0700 (PDT) Subject: [mapserver-users] Clickable label In-Reply-To: <1389341815676-5097281.post@n6.nabble.com> References: <1389341815676-5097281.post@n6.nabble.com> Message-ID: <1410247773241-5160801.post@n6.nabble.com> it would be great to have an imagemap creator directly in mapscript. I've worked myself a way arround by creating a small php helper (for polygons and points) it's complicated because you need to cache heavy querys so that they don't run twice, but it works. For labels i still have no solution. Most perfect would be that we can access the mapfile on the same way as you create a legend or a scalebar; $map->drawScaleBar(); So something like $map->getImageMap(); Looking forward to your opinions! -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Clickable-label-tp5097281p5160801.html Sent from the Mapserver - User mailing list archive at Nabble.com. From mario at geosar.ch Tue Sep 9 01:57:04 2014 From: mario at geosar.ch (Mario Jurcevic) Date: Tue, 09 Sep 2014 10:57:04 +0200 Subject: [mapserver-users] mapserver 6.4.1 with php 5.6 Message-ID: <540EC0E0.6090701@geosar.ch> Hi, I can build mapserver 6.4.1 with php 5.6 on ubuntu but fails then to load php_mapscript.so: undefined symbol: output_globals in Unknown on line 0 Thanks for any suggestion. Mario From jukka.rahkonen at mmmtike.fi Tue Sep 9 04:29:24 2014 From: jukka.rahkonen at mmmtike.fi (Rahkonen Jukka (Tike)) Date: Tue, 9 Sep 2014 11:29:24 +0000 Subject: [mapserver-users] Oracle layer partially drawn Message-ID: Hi, Perhaps good news is that I could reproduce the issue with your data and mapfile on out Oracle 11g and with some old MS4W version. Connection with Oracle works but at small scales only part of points are rendered. Rendered points are inside rectangular boxes and there can be 1-3 boxes on the screen. It looks like the boxes are always in the same locations. When zooming in more points appear. Bad news is that I fear that developers are not interested in studying this issue with such an old Mapserver version because the brand new v. 7.0 will be released soon. I tried to repeat the test with more recent version 6.5-dev which I have installed on top of MS4W with the 32-bit binaries from gisinternals.com/sdk. Unfortunately I could not make the connection with Oracle to work in a reasonable time. What I tried was to use the included msplugin_oracle.dll by editing the mapfile to have CONNECTIONTYPE PLUGIN PLUGIN "msplugin_oracle.dll" I copied our TNS_NAMES.ORA into very many places, I tried with several different SET ORACLE_HOME= alternatives but the best result I ever had was msOracleSpatialLayerOpen(): OracleSpatial error. Cannot create OCI Handlers. Connection failure. Check the connection string. Error: ORA-12154: Because these are not mine data I apologize and stop my investigations by now. I may have another try if I find some day recent Windows binaries and tested instructions about how to make that version to connect with Oracle. Regards, -Jukka Rahkonen- Geograma wrote: > Hello, > > I can't figure what the problem is... Has anyone been able at least to reproduce > the problem I have? (to check if the problem could be in my > computer) > > Thanks in advance! > > > > -- > View this message in context: http://osgeo-org.1560.x6.nabble.com/Oracle- > layer-partially-drawn-tp5159828p5160664.html > Sent from the Mapserver - User mailing list archive at Nabble.com. > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From bob.basques at ci.stpaul.mn.us Tue Sep 9 06:35:35 2014 From: bob.basques at ci.stpaul.mn.us (Basques, Bob (CI-StPaul)) Date: Tue, 9 Sep 2014 13:35:35 +0000 Subject: [mapserver-users] Clickable label In-Reply-To: References: <1389341815676-5097281.post@n6.nabble.com>, , , Message-ID: All, It's probably not the cleanest way to approach it, but maybe a straight imagemap type approach. You use the four corners of the label bounding poly and send as an imagemap or json set or id query. I think the bounding polys need to somehow be thought of as a ad-hoc data layer themselves. Is there a way of sub-selecting feature constructs (that were originated by mapserver, like centroids are, into a reusable (on the fly) dataset? My immediate thoughts were to use a clientside imagemage (which is passe these days) and that is where the translation occurs for the bounding boxes, via the imagemap generation. bobb ________________________________________ From: Lime, Steve D (MNIT) Sent: Monday, January 20, 2014 9:43 AM To: Basques, Bob (CI-StPaul); wiltomap; mapserver-users at lists.osgeo.org Subject: RE: [mapserver-users] Clickable label That or a UTFGrid. I don't believe that support (in master) handles labels but maybe it could. In UTFGrid context you wouldn't want to render characters anyway, only the bounding polygons. However, because the grid is rendered at a lower resolution than the related map label placement consistency might be the issue. --Steve ________________________________________ From: Basques, Bob (CI-StPaul) Sent: Friday, January 10, 2014 6:15 PM To: Lime, Steve D (MNIT); wiltomap; mapserver-users at lists.osgeo.org Subject: RE: [mapserver-users] Clickable label Steve, I've been thinking on this thread since it started, I wonder, could you use a imagemap template from Mapserver, but populate it with the Label bounding polygons? bobb ________________________________________ From: mapserver-users-bounces at lists.osgeo.org [mapserver-users-bounces at lists.osgeo.org] on behalf of Lime, Steve D (MNIT) [Steve.Lime at state.mn.us] Sent: Friday, January 10, 2014 4:14 PM To: wiltomap; mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] Clickable label This can't be done with stock MapServer. Labels are dynamic by nature and are the product of a map raw while queries work off the base data. The bridge between the map and a query is a conversion from pixels to map coordinates based on map size and extent. You might be able to pull this off using MapScript. For a query you'd have to do things in two stages: 1) Draw the map (in memory) based on the map the user interacted with (same extent, size and set of layers) so that a label cache is created. 2) Search the label cache based on the query point and based on that pull the appropriate feature. I don't know if step 2 is feasible or not. You used to be able to loop through it, not sure about now. There might be other ways using an image where you render text and label backgrounds using the same color, a color that you could map back to a feature id. The map would basically contain label polygons in a raster you could, in turn, query that raster using point and retrieve a feature id. I have doubts that you could match the first image to the second so this would be a huge long shot. Steve -----Original Message----- From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of wiltomap Sent: Friday, January 10, 2014 2:17 AM To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] Clickable label Hello all, I have to display labels instead of points on a layer. The labels rely on an attribute value. I would like to click on the label to make an attribute windows open up. So far, no problem with mapfile configuration... The only thing is that the attribute window opens up when I click right in the middle of the label. I can use TOLERANCEUNITS and TOLERANCE parameters in the mapfile to enlarge the clickable area BUT this means that I can also click next to the label and get the attribute window, which I don't want to... My purpose is to get the attribute window whereever I click on the label (any part of it) and not if I click next to it. Would you think about a solution to that ? I enclose a scrennshot of the mapfile I have worked out so far. Many thanks in advance, Thomas -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Clickable-label-tp5097281.html Sent from the Mapserver - User mailing list archive at Nabble.com. _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From anthony at itia.ntua.gr Tue Sep 9 06:55:06 2014 From: anthony at itia.ntua.gr (Antonis Christofides) Date: Tue, 9 Sep 2014 16:55:06 +0300 Subject: [mapserver-users] How to serve data that changes with time Message-ID: <20140909135506.GB6569@itia.ntua.gr> Hi, I am quite new to GIS and mapserver. I have written software, let's call it "bitia", that outputs a map of temperature in a GeoTIFF; each hour it produces a new one. I need to serve this map with mapserver, so that other software can get it and do more work with it. I am generally at a loss on how to manage times. Initially I thought I'd put the timestamp in the filenames: temperature-2014-09-09-16-00.tif temperature-2014-09-09-17-00.tif temperature-2014-09-09-18-00.tif ... Then I thought that this might be suboptimal so I changed it to this: temperature-0000.tif <- Latest temperature-0001.tif <- Last but one temperature-0002.tif <- ... The system renames the files one position down each time it produces a new one, and stores the times inside the file, in a GDAL metadata item named TIMESTAMP. Now, after reading about tile indexes [1], WMS Time [2], and WCS spatio/temporal indexes [3], I conclude that my original idea was probably better. So I'm thinking I will have the system work thus: 1. Have bitia produce GeoTIFF files with the timestamp in the file name. 2. Use gdaltindex to create a tile index of these files. 3. Write a script to add the timestamp of the files to the dbf of the tile index. 4. Have mapserver serve these files with WCS/WMS. Could you please tell me if I'm on the right track? I've been experimenting with the above but I haven't found a way for the WMS/WCS client to ask "tell me for which times you have data", and I will probably have more questions once I start implementing it. Thanks! [1] http://mapserver.org/optimization/tileindex.html [2] http://mapserver.org/ogc/wms_time.html [3] http://mapserver.org/ogc/wcs_server.html#spatio-temporal-indexes From jukka.rahkonen at mmmtike.fi Tue Sep 9 07:50:26 2014 From: jukka.rahkonen at mmmtike.fi (Rahkonen Jukka (Tike)) Date: Tue, 9 Sep 2014 14:50:26 +0000 Subject: [mapserver-users] Clickable label Message-ID: Hi, Geoserver 2.5 came with improved GetFeatureInfo http://blog.geoserver.org/2014/05/21/geoserver-2-5-1-released/ "New implementation of GetFeatureInfo that takes into account symbol shapes, offsets, and dynamic line widths into account" Just a couple of weeks ago I published a biggish vector layer with about 1300 million features with Mapserver. Actually I published the same data as a bunch of layers with different classification and some layers renders only a couple of classes even at big scale. It feels a bit odd that GetFeatureInfo finds hits even if the map shows only empty space. The customer did not complain so I left the layers as they were but now I think that my case is a bit analogous - What-You-Get-Info-About-Is-Not-What-You-See-On-The-Map. -Jukka Rahkonen- Basques, Bob (CI-StPaul) wrote: > All, > > It's probably not the cleanest way to approach it, but maybe a straight > imagemap type approach. You use the four corners of the label bounding poly > and send as an imagemap or json set or id query. > > I think the bounding polys need to somehow be thought of as a ad-hoc data > layer themselves. Is there a way of sub-selecting feature constructs (that were > originated by mapserver, like centroids are, into a reusable (on the fly) dataset? > > My immediate thoughts were to use a clientside imagemage (which is passe > these days) and that is where the translation occurs for the bounding boxes, via > the imagemap generation. > > bobb > ________________________________________ > From: Lime, Steve D (MNIT) > Sent: Monday, January 20, 2014 9:43 AM > To: Basques, Bob (CI-StPaul); wiltomap; mapserver-users at lists.osgeo.org > Subject: RE: [mapserver-users] Clickable label > > That or a UTFGrid. I don't believe that support (in master) handles labels but > maybe it could. In UTFGrid context you wouldn't want to render characters > anyway, only the bounding polygons. However, because the grid is rendered at a > lower resolution than the related map label placement consistency might be the > issue. --Steve ________________________________________ > From: Basques, Bob (CI-StPaul) > Sent: Friday, January 10, 2014 6:15 PM > To: Lime, Steve D (MNIT); wiltomap; mapserver-users at lists.osgeo.org > Subject: RE: [mapserver-users] Clickable label > > Steve, > > I've been thinking on this thread since it started, I wonder, could you use a > imagemap template from Mapserver, but populate it with the Label bounding > polygons? > > bobb > > > ________________________________________ > From: mapserver-users-bounces at lists.osgeo.org [mapserver-users- > bounces at lists.osgeo.org] on behalf of Lime, Steve D (MNIT) > [Steve.Lime at state.mn.us] > Sent: Friday, January 10, 2014 4:14 PM > To: wiltomap; mapserver-users at lists.osgeo.org > Subject: Re: [mapserver-users] Clickable label > > This can't be done with stock MapServer. Labels are dynamic by nature and are > the product of a map raw while queries work off the base data. The bridge > between the map and a query is a conversion from pixels to map coordinates > based on map size and extent. > > You might be able to pull this off using MapScript. For a query you'd have to do > things in two stages: > > 1) Draw the map (in memory) based on the map the user interacted with (same > extent, size and set of layers) so that a label cache is created. > 2) Search the label cache based on the query point and based on that pull the > appropriate feature. > > I don't know if step 2 is feasible or not. You used to be able to loop through it, > not sure about now. > > There might be other ways using an image where you render text and label > backgrounds using the same color, a color that you could map back to a feature > id. The map would basically contain label polygons in a raster you could, in turn, > query that raster using point and retrieve a feature id. I have doubts that you > could match the first image to the second so this would be a huge long shot. > > Steve > > -----Original Message----- > From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users- > bounces at lists.osgeo.org] On Behalf Of wiltomap > Sent: Friday, January 10, 2014 2:17 AM > To: mapserver-users at lists.osgeo.org > Subject: [mapserver-users] Clickable label > > Hello all, > > I have to display labels instead of points on a layer. The labels rely on an > attribute value. I would like to click on the label to make an attribute windows > open up. So far, no problem with mapfile configuration... > > The only thing is that the attribute window opens up when I click right in the > middle of the label. I can use TOLERANCEUNITS and TOLERANCE parameters in > the mapfile to enlarge the clickable area BUT this means that I can also click > next to the label and get the attribute window, which I don't want to... > > My purpose is to get the attribute window whereever I click on the label (any > part of it) and not if I click next to it. Would you think about a solution to that ? > > I enclose a scrennshot of the mapfile I have worked out so far. > > > Many thanks in advance, > > Thomas > > > > > > > -- > View this message in context: http://osgeo-org.1560.x6.nabble.com/Clickable- > label-tp5097281.html > Sent from the Mapserver - User mailing list archive at Nabble.com. > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From Michael.Smith at erdc.dren.mil Tue Sep 9 08:04:11 2014 From: Michael.Smith at erdc.dren.mil (Smith, Michael ERDC-RDE-CRREL-NH) Date: Tue, 9 Sep 2014 15:04:11 +0000 Subject: [mapserver-users] [EXTERNAL] Re: Clickable label Message-ID: I would recommend the UTF Grid approach. http://mapserver.org/development/rfc/ms-rfc-93.html or On 9/9/14, 6:35 AM, "Basques, Bob (CI-StPaul)" wrote: >All, > >It's probably not the cleanest way to approach it, but maybe a straight >imagemap type approach. You use the four corners of the label bounding >poly and send as an imagemap or json set or id query. > >I think the bounding polys need to somehow be thought of as a ad-hoc data >layer themselves. Is there a way of sub-selecting feature constructs >(that were originated by mapserver, like centroids are, into a reusable >(on the fly) dataset? > >My immediate thoughts were to use a clientside imagemage (which is passe >these days) and that is where the translation occurs for the bounding >boxes, via the imagemap generation. > >bobb >________________________________________ >From: Lime, Steve D (MNIT) >Sent: Monday, January 20, 2014 9:43 AM >To: Basques, Bob (CI-StPaul); wiltomap; mapserver-users at lists.osgeo.org >Subject: RE: [mapserver-users] Clickable label > >That or a UTFGrid. I don't believe that support (in master) handles >labels but maybe it could. In UTFGrid context you wouldn't want to render >characters anyway, only the bounding polygons. However, because the grid >is rendered at a lower resolution than the related map label placement >consistency might be the issue. --Steve >________________________________________ >From: Basques, Bob (CI-StPaul) >Sent: Friday, January 10, 2014 6:15 PM >To: Lime, Steve D (MNIT); wiltomap; mapserver-users at lists.osgeo.org >Subject: RE: [mapserver-users] Clickable label > >Steve, > >I've been thinking on this thread since it started, I wonder, could you >use a imagemap template from Mapserver, but populate it with the Label >bounding polygons? > >bobb > > >________________________________________ >From: mapserver-users-bounces at lists.osgeo.org >[mapserver-users-bounces at lists.osgeo.org] on behalf of Lime, Steve D >(MNIT) [Steve.Lime at state.mn.us] >Sent: Friday, January 10, 2014 4:14 PM >To: wiltomap; mapserver-users at lists.osgeo.org >Subject: Re: [mapserver-users] Clickable label > > This can't be done with stock MapServer. Labels are dynamic by nature >and are the product of a map raw while queries work off the base data. >The bridge between the map and a query is a conversion from pixels to map >coordinates based on map size and extent. > >You might be able to pull this off using MapScript. For a query you'd >have to do things in two stages: > > 1) Draw the map (in memory) based on the map the user interacted with >(same extent, size and set of layers) so that a label cache is created. > 2) Search the label cache based on the query point and based on that >pull the appropriate feature. > >I don't know if step 2 is feasible or not. You used to be able to loop >through it, not sure about now. > >There might be other ways using an image where you render text and label >backgrounds using the same color, a color that you could map back to a >feature id. The map would basically contain label polygons in a raster >you could, in turn, query that raster using point and retrieve a feature >id. I have doubts that you could match the first image to the second so >this would be a huge long shot. > >Steve > >-----Original Message----- >From: mapserver-users-bounces at lists.osgeo.org >[mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of wiltomap >Sent: Friday, January 10, 2014 2:17 AM >To: mapserver-users at lists.osgeo.org >Subject: [mapserver-users] Clickable label > >Hello all, > >I have to display labels instead of points on a layer. The labels rely on >an attribute value. I would like to click on the label to make an >attribute windows open up. So far, no problem with mapfile >configuration... > >The only thing is that the attribute window opens up when I click right >in the middle of the label. I can use TOLERANCEUNITS and TOLERANCE >parameters in the mapfile to enlarge the clickable area BUT this means >that I can also click next to the label and get the attribute window, >which I don't want to... > >My purpose is to get the attribute window whereever I click on the label >(any part of it) and not if I click next to it. Would you think about a >solution to that ? > >I enclose a scrennshot of the mapfile I have worked out so far. > > >Many thanks in advance, > >Thomas > > > > > > >-- >View this message in context: >http://osgeo-org.1560.x6.nabble.com/Clickable-label-tp5097281.html >Sent from the Mapserver - User mailing list archive at Nabble.com. >_______________________________________________ >mapserver-users mailing list >mapserver-users at lists.osgeo.org >http://lists.osgeo.org/mailman/listinfo/mapserver-users > > >_______________________________________________ >mapserver-users mailing list >mapserver-users at lists.osgeo.org >http://lists.osgeo.org/mailman/listinfo/mapserver-users > >_______________________________________________ >mapserver-users mailing list >mapserver-users at lists.osgeo.org >http://lists.osgeo.org/mailman/listinfo/mapserver-users From Steve.Lime at state.mn.us Tue Sep 9 08:10:03 2014 From: Steve.Lime at state.mn.us (Lime, Steve D (MNIT)) Date: Tue, 9 Sep 2014 15:10:03 +0000 Subject: [mapserver-users] Clickable label In-Reply-To: References: Message-ID: Neat idea from the GeoServer folks. It's maybe something we could think about. With tiled maps I wonder if we could cache label references (poly, layer id, feature id) as a by-product of the rendering process and then add that layer back for GetFeature processing. Steve ________________________________________ From: mapserver-users-bounces at lists.osgeo.org [mapserver-users-bounces at lists.osgeo.org] on behalf of Rahkonen Jukka (Tike) [jukka.rahkonen at mmmtike.fi] Sent: Tuesday, September 09, 2014 9:50 AM To: 'mapserver-users at lists.osgeo.org' Subject: Re: [mapserver-users] Clickable label Hi, Geoserver 2.5 came with improved GetFeatureInfo http://blog.geoserver.org/2014/05/21/geoserver-2-5-1-released/ "New implementation of GetFeatureInfo that takes into account symbol shapes, offsets, and dynamic line widths into account" Just a couple of weeks ago I published a biggish vector layer with about 1300 million features with Mapserver. Actually I published the same data as a bunch of layers with different classification and some layers renders only a couple of classes even at big scale. It feels a bit odd that GetFeatureInfo finds hits even if the map shows only empty space. The customer did not complain so I left the layers as they were but now I think that my case is a bit analogous - What-You-Get-Info-About-Is-Not-What-You-See-On-The-Map. -Jukka Rahkonen- Basques, Bob (CI-StPaul) wrote: > All, > > It's probably not the cleanest way to approach it, but maybe a straight > imagemap type approach. You use the four corners of the label bounding poly > and send as an imagemap or json set or id query. > > I think the bounding polys need to somehow be thought of as a ad-hoc data > layer themselves. Is there a way of sub-selecting feature constructs (that were > originated by mapserver, like centroids are, into a reusable (on the fly) dataset? > > My immediate thoughts were to use a clientside imagemage (which is passe > these days) and that is where the translation occurs for the bounding boxes, via > the imagemap generation. > > bobb > ________________________________________ > From: Lime, Steve D (MNIT) > Sent: Monday, January 20, 2014 9:43 AM > To: Basques, Bob (CI-StPaul); wiltomap; mapserver-users at lists.osgeo.org > Subject: RE: [mapserver-users] Clickable label > > That or a UTFGrid. I don't believe that support (in master) handles labels but > maybe it could. In UTFGrid context you wouldn't want to render characters > anyway, only the bounding polygons. However, because the grid is rendered at a > lower resolution than the related map label placement consistency might be the > issue. --Steve ________________________________________ > From: Basques, Bob (CI-StPaul) > Sent: Friday, January 10, 2014 6:15 PM > To: Lime, Steve D (MNIT); wiltomap; mapserver-users at lists.osgeo.org > Subject: RE: [mapserver-users] Clickable label > > Steve, > > I've been thinking on this thread since it started, I wonder, could you use a > imagemap template from Mapserver, but populate it with the Label bounding > polygons? > > bobb > > > ________________________________________ > From: mapserver-users-bounces at lists.osgeo.org [mapserver-users- > bounces at lists.osgeo.org] on behalf of Lime, Steve D (MNIT) > [Steve.Lime at state.mn.us] > Sent: Friday, January 10, 2014 4:14 PM > To: wiltomap; mapserver-users at lists.osgeo.org > Subject: Re: [mapserver-users] Clickable label > > This can't be done with stock MapServer. Labels are dynamic by nature and are > the product of a map raw while queries work off the base data. The bridge > between the map and a query is a conversion from pixels to map coordinates > based on map size and extent. > > You might be able to pull this off using MapScript. For a query you'd have to do > things in two stages: > > 1) Draw the map (in memory) based on the map the user interacted with (same > extent, size and set of layers) so that a label cache is created. > 2) Search the label cache based on the query point and based on that pull the > appropriate feature. > > I don't know if step 2 is feasible or not. You used to be able to loop through it, > not sure about now. > > There might be other ways using an image where you render text and label > backgrounds using the same color, a color that you could map back to a feature > id. The map would basically contain label polygons in a raster you could, in turn, > query that raster using point and retrieve a feature id. I have doubts that you > could match the first image to the second so this would be a huge long shot. > > Steve > > -----Original Message----- > From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users- > bounces at lists.osgeo.org] On Behalf Of wiltomap > Sent: Friday, January 10, 2014 2:17 AM > To: mapserver-users at lists.osgeo.org > Subject: [mapserver-users] Clickable label > > Hello all, > > I have to display labels instead of points on a layer. The labels rely on an > attribute value. I would like to click on the label to make an attribute windows > open up. So far, no problem with mapfile configuration... > > The only thing is that the attribute window opens up when I click right in the > middle of the label. I can use TOLERANCEUNITS and TOLERANCE parameters in > the mapfile to enlarge the clickable area BUT this means that I can also click > next to the label and get the attribute window, which I don't want to... > > My purpose is to get the attribute window whereever I click on the label (any > part of it) and not if I click next to it. Would you think about a solution to that ? > > I enclose a scrennshot of the mapfile I have worked out so far. > > > Many thanks in advance, > > Thomas > > > > > > > -- > View this message in context: http://osgeo-org.1560.x6.nabble.com/Clickable- > label-tp5097281.html > Sent from the Mapserver - User mailing list archive at Nabble.com. > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From tnasman at rollingleaf.com Tue Sep 9 13:38:50 2014 From: tnasman at rollingleaf.com (Tim Nasman) Date: Tue, 9 Sep 2014 16:38:50 -0400 Subject: [mapserver-users] WMS & MSSQL Question Message-ID: Hello, So I have been slowly learning the in's and out's of Mapserver and right now I am at an impasse because I am not getting anymore errors to figure out where to look next. I am importing data from a MSSQL database and Mapserver is configured as a WMS. When I test the mapfile in shp2img I get the information I want so I know the connection is working and as far I know the mapfile is correct, but when I try to access the map on my server using http://localhost/cgi-bin/mapserv.exe?map=C:\mypath\mapfile.map&mode=browse I am just receiving a blank box that is the same size as my map size with no errors to chase out. So I guess my question would be, where in the mapfile should I start digging into to figure out why it is not showing the information I want. Thanks -- Timothy Nasman Data Analyst | Programmer Rolling Leaf Inc. [V] : 910.274.1436 [E] : tnasman at rollingleaf.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jukka.rahkonen at mmmtike.fi Tue Sep 9 13:45:31 2014 From: jukka.rahkonen at mmmtike.fi (Rahkonen Jukka (Tike)) Date: Tue, 9 Sep 2014 20:45:31 +0000 Subject: [mapserver-users] WMS & MSSQL Question In-Reply-To: References: Message-ID: Hi, Probably your layers have not STATUS DEFAULT http://mapserver.org/de/faq.html#what-does-status-mean-in-a-layer. Change the status to DEFAULT or add &layers=all into your request. -Jukka Rahkonen- ________________________________ Tim Nasman wrote: Hello, So I have been slowly learning the in's and out's of Mapserver and right now I am at an impasse because I am not getting anymore errors to figure out where to look next. I am importing data from a MSSQL database and Mapserver is configured as a WMS. When I test the mapfile in shp2img I get the information I want so I know the connection is working and as far I know the mapfile is correct, but when I try to access the map on my server using http://localhost/cgi-bin/mapserv.exe?map=C:\mypath\mapfile.map&mode=browse I am just receiving a blank box that is the same size as my map size with no errors to chase out. So I guess my question would be, where in the mapfile should I start digging into to figure out why it is not showing the information I want. Thanks -- Timothy Nasman Data Analyst | Programmer Rolling Leaf Inc. [V] : 910.274.1436 [E] : tnasman at rollingleaf.com [https://lh3.googleusercontent.com/-MtYpkPgI7Qg/U0_ISl3BoKI/AAAAAAAAAFI/MfIufqcCvMM/s144/LOGO-H-1C.png] -------------- next part -------------- An HTML attachment was scrubbed... URL: From milo at dogodigi.net Wed Sep 10 00:47:50 2014 From: milo at dogodigi.net (Milo van der Linden) Date: Wed, 10 Sep 2014 09:47:50 +0200 Subject: [mapserver-users] NoData Gap between rasters - Tileindex Layer In-Reply-To: <53FF1AA2.9000605@poczta.onet.pl> References: <53FF1AA2.9000605@poczta.onet.pl> Message-ID: Hello Bartlomiej, Could you post the command you used for gdalwarp? Perhaps you need to set one or more parameters (f.i. -r where you set the resampling method) to process the areas that now result in NODATA. The complete list of parameters can be found here: http://www.gdal.org/gdalwarp.html 2014-08-28 14:03 GMT+02:00 Bartlomiej Burkot : > Dear MS Users > > Please look at the attachement and maybe you will recognize the problem. I > think some of you could have encountered this problem with one pixel gap > between rasterfiles in tileindex layer? > > > Description: > I have a set of rasters which I warped to epsg:3857 projection using > gdalwarp. > During the reprojecting the new raster had been rotated by small angle. > After that I created a tileindex shape file using gdaltindex and > configured layer: > LAYER > NAME "myname" > TILEINDEX "tilindex.shp" > TYPE RASTER > OFFSITE 0 0 0 > END > > On the result map I see the gaps between raster files in the layer. (See > the attachment). > Mayby there is a option in gdalwarp command to extend the new image by > making it 1 pixel widther? May by something like resampling method or > algorithm? > Could you please pint me to the solution of this problem? > > Thanks in advance > > Bartek > > > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jukka.rahkonen at mmmtike.fi Wed Sep 10 01:39:17 2014 From: jukka.rahkonen at mmmtike.fi (Rahkonen Jukka (Tike)) Date: Wed, 10 Sep 2014 08:39:17 +0000 Subject: [mapserver-users] NoData Gap between rasters - Tileindex Layer Message-ID: Hi, The image "two_separate_files.png" reveals the reason. If you look at the seam between the images the left side image and right side images do not share the same common canvas (pixels are not placed into same common grid). The area that you have marked as "000 nodata" has not received any image data from either image in warping. The warping algorithm has got a result like "51 % of this pixel is nodata, I stamp this pixel to nodata" or perhaps "the center of this pixel is nodata, thus the pixel is nodata". When the result is "nodata" for both left and right, there will be a seam. Milo van der Linden suggests to try different resampling algorithms. It will not help because it does not affect the decision if the pixel is data or nodata. On the Mapserver side other resampling methods than the default Nearest neighbor can give some visual help by blurring the seam but it is not a real solution. Solution that usually helps is the one I have posted to this list in 2014-08-29 and it is to force the individually warped images to use a common canvas by running gdalwarp with parameters -tr and -tap. You have answered that you tried it with -tr 0.36 0.36 -tap but that did not help. I left you alone then, sorry for that. By the way, is "two_separate_files.png" from this experiment? I suppose not. I should have asked if 0.36 m is the native resolution of your original images. If the pixel size is less than the native one there may still be room for the double-nodata pixels. I have used -tr 0.5 -tap when my originals have 0.5 m resolution with perfect results. I would have a new trial with -tr and -tap. If that does not help there are two more things to try: - Create a mosaic in the original SRS before warping. You can create a .vrt file with gdalbuildvrt without wasting any disk space. Run gdalwarp from the .VRT file and cut the results into tiles if you need them with gdalwart target extents parameter "-te xmin ymin xmax ymax". - If -tap does not compute good aligned target extents you can compute them yourself. Here is Python code snippet that we used for several years before -tap options existed for widening the output extents to full meters minmax = get_minmax(tm32_coords) minmax_wider = [ (int(math.floor(minmax[0][0])), int(math.floor(minmax[0][1]))), (int(math.ceil (minmax[1][0])), int(math.ceil (minmax[1][1]))), ] log("Extents (min,max): " + str(minmax), outfilename) log("Widened extents (min,max): " + str(minmax_wider), outfilename) However, the ultimate thing to do is re-consider if it is necessary at all to warp the original images into EPSG:3857. Mapserver warps pretty fast on-the-fly and I have not warped a single image after the introduction of support for different native projections in tileindex. See the -t_srs option http://www.gdal.org/gdaltindex.html. For utilizing this feature Mapserver 6.4 or higher is needed. -Jukka Rahkonen- Burkot wrote: Dear MS Users Please look at the attachement and maybe you will recognize the problem. I think some of you could have encountered this problem with one pixel gap between rasterfiles in tileindex layer? Description: I have a set of rasters which I warped to epsg:3857 projection using gdalwarp. During the reprojecting the new raster had been rotated by small angle. After that I created a tileindex shape file using gdaltindex and configured layer: LAYER NAME "myname" TILEINDEX "tilindex.shp" TYPE RASTER OFFSITE 0 0 0 END On the result map I see the gaps between raster files in the layer. (See the attachment). Mayby there is a option in gdalwarp command to extend the new image by making it 1 pixel widther? May by something like resampling method or algorithm? Could you please pint me to the solution of this problem? Thanks in advance Bartek -------------- next part -------------- An HTML attachment was scrubbed... URL: From amanero at geograma.com Wed Sep 10 07:59:44 2014 From: amanero at geograma.com (Geograma) Date: Wed, 10 Sep 2014 07:59:44 -0700 (PDT) Subject: [mapserver-users] Oracle layer partially drawn In-Reply-To: References: <1409733136117-5159828.post@n6.nabble.com> Message-ID: <1410361184515-5161121.post@n6.nabble.com> Hello Tike, Good news! I have been able to get it to work by updating the MapServer of my MS4W I had the same problem as you with the binaries downloaded from gisinternals so, to make a test, I downloaded the MapServer from OsGeo4W and replaced the files with the ones downloaded from OsGeo4W. I do not know why but the problem solved this way and now I have the map runing perfectly. (no need to copy the tnsnames.ora file anywhere) Thanks a lot for your help! -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Oracle-layer-partially-drawn-tp5159828p5161121.html Sent from the Mapserver - User mailing list archive at Nabble.com. From peter.hopfgartner at r3-gis.com Thu Sep 11 01:53:49 2014 From: peter.hopfgartner at r3-gis.com (Peter Hopfgartner) Date: Thu, 11 Sep 2014 10:53:49 +0200 Subject: [mapserver-users] MapServer 5.6.9 with PHP 5.4 Message-ID: <1ED9D7AF-427E-4F5C-A6CC-36108A75E198@r3-gis.com> For some of our servers I needed to compile MapServer 5.6 with PHP 5.4. In case someone else has the same need, I?ve created the ticket https://github.com/mapserver/mapserver/issues/4991. Regards, Peter R3 GIS http://www.r3-gis.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bpicinbono at worldonline.fr Thu Sep 11 12:35:23 2014 From: bpicinbono at worldonline.fr (bpicinbono at worldonline.fr) Date: Thu, 11 Sep 2014 21:35:23 +0200 Subject: [mapserver-users] select several features attributes by wms Message-ID: <1410464123.5411f97bbb945@webmail.aliceadsl.fr> Hi, Working with openlayers 3, I'm trying to display features attributes from a mapserver driven wms; with this kind of url: http://myserver/cgi-bin/mapserv?map=/pathtomapfile/mapfile.map&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetFeatureInfo&FORMAT=image%2Fpng&TRANSPARENT=true&QUERY_LAYERS=mylayer&LAYERS=mylayer&INFO_FORMAT=text%2Fhtml&I=50&J=50&CRS=EPSG%3A4326&STYLES=&WIDTH=101&HEIGHT=101&BBOX=28.65234375%2C-30.41015625%2C64.16015625%2C5.09765625 I can display with a mouse click on the map the attributes of one vector feature, either in text-plain or test-html; I'ld like to know if it's possible to get attributes from several features; I tried addind &maxFeatures=10 and &radius=50 to the url, without success; I've been told it's not possible, what do you think about this ? (the server is on mapserver 6.4.1-3) Thanks in advance From adube at mapgears.com Thu Sep 11 12:43:37 2014 From: adube at mapgears.com (=?UTF-8?B?QWxleGFuZHJlIER1YsOp?=) Date: Thu, 11 Sep 2014 15:43:37 -0400 Subject: [mapserver-users] select several features attributes by wms In-Reply-To: <1410464123.5411f97bbb945@webmail.aliceadsl.fr> References: <1410464123.5411f97bbb945@webmail.aliceadsl.fr> Message-ID: <5411FB69.9000608@mapgears.com> Hi, FEATURE_COUNT is the parameter you're looking for. HTH, Alexandre On 14-09-11 03:35 PM, bpicinbono at worldonline.fr wrote: > Hi, > Working with openlayers 3, I'm trying to display features attributes from a > mapserver driven wms; > with this kind of url: > > http://myserver/cgi-bin/mapserv?map=/pathtomapfile/mapfile.map&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetFeatureInfo&FORMAT=image%2Fpng&TRANSPARENT=true&QUERY_LAYERS=mylayer&LAYERS=mylayer&INFO_FORMAT=text%2Fhtml&I=50&J=50&CRS=EPSG%3A4326&STYLES=&WIDTH=101&HEIGHT=101&BBOX=28.65234375%2C-30.41015625%2C64.16015625%2C5.09765625 > > I can display with a mouse click on the map the attributes of one vector > feature, either in text-plain or test-html; > > I'ld like to know if it's possible to get attributes from several features; > I tried addind &maxFeatures=10 and &radius=50 to the url, without success; > I've been told it's not possible, what do you think about this ? > (the server is on mapserver 6.4.1-3) > Thanks in advance > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Alexandre Dub? T: +1 418-696-5056 #203 http://www.mapgears.com/ From bpicinbono at worldonline.fr Thu Sep 11 13:32:07 2014 From: bpicinbono at worldonline.fr (bpicinbono at worldonline.fr) Date: Thu, 11 Sep 2014 22:32:07 +0200 Subject: [mapserver-users] select several features attributes by wms Message-ID: <1410467527.541206c76011e@webmail.aliceadsl.fr> this helped a lot ! working ! thank you so much Alexandre ! On 09/11/2014 09:43 PM, Alexandre Dub? wrote: > Hi, > > FEATURE_COUNT is the parameter you're looking for. > > HTH, > > Alexandre > > > On 14-09-11 03:35 PM, bpicinbono at worldonline.fr wrote: >> Hi, >> Working with openlayers 3, I'm trying to display features attributes from a >> mapserver driven wms; >> with this kind of url: >> >> http://myserver/cgi-bin/mapserv?map=/pathtomapfile/mapfile.map&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetFeatureInfo&FORMAT=image%2Fpng&TRANSPARENT=true&QUERY_LAYERS=mylayer&LAYERS=mylayer&INFO_FORMAT=text%2Fhtml&I=50&J=50&CRS=EPSG%3A4326&STYLES=&WIDTH=101&HEIGHT=101&BBOX=28.65234375%2C-30.41015625%2C64.16015625%2C5.09765625 >> >> I can display with a mouse click on the map the attributes of one vector >> feature, either in text-plain or test-html; >> >> I'ld like to know if it's possible to get attributes from several features; >> I tried addind &maxFeatures=10 and &radius=50 to the url, without success; >> I've been told it's not possible, what do you think about this ? >> (the server is on mapserver 6.4.1-3) >> Thanks in advance >> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users From aperi2007 at gmail.com Fri Sep 12 04:52:52 2014 From: aperi2007 at gmail.com (Andrea Peri) Date: Fri, 12 Sep 2014 13:52:52 +0200 Subject: [mapserver-users] The usage of the Content-Depend-Legend Message-ID: Hi, I'm try-ing to usage the Content-Depend-Legend. So I read the doc: http://www.mapserver.org/development/rfc/ms-rfc-101.html I read that there is need three values: SRS, BBOX, EXTENT, and WIDTH,HEIGHT. I understand that the BBOX with the WIDTH and HEIGHT will decide tha scale of the map, but I dont understand well what rule has the EXTENT parameter. Is it a removed paameter ? Thx, -- ----------------- Andrea Peri . . . . . . . . . qwerty ????? ----------------- From jukka.rahkonen at mmmtike.fi Mon Sep 15 02:27:42 2014 From: jukka.rahkonen at mmmtike.fi (Rahkonen Jukka (Tike)) Date: Mon, 15 Sep 2014 09:27:42 +0000 Subject: [mapserver-users] Add the easy way to get GeoJSON from WFS into documentation Message-ID: Hi, I suggest to add most parts of the mail from Michael Smith http://lists.osgeo.org/pipermail/mapserver-users/2013-November/075559.html into Mapserver WFS server document http://mapserver.org/ogc/wfs_server.html. It is about an easy way for making Mapserver to serve GeoJSON from WFS. Actually, is there something that prevents GeoJSON output from being one of the internally supported default outputformats without a need to configure it separately in each WFS mapfile? It could be deactivated with "wfs_getfeature_formatlist" if necessary. This is the mail I refer to: "Peter, You can use OGR outputformats. Add something like this to your mapfile OUTPUTFORMAT NAME "geojson" DRIVER "OGR/GEOJSON" MIMETYPE "application/json; subtype=geojson" FORMATOPTION "STORAGE=stream" FORMATOPTION "FORM=SIMPLE" END Add to your LAYER or MAP METADATA, "wfs_getfeature_formatlist" "geojson" And then in your WFS call add &outputformat=geojson. This will return geojson directly in the browser, if you need it to download, you can change the FORMATOPTION to FORM=ZIP See http://mapserver.org/output/ogr_output.html for more detail. Mike" -Jukka Rahkonen- From pasquale.didonato at gmail.com Tue Sep 16 05:20:00 2014 From: pasquale.didonato at gmail.com (Pasquale Di Donato) Date: Tue, 16 Sep 2014 14:20:00 +0200 Subject: [mapserver-users] Mapserver+SLD+FE+default style Message-ID: Hi All, I'm wondering if I can send GetMap request + SLD and use default styles. I mean, I'd like to use an SLD file just to filter some features and then style them with the defualt style in the mapfile: I'd like to avoid specifying the style in the SLD. Is that possible? Will appreciate any feedback, Thanks, Pasquale Di Donato -------------- next part -------------- An HTML attachment was scrubbed... URL: From txstudio at yeah.net Thu Sep 18 02:36:39 2014 From: txstudio at yeah.net (TENGDA) Date: Thu, 18 Sep 2014 17:36:39 +0800 (CST) Subject: [mapserver-users] STYLEITEM AUTO and LABEL ENCODING can't exist simultaneously?? Message-ID: <24abbd63.19f0c.148881ee581.Coremail.txstudio@yeah.net> Hi All, Is there any method that I can both set 'STYLEITEM AUTO', and also set ENCODING GB18030? NOTE: my mapserv is V5.2.1. [PROBLEM]: I am now using mapinfo tab files as my map data. Labels in the mapinfo files are in Chinese. In order to support styles within mapinfo, I use 'STYLEITEM AUTO'. Then style are displayed well, however, Chinese characters are not displayed properly. [PROBLEM DESCRIPTION]: Mapserver version: 5.2.1. MapServer version 5.2.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICO NV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUP PORTS=THREADS SUPPORTS=GEOS SUPPORTS=RGBA_PNG INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE ogrinfo of tab file: OGRFeature(2000_BJ10):4 blank (String) = Style = LABEL(t:"?",a:0.000000,s:1.380000g,c:#000000,p:1,f:"") POINT (1017054046.578231 612967797.60216415) [CONFUSING]: When I use STYLEITEM AUTO, I can't set 'ENCODING GB18030' for LABEL. If not using STYLEITEM AUTO, I can't set LABELITEM, because the chinese character is within Style=LABEL(t:"Chinese character"....). Method I also tried includes: Change mapfile encoding from ANSI to UTF-8 Change MIF/MID encoding from ANSI to UTF-8, or even to BIG5. So, is there any method that I can both set 'STYLEITEM AUTO', and also set ENCODING GB18030? NOTE: my mapserv is V5.2.1. [MORE INFORMATION]: I also have another mapinfo tab file, whose data is like this: ENAME2000: String (50.0) OGRFeature(??):1 NAME (String) = ??? AREA (Real) = 1.733 PERIMETER (Real) = 8.498 ??_ (Real) = 9 ??_ID (Real) = 11 CODE2000 (Real) = 110000 ENAME2000 (String) = Beijing Municipality Style = BRUSH(fc:#f0f0f0,bc:#ffffff,id:"mapinfo-brush-2.ogr-brush-0");PEN(w:1p x,c:#d0d0d0,id:"mapinfo-pen-2.ogr-pen-0") In this situation, I can use one layer with 'STYLEITEM AUTO' to display styles, and another layer with 'LABELITEM NAME' and LABEL ... END to display Labels, without any problem. Mapfile is as follow: LAYER ##DATASOURCETYPE 0 NAME "test" TYPE polygon STATUS DEFAULT OPACITY 100 SIZEUNITS pixels DATA "??" CONNECTION "C:\ms4w\Apache\htdocs\mapinfo\??.TAB" CONNECTIONTYPE ogr STYLEITEM "AUTO" PROJECTION AUTO END CLASS NAME "Untitled class" END END LAYER ##DATASOURCETYPE 0 NAME "??" TYPE annotation STATUS DEFAULT OPACITY 100 SIZEUNITS pixels DATA "??" CONNECTION "C:\ms4w\Apache\htdocs\mapinfo\??.TAB" CONNECTIONTYPE ogr PROJECTION AUTO END LABELITEM "NAME" CLASS NAME "Untitled class" LABEL ANGLE auto FONT "HEITI" ENCODING "GB18030" TYPE truetype PRIORITY 1 SIZE 10 MAXSIZE 256 MINSIZE 4 COLOR 255 0 0 OUTLINECOLOR 0 255 255 BACKGROUNDSHADOWSIZE 1 1 POSITION cc ANTIALIAS FALSE FORCE FALSE PARTIALS FALSE END END END As you can see the difference between the two kinds of tab file, one set chinese character in to LABEL(t:'') field, in which I not know how to both set STYLEITEM AUTO and set ENCODING to LABEL. the other set Chinese character to the NAME field, in which I can set one layer with STYLEITEM AUTO, and another layer with LABELITEM. Can anyone solve the problem I described in this post? Waiting for your reply. Thanks very much. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Steve.Toutant at inspq.qc.ca Thu Sep 18 09:08:15 2014 From: Steve.Toutant at inspq.qc.ca (Steve.Toutant at inspq.qc.ca) Date: Thu, 18 Sep 2014 12:08:15 -0400 Subject: [mapserver-users] WFS getfeature returns nothing if layer srs is 4326 Message-ID: I have a mapfile in srs 3857, using mapserv 6.1 (dev version) In this mapfile I have 2 layers with srs 4326 1 layer with 900913 1 layer with 32198 Since 6.0 we can have several srs in a WFS I think All layers Data source is a postgis table GetFeatures request don't work for the 2 layers in 4326. See The getCapabilities returns bad value for WGS84BoundingBox - cardiologie cardiologie urn:ogc:def:crs:EPSG::3857 - text/xml; subtype=gml/3.1.1 - -25000000 -25000000 25000000 25000000 Compares with a layer in 32198. See valid values for WGS84BoundingBox - chsld chsld urn:ogc:def:crs:EPSG::3857 - text/xml; subtype=gml/3.1.1 - -178.714246078922 -66.3067843156478 179.855210132046 -35.1587587019759 I created a geometry column in 32198 for these 2 layers, and the everything work Any idea on the issue here? Why coordinates are invalid when using 4326? thank steve -------------- next part -------------- An HTML attachment was scrubbed... URL: From dejan.gambin at coin.hr Tue Sep 23 03:32:58 2014 From: dejan.gambin at coin.hr (Dejan Gambin) Date: Tue, 23 Sep 2014 12:32:58 +0200 Subject: [mapserver-users] Label wrapping question Message-ID: <7690A566-7399-4257-9EAB-CC089D10A9A2@coin.hr> Hi, I have some users wishing to use long legend labels, but they don't fit well on my site. As I can see, MapServer is doing this - if maxlength > 0 and wrap = 'char' (usually space), insert a new line at the FIRST wrap character found AFTER maxlength character. This is leading to some bad results (label not wrapped or wrapped too early). My question is - shouldn't it be better to wrap at the LAST wrap character BEFORE maxlength character? Is this maybe implemented somewhere or there are plans for this? Thanks very much regards, dejan From sollyvuso at gmail.com Tue Sep 23 04:23:25 2014 From: sollyvuso at gmail.com (Solly Vuso) Date: Tue, 23 Sep 2014 13:23:25 +0200 Subject: [mapserver-users] How to add tile.xml image as a background Message-ID: Hi Mapservers I have an image as an tile.xml image and i want to use it as a background image , can someone please assist me on how to write it on the mapfile here is the xml http://aerial.openstreetmap.org.za/aerial-osm-org-za-tiles.xml -------------- next part -------------- An HTML attachment was scrubbed... URL: From dejan.gambin at coin.hr Wed Sep 24 06:10:28 2014 From: dejan.gambin at coin.hr (Dejan Gambin) Date: Wed, 24 Sep 2014 15:10:28 +0200 Subject: [mapserver-users] Label wrapping question In-Reply-To: <7690A566-7399-4257-9EAB-CC089D10A9A2@coin.hr> References: <7690A566-7399-4257-9EAB-CC089D10A9A2@coin.hr> Message-ID: <5186F84B-4A21-49A0-B5B6-5527143AE3BC@coin.hr> In the meantime, I have slightly changed msWrapText() function in maplabel.c to get what I wanted. If someone is interested I can share the short piece of code. regards, dejan On 23. ruj. 2014., at 12:32, Dejan Gambin wrote: > Hi, > > I have some users wishing to use long legend labels, but they don't fit well on my site. As I can see, MapServer is doing this - if maxlength > 0 and wrap = 'char' (usually space), insert a new line at the FIRST wrap character found AFTER maxlength character. This is leading to some bad results (label not wrapped or wrapped too early). > > My question is - shouldn't it be better to wrap at the LAST wrap character BEFORE maxlength character? Is this maybe implemented somewhere or there are plans for this? > > Thanks very much > > regards, dejan > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From jukka.rahkonen at mmmtike.fi Wed Sep 24 06:15:00 2014 From: jukka.rahkonen at mmmtike.fi (Rahkonen Jukka (Tike)) Date: Wed, 24 Sep 2014 13:15:00 +0000 Subject: [mapserver-users] Label wrapping question Message-ID: Hi, Send us some screen captures of wrapped labels before and after your change. I feel that your change would make sense. -Jukka Rahkonen- Dejan Gambin wrote: > In the meantime, I have slightly changed msWrapText() function in maplabel.c to > get what I wanted. If someone is interested I can share the short piece of code. > > regards, dejan > > > On 23. ruj. 2014., at 12:32, Dejan Gambin wrote: > > > Hi, > > > > I have some users wishing to use long legend labels, but they don't fit well on > my site. As I can see, MapServer is doing this - if maxlength > 0 and wrap = 'char' > (usually space), insert a new line at the FIRST wrap character found AFTER > maxlength character. This is leading to some bad results (label not wrapped or > wrapped too early). > > > > My question is - shouldn't it be better to wrap at the LAST wrap character > BEFORE maxlength character? Is this maybe implemented somewhere or there > are plans for this? > > > > Thanks very much > > > > regards, dejan > > _______________________________________________ > > mapserver-users mailing list > > mapserver-users at lists.osgeo.org > > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From peter.freimuth at blackbridge.com Wed Sep 24 07:40:11 2014 From: peter.freimuth at blackbridge.com (Peter Freimuth) Date: Wed, 24 Sep 2014 14:40:11 +0000 Subject: [mapserver-users] problems with KML output in context of WFS GetFeature Message-ID: <95f5c0b21f1d4f639132ec8405042470@AMXPR05MB136.eurprd05.prod.outlook.com> Hi Mapserver Users, We have a problem with creating KML output from a PostGIS db in context of a GetFeature request version=1.1.0 outputformat=kml. The problem is that not all attributes are exported and that the values are shifted, means the mapping between value ad attribute name is wrong. This is the request: http://localhost/cgi-bin/catalog_view.fcgi?typename=coveragepols&searchid=6ca8dd30-43b8-11e4-9804-00163e437838&SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&SRS=EPSG:4326&outputformat=kml This is the mapserv config: This is the outputformat declaration from the mapfile: OUTPUTFORMAT NAME "kml" DRIVER "OGR/KML" MIMETYPE "application/vnd.google-earth.kml.xml" FORMATOPTION "STORAGE=memory" FORMATOPTION "FORM=SIMPLE" FORMATOPTION "FILENAME=catalog_search_result.kml" END This is the layer from the mapfile: #----------------------------------------------------------------------------------------------------------------------------# # This layer serves a WMS representation of the coverage polygons and a WFS for the related metadata #----------------------------------------------------------------------------------------------------------------------------# LAYER NAME "coveragepols" TYPE POLYGON STATUS ON DEBUG 5 UNITS meters #dd SIZEUNITS PIXELS TOLERANCE 3 TOLERANCEUNITS PIXELS MINSCALE 1000 MAXSCALE 10000000 LABELITEM "label" LABELMAXSCALEDENOM 1400000 PROCESSING "CLOSE_CONNECTION=DEFER" CONNECTIONTYPE POSTGIS CONNECTION"user=nnnn password=nnnn dbname=nnnn host='localhost' port=5432" DATA "coverage_poly FROM (SELECT product_identifier, product_identifier||'_'||cast(acquisition_date as date)::text as label, imagetake_cat_id as it_cat_id, tile_id, spacecraft_id, cloud_cover, black_fill, acquisition_date, image_path, id as image_id, search_request_id as search_id, tileid_stack_order, roll_angle as view_angle, metadata_url, st_asewkt(st_transform(footprint,3785)::geometry) as footprint, st_transform(coveragepoly,3785) as coverage_poly FROM catalog_search_view.view_service WHERE search_request_id='%searchid%' AND is_visible=TRUE ORDER BY product_identifier, tile_id, tileid_stack_order ASC, acquisition_date ASC, cloud_cover ASC, black_fill ASC ) foo USING UNIQUE image_id USING SRID=3785" PROJECTION "init=epsg:3785" #Google Projection ( new code ) #"init=epsg:4326" END VALIDATION 'searchid' '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}' 'default_searchid' '5b7257a0-d9df-11e3-b7e2-b4b52fd4696c' END METADATA "ows_title" "Coverage Polygons" "ows_extent" "-20037508.34 -20037508.34 20037508.34 20037508.34" #"ows_extent" "-180 -89 180 89" "wms_srs" "EPSG:3857 EPSG:3785 EPSG:900913 EPSG:4326" #output "wfs_getfeature_formatlist" "geojson,shapezip,csv" "wfs_featureid" "image_id" "wfs_getfeature_formatlist" "geojson,shapezip,csv,kml " "wfs_geomtype" "Polygon" "gml_include_items" "all" "gml_exclude_items" "" "gml_types" "auto" END CLASS NAME "Coverage Polygons" #STYLE # COLOR 231 182 21 #END STYLE OUTLINECOLOR 10 255 0 WIDTH 2 END LABEL ... END END END This is the resulting KML: coveragepols 8971800 8971800_2012-04-01 8971799 2131328 0 2 70 2012 0 6ca8dd30-43b8-11e4-9804-00163e437838 0 -53.842662603651206,-16.845382012603906 -53.8416445,-16.911957400000013 -54.050696106229296,-16.914945332724113 -54.029782739899993,-16.81954737480001 -53.842662603651206,-16.845382012603906 .... Everything works fine with GML2,3, geojson, csv, shapezip. This is an example of the gml2 output: -16.914945,-54.050696 -16.819547,-53.841645 -16.845382,-53.842663 -16.911957,-53.841645 -16.914945,-54.050696 -16.819547,-54.029783 -16.845382,-53.842663 8971800 8971800_2012-04-01 8971799 2131328 RapidEye-2 2 70 2012-04-01 14:54:13+00 /data/browse_images/re/itt_it/2012/4/1/8971799/2131328_2012-04-01_8971799_8971800_browse.tif 7870 6ca8dd30-43b8-11e4-9804-00163e437838 SRID=3785;MULTIPOLYGON(((-6020089.94663019 -1884323.72494587,-5993595.17046117 -1884323.72494587,-5993595.17046117 -1910982.75368706,-6020089.94663019 -1910982.75368706,-6020089.94663019 -1884323.72494587))) Any idea what I need to change to get this working properly?? Any hint or a solution is welcome. Peter BlackBridge AG | Sitz Berlin | Amtsgericht Charlottenburg - Registergericht | HRB 152785 | Aufsichtsratsvorsitzender: David Westwood | Vorstand: Ryan Johnson -------------- next part -------------- An HTML attachment was scrubbed... URL: From even.rouault at spatialys.com Wed Sep 24 08:25:12 2014 From: even.rouault at spatialys.com (Even Rouault) Date: Wed, 24 Sep 2014 17:25:12 +0200 Subject: [mapserver-users] problems with KML output in context of WFS GetFeature In-Reply-To: <95f5c0b21f1d4f639132ec8405042470@AMXPR05MB136.eurprd05.prod.outlook.com> References: <95f5c0b21f1d4f639132ec8405042470@AMXPR05MB136.eurprd05.prod.outlook.com> Message-ID: <201409241725.12539.even.rouault@spatialys.com> Peter, looks like you need https://github.com/mapserver/mapserver/issues/4776. Probably on master only currently. Might be backport-able to 6.4 branch as well. Best regards, Even Le mercredi 24 septembre 2014 16:40:11, Peter Freimuth a ?crit : > Hi Mapserver Users, > > We have a problem with creating KML output from a PostGIS db in context of > a GetFeature request version=1.1.0 outputformat=kml. > > The problem is that not all attributes are exported and that the values are > shifted, means the mapping between value ad attribute name is wrong. > > This is the request: > > http://localhost/cgi-bin/catalog_view.fcgi?typename=coveragepols&searchid=6 > ca8dd30-43b8-11e4-9804-00163e437838&SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFe > ature&SRS=EPSG:4326&outputformat=kml > > This is the mapserv config: > > > This is the outputformat declaration from the mapfile: > OUTPUTFORMAT > NAME "kml" > DRIVER "OGR/KML" > MIMETYPE "application/vnd.google-earth.kml.xml" > FORMATOPTION "STORAGE=memory" > FORMATOPTION "FORM=SIMPLE" > FORMATOPTION "FILENAME=catalog_search_result.kml" > END > > This is the layer from the mapfile: > > #------------------------------------------------------------------------- > ---------------------------------------------------# # This layer serves a > WMS representation of the coverage polygons and a WFS for the related > metadata > #------------------------------------------------------------------------- > ---------------------------------------------------# LAYER NAME > "coveragepols" > TYPE POLYGON > STATUS ON > DEBUG 5 > UNITS meters #dd > SIZEUNITS PIXELS > TOLERANCE 3 > TOLERANCEUNITS PIXELS > MINSCALE 1000 > MAXSCALE 10000000 > LABELITEM "label" > LABELMAXSCALEDENOM 1400000 > PROCESSING "CLOSE_CONNECTION=DEFER" > CONNECTIONTYPE POSTGIS > CONNECTION"user=nnnn password=nnnn dbname=nnnn host='localhost' > port=5432" DATA "coverage_poly FROM (SELECT product_identifier, > product_identifier||'_'||cast(acquisition_date as date)::text as label, > imagetake_cat_id as it_cat_id, tile_id, spacecraft_id, cloud_cover, > black_fill, acquisition_date, image_path, id as image_id, > search_request_id as search_id, tileid_stack_order, roll_angle as > view_angle, metadata_url, > st_asewkt(st_transform(footprint,3785)::geometry) as footprint, > st_transform(coveragepoly,3785) as coverage_poly FROM > catalog_search_view.view_service WHERE search_request_id='%searchid%' AND > is_visible=TRUE ORDER BY product_identifier, tile_id, tileid_stack_order > ASC, acquisition_date ASC, cloud_cover ASC, black_fill ASC ) foo USING > UNIQUE image_id USING SRID=3785" PROJECTION > "init=epsg:3785" #Google Projection ( new code ) > #"init=epsg:4326" > END > VALIDATION > 'searchid' > '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}' > 'default_searchid' '5b7257a0-d9df-11e3-b7e2-b4b52fd4696c' END > METADATA > "ows_title" "Coverage Polygons" > "ows_extent" "-20037508.34 -20037508.34 20037508.34 > 20037508.34" #"ows_extent" "-180 -89 180 89" > "wms_srs" "EPSG:3857 EPSG:3785 EPSG:900913 EPSG:4326" #output > "wfs_getfeature_formatlist" "geojson,shapezip,csv" > "wfs_featureid" "image_id" > "wfs_getfeature_formatlist" "geojson,shapezip,csv,kml " > "wfs_geomtype" "Polygon" > "gml_include_items" "all" > "gml_exclude_items" "" > "gml_types" "auto" > END > CLASS > NAME "Coverage Polygons" > #STYLE > # COLOR 231 182 21 > #END > STYLE > OUTLINECOLOR 10 255 0 > WIDTH 2 > END > LABEL > ... > END > END > END > > > This is the resulting KML: > > > > coveragepols > > 8971800 > 8971800_2012-04-01 > > schemaUrl="#coveragepols"> name="product_identifier">8971799 name="label">2131328 name="it_cat_id">0 2 > 70 name="cloud_cover">2012 name="black_fill">0 name="image_path">6ca8dd30-43b8-11e4-9804-00163e437838 > name="view_angle">0 > > -53.842662603651206,-16 > .845382012603906 -53.8416445,-16.911957400000013 > -54.050696106229296,-16.914945332724113 > -54.029782739899993,-16.81954737480001 > -53.842662603651206,-16.845382012603906 oundaryIs> > .... > > Everything works fine with GML2,3, geojson, csv, shapezip. > This is an example of the gml2 output: > > > srsName="EPSG:4326">-16.914945,-54.050696 > -16.819547,-53.841645 > srsName="EPSG:4326"> > -16.845382,-53.842663 -16.911957,-53.841645 -16.914945,-54.050696 > -16.819547,-54.029783 -16.845382,-53.842663 > > 8971800 > 8971800_2012-04-01 > 8971799 > 2131328 > RapidEye-2 > 2 > 70 > 2012-04-01 14:54:13+00 > /data/browse_images/re/itt_it/2012/4/1/8971799/2131328_2012- > 04-01_8971799_8971800_browse.tif > 7870 > 6ca8dd30-43b8-11e4-9804-00163e437838 > > > > SRID=3785;MULTIPOLYGON(((-6020089.94663019 > -1884323.72494587,-5993595.17046117 -1884323.72494587,-5993595.17046117 > -1910982.75368706,-6020089.94663019 -1910982.75368706,-6020089.94663019 > -1884323.72494587))) > > > > Any idea what I need to change to get this working properly?? Any hint or a > solution is welcome. > > Peter > BlackBridge AG | Sitz Berlin | Amtsgericht Charlottenburg - Registergericht > | HRB 152785 | Aufsichtsratsvorsitzender: David Westwood | Vorstand: Ryan > Johnson -- Spatialys - Geospatial professional services http://www.spatialys.com From thomas.bonfort at gmail.com Thu Sep 25 01:48:53 2014 From: thomas.bonfort at gmail.com (thomas bonfort) Date: Thu, 25 Sep 2014 10:48:53 +0200 Subject: [mapserver-users] Parens making GetFeature crash with Mapserver 7 In-Reply-To: References: Message-ID: Hi ?lex, I've tried your testcase (or at least the closest I could reproduce) in the msautotest/wxs directory with export REQUEST_METHOD=POST export QUERY_STRING=map=wfs_filter.map echo 'NAMEfoo (bar)' | mapserv and I get back a reasonable result: missing can you check that your testcase is still failing as there have been quite a few recent changes in that part of the code. regards, thomas On 5 September 2014 12:50, Alexandre Saunier wrote: > Hi, > > I am testing the coming Mapserver 7 and have noticed that WFS GetFeature > requests crash when using parens in a property value filter. Actually only > the opening paren seems to be a problem, not the closing one. > > For instance: > > version="1.1.0" xsi:schemaLocation="http://www.opengis.net/wfs > http://schemas.opengis.net/wfs/1.1.0/wfs.xsd" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> typeName="feature:monuments" srsName="EPSG:3857" > xmlns:feature="http://mapserver.gis.umn.edu/mapserver"> xmlns:ogc="http://www.opengis.net/ogc"> matchCase="false">nomfoo > > works as expected, whereas > > version="1.1.0" xsi:schemaLocation="http://www.opengis.net/wfs > http://schemas.opengis.net/wfs/1.1.0/wfs.xsd" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> typeName="feature:monuments" srsName="EPSG:3857" > xmlns:feature="http://mapserver.gis.umn.edu/mapserver"> xmlns:ogc="http://www.opengis.net/ogc"> matchCase="false">nomfoo > (bar) > > returns > > version="1.1.0" xmlns:ows="http://www.opengis.net/ows" language="en-US" > xsi:schemaLocation="http://www.opengis.net/ows > http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd"> > > msWFSGetFeature(): WFS server error. Wrong number of > filter elements, one filter must be specified for each feature type listed > in the TYPENAME parameter. > > > > Both requests work fine with Mapserver 6.0.1. > > Is it a known problem with Mapserver 7? No idea if this happens with > intermediate Mapserver versions. > I have found no issue about that on Mapserver's github. > > Thanks, > Alexandre > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From Tom.Kralidis at ec.gc.ca Thu Sep 25 04:03:51 2014 From: Tom.Kralidis at ec.gc.ca (Kralidis,Tom [Ontario]) Date: Thu, 25 Sep 2014 07:03:51 -0400 Subject: [mapserver-users] bash vulnerability Message-ID: Echoing Oliver's tweet: https://twitter.com/oltonn/status/515039547944869888 http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-6271 From Robert.Burgholzer at deq.virginia.gov Thu Sep 25 04:28:13 2014 From: Robert.Burgholzer at deq.virginia.gov (Burgholzer, Robert (DEQ)) Date: Thu, 25 Sep 2014 11:28:13 +0000 Subject: [mapserver-users] Leaflet + OpenMap + Mapserver WMS Message-ID: <77F5F8FA4B407F43BFCFD3FC34789691699B8C@COVMSGCES-MBX01> Running afoul of projections conflict in the setup with the following error: "msWMSLoadGetMapParams(): WMS server error. Invalid SRS given : SRS must be valid for all requested layers." All layers in my Mapfile have an EPSG of 4326, but the base layer of my map in Leaflet is OpenMap which I understand comes in with the google projection 900913? I have done the following: * I added the def for 900913 to the proj4 epsg file (this def was added after compiling mapserver but can't imagine that would matter?): /usr/share/proj/epsg * Compiled Mapserver with proj4 enabled (--with-proj4) * Set allowable 900913, 4326, and 4269 in my mapfile projection block (block shown below) * Set "debug 5" in my mapfile but received no other info about this issue (like what proj is being requested by Leaflet) Mapfile excerpts: PROJECTION "init=epsg:900913" "init=epsg:4269" "init=epsg:4326" END Robert Burgholzer Surface Water Modeler Virginia DEQ Office of Surface and Ground Water Supply 804-869-3066 From Michael.Smith at erdc.dren.mil Thu Sep 25 05:23:13 2014 From: Michael.Smith at erdc.dren.mil (Smith, Michael ERDC-RDE-CRREL-NH) Date: Thu, 25 Sep 2014 12:23:13 +0000 Subject: [mapserver-users] [EXTERNAL] Leaflet + OpenMap + Mapserver WMS Message-ID: Robert, You need to set a single value in your mapfile projection block and then set the list of allowed projections in your map web metadata block. http://mapserver.org/ogc/wms_server.html#setup-a-mapfile-for-your-wms Basically you need this part WEB ... METADATA "wms_title" "WMS Demo Server" "wms_onlineresource" "http://my.host.com/cgi-bin/mapserv?map=wms.map&" "wms_srs" "EPSG:3857 EPSG:4269 EPSG:4326" END END And note that you should use EPSG:3857 rather than 900913 (if you can). 3857 is the official code, 900913 was a hack added temporary code. Mike -- Michael Smith US Army Corps Remote Sensing GIS/Center On 9/25/14, 7:28 AM, "Burgholzer, Robert (DEQ)" wrote: >Running afoul of projections conflict in the setup with the following >error: >"msWMSLoadGetMapParams(): WMS server error. Invalid SRS given : SRS must >be valid for all requested layers." > >All layers in my Mapfile have an EPSG of 4326, but the base layer of my >map in Leaflet is OpenMap which I understand comes in with the google >projection 900913? > >I have done the following: >* I added the def for 900913 to the proj4 epsg file (this def was added >after compiling mapserver but can't imagine that would matter?): >/usr/share/proj/epsg >* Compiled Mapserver with proj4 enabled (--with-proj4) >* Set allowable 900913, 4326, and 4269 in my mapfile projection block >(block shown below) >* Set "debug 5" in my mapfile but received no other info about this issue >(like what proj is being requested by Leaflet) > > >Mapfile excerpts: > >PROJECTION > "init=epsg:900913" > "init=epsg:4269" > "init=epsg:4326" >END > > > >Robert Burgholzer >Surface Water Modeler >Virginia DEQ Office of Surface and Ground Water Supply >804-869-3066 > >_______________________________________________ >mapserver-users mailing list >mapserver-users at lists.osgeo.org >http://lists.osgeo.org/mailman/listinfo/mapserver-users From jmckenna at gatewaygeomatics.com Thu Sep 25 05:52:30 2014 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Thu, 25 Sep 2014 09:52:30 -0300 Subject: [mapserver-users] Leaflet + OpenMap + Mapserver WMS In-Reply-To: <77F5F8FA4B407F43BFCFD3FC34789691699B8C@COVMSGCES-MBX01> References: <77F5F8FA4B407F43BFCFD3FC34789691699B8C@COVMSGCES-MBX01> Message-ID: <5424100E.8080406@gatewaygeomatics.com> On 2014-09-25 8:28 AM, Burgholzer, Robert (DEQ) wrote: > Running afoul of projections conflict in the setup with the following error: > "msWMSLoadGetMapParams(): WMS server error. Invalid SRS given : SRS must be valid for all requested layers." > > All layers in my Mapfile have an EPSG of 4326, but the base layer of my map in Leaflet is OpenMap which I understand comes in with the google projection 900913? > > I have done the following: > * I added the def for 900913 to the proj4 epsg file (this def was added after compiling mapserver but can't imagine that would matter?): /usr/share/proj/epsg > * Compiled Mapserver with proj4 enabled (--with-proj4) > * Set allowable 900913, 4326, and 4269 in my mapfile projection block (block shown below) > * Set "debug 5" in my mapfile but received no other info about this issue (like what proj is being requested by Leaflet) > > > Mapfile excerpts: > > PROJECTION > "init=epsg:900913" > "init=epsg:4269" > "init=epsg:4326" > END > > Robert, as Mike said, you are declaring your projections wrong. Best way to learn how is to follow an example mapfile: http://mapserver.org/ogc/wms_server.html#sample-wms-server-mapfile -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ From jdmorgan at unca.edu Thu Sep 25 07:55:19 2014 From: jdmorgan at unca.edu (jdmorgan) Date: Thu, 25 Sep 2014 10:55:19 -0400 Subject: [mapserver-users] Installing MapServer with FastCGI Message-ID: <54242CD7.9000704@gmail.com> Hello, I am trying to compile a version of MapServer 6.4.1. on CentOS 6. I am at the part where I am doing a CMAKE. I have installed FastCGI already however (following http://linuxwave.blogspot.com/2010/08/installing-apache-modfastcgifastcgi.html). However, I am not really sure where it installed which brings me to my issue. Currently here is the error I get when running the CMAKE: /CMake Error at CMakeLists.txt:49 (message):/ /FCGI library/component/dependency could not be found./ /HINTS:/ /- disable FCGI support by adding -DWITH_FCGI=0/ /- add the FCGI install directory to the CMAKE_PREFIX_PATH variable (-DCMAKE_PREFIX_PATH="/path/to/FCGI-install-dir;/path/to/other/dirs"/ /Call Stack (most recent call first):/ /CMakeLists.txt:482 (report_optional_not_found)/ I have tried in my CMAKE script to point to where I think that FCGI (FastCGI) is but this doesn't seem to be working for me.Anyone out there have success with this type of thing that can point me in the right direction? Thanks, -- Derek -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.bonfort at gmail.com Thu Sep 25 09:58:53 2014 From: thomas.bonfort at gmail.com (thomas bonfort) Date: Thu, 25 Sep 2014 18:58:53 +0200 Subject: [mapserver-users] Installing MapServer with FastCGI In-Reply-To: <54242CD7.9000704@gmail.com> References: <54242CD7.9000704@gmail.com> Message-ID: You need to install the fastcgi-devel package (I'm not sure what it's called on centos, libfcgi-devel, libfastcgi-devel, fcgi-devel, ...) regards, thomas On 25 September 2014 16:55, jdmorgan wrote: > Hello, > > I am trying to compile a version of MapServer 6.4.1. on CentOS 6. > > > > I am at the part where I am doing a CMAKE. I have installed FastCGI already > however (following > http://linuxwave.blogspot.com/2010/08/installing-apache-modfastcgifastcgi.html). > However, I am not really sure where it installed which brings me to my > issue. > > > Currently here is the error I get when running the CMAKE: > > > > CMake Error at CMakeLists.txt:49 (message): > > FCGI library/component/dependency could not be found. > > HINTS: > > - disable FCGI support by adding -DWITH_FCGI=0 > > - add the FCGI install directory to the CMAKE_PREFIX_PATH variable > (-DCMAKE_PREFIX_PATH="/path/to/FCGI-install-dir;/path/to/other/dirs" > > Call Stack (most recent call first): > > CMakeLists.txt:482 (report_optional_not_found) > > > > I have tried in my CMAKE script to point to where I think that FCGI > (FastCGI) is but this doesn't seem to be working for me. Anyone out there > have success with this type of thing that can point me in the right > direction? > > Thanks, > > -- > Derek > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From anddreas2 at yahoo.gr Fri Sep 26 00:17:09 2014 From: anddreas2 at yahoo.gr (Andreas Douvalis) Date: Fri, 26 Sep 2014 08:17:09 +0100 Subject: [mapserver-users] Mapcahe curl error certificate verify failed Message-ID: <1411715829.19254.YahooMailNeo@web171803.mail.ir2.yahoo.com> Hi! I have one self-signded certificate for my local site (that I have for develpment-test purposes) and I want to get rid off certificate verification error. How can I pass in curl the option: CURLOPT_SSL_VERIFYPEER false. I tried with the environments in apache conf: SetEnv CURL_CA_BUNDLE "/ms4w/Apache/conf/ca-bundle/cacert.pem" SetEnv CURLOPT_SSL_VERIFYPEER false SetEnv CURLOPT_SSL_VERIFYHOST 1 SetEnv CURLOPT_CAINFO "/ms4w/Apache/conf/ca-bundle/cacert.pem" but the above solution it does not work. I tried with inserting in my windows system environment variables the above values but, still i does not work. The error message is : curl failed to request url https://localhost/cgi-bin/mapserv.exe?map=user.map&VERSION=1.1.1&..... : SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed Maybe in cgi mode you can not pass environments? PLEASE HELP -------------- next part -------------- An HTML attachment was scrubbed... URL: From jaykayone at gmail.com Fri Sep 26 02:00:45 2014 From: jaykayone at gmail.com (Jeff Konnen) Date: Fri, 26 Sep 2014 11:00:45 +0200 Subject: [mapserver-users] Displacing coincident points Message-ID: Hi everybody, I've been looking into the mapserver documentation to find a way to automagically displace coincident points. There does not seem to be a way to do this. Other vendors suggest that using labelling for the placement of the symbols could be a solution ( http://blogs.esri.com/esri/arcgis/2007/08/27/displaying-coincident-points/) or propose tools for diperse markers [1] / displacement [2]. I've not managed to get any good result using Mapserver though. Has anyone already done something similar? TiA Jeff [1] http://blogs.esri.com/esri/arcgis/2008/08/01/how-to-scatter-marker-symbols-for-stacked-or-clustered-point-features/ [2] http://docs.qgis.org/2.2/en/docs/user_manual/working_with_vector/vector_properties.html -> Point displacement style -- Jeff Konnen -------------- next part -------------- An HTML attachment was scrubbed... URL: From even.rouault at spatialys.com Fri Sep 26 09:48:57 2014 From: even.rouault at spatialys.com (Even Rouault) Date: Fri, 26 Sep 2014 18:48:57 +0200 Subject: [mapserver-users] Parens making GetFeature crash with Mapserver7 In-Reply-To: References: Message-ID: <201409261848.57657.even.rouault@spatialys.com> Fixed by https://github.com/mapserver/mapserver/issues/4986 Le jeudi 25 septembre 2014 10:48:53, thomas bonfort a ?crit : > Hi ?lex, > > I've tried your testcase (or at least the closest I could reproduce) > in the msautotest/wxs directory with > > export REQUEST_METHOD=POST > export QUERY_STRING=map=wfs_filter.map > echo ' service="WFS" version="1.1.0" > xsi:schemaLocation="http://www.opengis.net/wfs > http://schemas.opengis.net/wfs/1.1.0/wfs.xsd" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> typeName="popplace" srsName="EPSG:4326" > xmlns:feature="http://mapserver.gis.umn.edu/mapserver"> xmlns:ogc="http://www.opengis.net/ogc"> matchCase="false">NAMEfoo > (bar) etFeature>' > > | mapserv > > and I get back a reasonable result: > > > xmlns:ms="http://mapserver.gis.umn.edu/mapserver" > xmlns:gml="http://www.opengis.net/gml" > xmlns:wfs="http://www.opengis.net/wfs" > xmlns:ogc="http://www.opengis.net/ogc" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://mapserver.gis.umn.edu/mapserver > http://localhost/path/to/wfs_simple?SERVICE=WFS&VERSION=1.1.0&REQUE > ST=DescribeFeatureType&TYPENAME=popplace&OUTPUTFORMAT=text/xml;%20s > ubtype=gml/3.1.1 http://www.opengis.net/wfs > http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"> > > missing > > > > > can you check that your testcase is still failing as there have been > quite a few recent changes in that part of the code. > > regards, > thomas > > On 5 September 2014 12:50, Alexandre Saunier > > wrote: > > Hi, > > > > I am testing the coming Mapserver 7 and have noticed that WFS GetFeature > > requests crash when using parens in a property value filter. Actually > > only the opening paren seems to be a problem, not the closing one. > > > > For instance: > > > > > version="1.1.0" xsi:schemaLocation="http://www.opengis.net/wfs > > http://schemas.opengis.net/wfs/1.1.0/wfs.xsd" > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > typeName="feature:monuments" srsName="EPSG:3857" > > xmlns:feature="http://mapserver.gis.umn.edu/mapserver"> > xmlns:ogc="http://www.opengis.net/ogc"> > matchCase="false">nomfo > > o > Feature> > > > > works as expected, whereas > > > > > version="1.1.0" xsi:schemaLocation="http://www.opengis.net/wfs > > http://schemas.opengis.net/wfs/1.1.0/wfs.xsd" > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > typeName="feature:monuments" srsName="EPSG:3857" > > xmlns:feature="http://mapserver.gis.umn.edu/mapserver"> > xmlns:ogc="http://www.opengis.net/ogc"> > matchCase="false">nomfo > > o > > (bar) > s:GetFeature> > > > > returns > > > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1.0" > > xmlns:ows="http://www.opengis.net/ows" language="en-US" > > xsi:schemaLocation="http://www.opengis.net/ows > > http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd"> > > > > > > > > msWFSGetFeature(): WFS server error. Wrong number > > of > > > > filter elements, one filter must be specified for each feature type > > listed in the TYPENAME parameter. > > > > > > > > > > > > Both requests work fine with Mapserver 6.0.1. > > > > Is it a known problem with Mapserver 7? No idea if this happens with > > intermediate Mapserver versions. > > I have found no issue about that on Mapserver's github. > > > > Thanks, > > Alexandre > > > > _______________________________________________ > > mapserver-users mailing list > > mapserver-users at lists.osgeo.org > > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Spatialys - Geospatial professional services http://www.spatialys.com From anddreas2 at yahoo.gr Fri Sep 26 20:22:03 2014 From: anddreas2 at yahoo.gr (Andreas Douvalis) Date: Sat, 27 Sep 2014 04:22:03 +0100 Subject: [mapserver-users] Mapcahe curl error certificate verify failed Message-ID: <1411788123.67720.YahooMailNeo@web171803.mail.ir2.yahoo.com> I forgot to mention that the issue has to do with mapcache apache module. Mapcache uses curl to get mapserver image. The question is: How can I disable certificate verification of curl for mapcahe apache module? Is that possible in mapcahe configuration file or in apache conf? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jukka.rahkonen at mmmtike.fi Sat Sep 27 12:51:05 2014 From: jukka.rahkonen at mmmtike.fi (Rahkonen Jukka (Tike)) Date: Sat, 27 Sep 2014 19:51:05 +0000 Subject: [mapserver-users] LAYER example for kernerdensity wanted Message-ID: Hi, I am running MapServer version 6.5-dev on Windows and I suppose it has the support for kerneldensity layers. Could someone show the LAYER part that works with the Natural Earth populated places dataset http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/10m/cultural/ne_10m_populated_places.zip? I have created .qix index but not touched the data in other ways. I have indeed managed to get some coloured stripes out at some scales but what I mostly get is Internal server error (http 500). MS_ERRORFILE does not show any errors and Apache error log is probably recording just this: [Sat Sep 27 21:57:27 2014] [error] [client 127.0.0.1] Premature end of script headers: mapserv.exe My current LAYER (or layers, one for data and one for kerneldensity): LAYER NAME "points" DATA "c:\data\ne\ne_10m_populated_places" TYPE POINT STATUS ON PROJECTION "init=epsg:4326" END debug 5 CLASS STYLE SIZE 5 SYMBOL "circle" COLOR 200 200 200 OUTLINECOLOR 0 0 0 END END END layer name "heatmap" type raster connectiontype kerneldensity connection "points" status on debug 5 #processing "RANGE_COLORSPACE=HSL" processing "KERNELDENSITY_RADIUS=20" processing "KERNELDENSITY_ATTRIBUTE=RANK_MIN" #processing "KERNELDENSITY_COMPUTE_BORDERS=ON" processing "KERNELDENSITY_NORMALIZATION=AUTO" offsite 0 0 0 class style COLORRANGE "#0000ff00" "#0000ffff" DATARANGE 0 32 end style COLORRANGE "#0000ffff" "#ff0000ff" DATARANGE 32 255 end end end What I have tried so far has been to comment out this and that but result seems to be always the same. -Jukka Rahkonen- From jukka.rahkonen at mmmtike.fi Sun Sep 28 09:44:01 2014 From: jukka.rahkonen at mmmtike.fi (Rahkonen Jukka (Tike)) Date: Sun, 28 Sep 2014 16:44:01 +0000 Subject: [mapserver-users] LAYER example for kernerdensity wanted Message-ID: Hi, I believe that this kind of lines appear into the Apache error log when I try to get heatmap to render: [Sun Sep 28 19:37:18 2014] [error] [client 127.0.0.1] GDAL: GDALOpen(MEM:::DATAPOINTER=03359B30,PIXELS=459,LINES=346,BANDS=1,DATATYPE=Byte,PIXELOFFSET=1,LINEOFFSET=459, this=03355E60) succeeds as MEM.\r [Sun Sep 28 19:37:19 2014] [error] [client 127.0.0.1] Premature end of script headers: mapserv.exe [Sun Sep 28 19:37:19 2014] [error] [client 127.0.0.1] GDAL: GDALOpen(MEM:::DATAPOINTER=00FB9B30,PIXELS=459,LINES=346,BANDS=1,DATATYPE=Byte,PIXELOFFSET=1,LINEOFFSET=459, this=00FB5E60) succeeds as MEM.\r -Jukka- Rahkonen, Jukka wrote: > > Hi, > > I am running MapServer version 6.5-dev on Windows and I suppose it has the > support for kerneldensity layers. Could someone show the LAYER part that > works with the Natural Earth populated places dataset > http://www.naturalearthdata.com/http//www.naturalearthdata.com/downloa > d/10m/cultural/ne_10m_populated_places.zip? I have created .qix index but not > touched the data in other ways. > > I have indeed managed to get some coloured stripes out at some scales but > what I mostly get is Internal server error (http 500). MS_ERRORFILE does not > show any errors and Apache error log is probably recording just this: > [Sat Sep 27 21:57:27 2014] [error] [client 127.0.0.1] Premature end of script > headers: mapserv.exe > > My current LAYER (or layers, one for data and one for kerneldensity): > > LAYER > NAME "points" > DATA "c:\data\ne\ne_10m_populated_places" > TYPE POINT > STATUS ON > PROJECTION > "init=epsg:4326" > END > debug 5 > CLASS > STYLE > SIZE 5 > SYMBOL "circle" > COLOR 200 200 200 > OUTLINECOLOR 0 0 0 > END > END > END > layer > name "heatmap" > type raster > connectiontype kerneldensity > connection "points" > status on > debug 5 > #processing "RANGE_COLORSPACE=HSL" > processing "KERNELDENSITY_RADIUS=20" > processing "KERNELDENSITY_ATTRIBUTE=RANK_MIN" > #processing "KERNELDENSITY_COMPUTE_BORDERS=ON" > processing "KERNELDENSITY_NORMALIZATION=AUTO" > offsite 0 0 0 > class > style > COLORRANGE "#0000ff00" "#0000ffff" > DATARANGE 0 32 > end > style > COLORRANGE "#0000ffff" "#ff0000ff" > DATARANGE 32 255 > end > end > end > > What I have tried so far has been to comment out this and that but result seems > to be always the same. > > -Jukka Rahkonen- > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From jukka.rahkonen at mmmtike.fi Mon Sep 29 01:17:21 2014 From: jukka.rahkonen at mmmtike.fi (Rahkonen Jukka (Tike)) Date: Mon, 29 Sep 2014 08:17:21 +0000 Subject: [mapserver-users] LAYER example for kernerdensity wanted Message-ID: Hi Thomas, I have the newest MS4W on the bottom. Then I have downloaded 32-bit GDAL-Mapserver development zip from gisinternals.com http://gisinternals.com/sdk/PackageList.aspx?file=release-1600-gdal-mapserver.zip and changed the contents of the cgi-bin directory by copying all the .dll files from \bin and mapserv.exe from \bin\ms\apps of the gisinternals package. I have no idea about how safe this method is or if it works with PHP MapScript at all. I have only tried to test new features introduced after Mapserver v. 6.2 through WMS. It can well be that my trouble with kerneldensity map is caused by some mismatch with MS4W and the newer components and therefore I would like to see a mapfile that works for someone on some platform with that easily available point data. -Jukka Rahkonen- Thomas RAFFIN wrote: Hi, Could you tell me how you have install / compile MS 6.5-dev on Windows please? does it works with Apache and PHP (PHP MapScript) ? Thanks, Thomas Le 27/09/2014 21:51, Rahkonen Jukka (Tike) a ?crit : Hi, I am running MapServer version 6.5-dev on Windows and I suppose it has the support for kerneldensity layers. Could someone show the LAYER part that works with the Natural Earth populated places dataset http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/10m/cultural/ne_10m_populated_places.zip? I have created .qix index but not touched the data in other ways. I have indeed managed to get some coloured stripes out at some scales but what I mostly get is Internal server error (http 500). MS_ERRORFILE does not show any errors and Apache error log is probably recording just this: [Sat Sep 27 21:57:27 2014] [error] [client 127.0.0.1] Premature end of script headers: mapserv.exe My current LAYER (or layers, one for data and one for kerneldensity): LAYER NAME "points" DATA "c:\data\ne\ne_10m_populated_places" TYPE POINT STATUS ON PROJECTION "init=epsg:4326" END debug 5 CLASS STYLE SIZE 5 SYMBOL "circle" COLOR 200 200 200 OUTLINECOLOR 0 0 0 END END END layer name "heatmap" type raster connectiontype kerneldensity connection "points" status on debug 5 #processing "RANGE_COLORSPACE=HSL" processing "KERNELDENSITY_RADIUS=20" processing "KERNELDENSITY_ATTRIBUTE=RANK_MIN" #processing "KERNELDENSITY_COMPUTE_BORDERS=ON" processing "KERNELDENSITY_NORMALIZATION=AUTO" offsite 0 0 0 class style COLORRANGE "#0000ff00" "#0000ffff" DATARANGE 0 32 end style COLORRANGE "#0000ffff" "#ff0000ff" DATARANGE 32 255 end end end What I have tried so far has been to comment out this and that but result seems to be always the same. -Jukka Rahkonen- _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Thomas RAFFIN Chef de Projet Internet traffin at sirap.fr [Sirap] Tel : 04 75 72 84 10 Fax : 04 75 70 07 98 Rue Paul Louis H?roult - BP 253 26106 Romans cedex -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 5943 bytes Desc: image001.png URL: From thomas.bonfort at gmail.com Mon Sep 29 01:33:42 2014 From: thomas.bonfort at gmail.com (thomas bonfort) Date: Mon, 29 Sep 2014 10:33:42 +0200 Subject: [mapserver-users] LAYER example for kernerdensity wanted In-Reply-To: References: Message-ID: Jukka, The msautotest suite has some heatmap examples you can work from: https://github.com/mapserver/msautotest/blob/master/gdal/heat.map -- thomas On 29 September 2014 10:17, Rahkonen Jukka (Tike) wrote: > Hi Thomas, > > > > I have the newest MS4W on the bottom. Then I have downloaded 32-bit > GDAL-Mapserver development zip from gisinternals.com > http://gisinternals.com/sdk/PackageList.aspx?file=release-1600-gdal-mapserver.zip > and changed the contents of the cgi-bin directory by copying all the .dll > files from \bin and mapserv.exe from \bin\ms\apps of the gisinternals > package. I have no idea about how safe this method is or if it works with > PHP MapScript at all. I have only tried to test new features introduced > after Mapserver v. 6.2 through WMS. > > > > It can well be that my trouble with kerneldensity map is caused by some > mismatch with MS4W and the newer components and therefore I would like to > see a mapfile that works for someone on some platform with that easily > available point data. > > > > -Jukka Rahkonen- > > > > Thomas RAFFIN wrote: > > > > Hi, > > Could you tell me how you have install / compile MS 6.5-dev on Windows > please? > does it works with Apache and PHP (PHP MapScript) ? > > Thanks, > > Thomas > > Le 27/09/2014 21:51, Rahkonen Jukka (Tike) a ?crit : > > Hi, > > > > I am running MapServer version 6.5-dev on Windows and I suppose it has the support for kerneldensity layers. Could someone show the LAYER part that works with the Natural Earth populated places dataset http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/10m/cultural/ne_10m_populated_places.zip ? I have created .qix index but not touched the data in other ways. > > > > I have indeed managed to get some coloured stripes out at some scales but what I mostly get is Internal server error (http 500). MS_ERRORFILE does not show any errors and Apache error log is probably recording just this: > > [Sat Sep 27 21:57:27 2014] [error] [client 127.0.0.1] Premature end of script headers: mapserv.exe > > > > My current LAYER (or layers, one for data and one for kerneldensity): > > > > LAYER > > NAME "points" > > DATA "c:\data\ne\ne_10m_populated_places" > > TYPE POINT > > STATUS ON > > PROJECTION > > "init=epsg:4326" > > END > > debug 5 > > CLASS > > STYLE > > SIZE 5 > > SYMBOL "circle" > > COLOR 200 200 200 > > OUTLINECOLOR 0 0 0 > > END > > END > > END > > layer > > name "heatmap" > > type raster > > connectiontype kerneldensity > > connection "points" > > status on > > debug 5 > > #processing "RANGE_COLORSPACE=HSL" > > processing "KERNELDENSITY_RADIUS=20" > > processing "KERNELDENSITY_ATTRIBUTE=RANK_MIN" > > #processing "KERNELDENSITY_COMPUTE_BORDERS=ON" > > processing "KERNELDENSITY_NORMALIZATION=AUTO" > > offsite 0 0 0 > > class > > style > > COLORRANGE "#0000ff00" "#0000ffff" > > DATARANGE 0 32 > > end > > style > > COLORRANGE "#0000ffff" "#ff0000ff" > > DATARANGE 32 255 > > end > > end > > end > > > > What I have tried so far has been to comment out this and that but result seems to be always the same. > > > > -Jukka Rahkonen- > > _______________________________________________ > > mapserver-users mailing list > > mapserver-users at lists.osgeo.org > > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > > > > > > > -- > > Thomas RAFFIN > Chef de Projet Internet > traffin at sirap.fr > > [image: Sirap] > > Tel : 04 75 72 84 10 > Fax : 04 75 70 07 98 > Rue Paul Louis H?roult - BP 253 > 26106 Romans cedex > > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 5943 bytes Desc: not available URL: From jukka.rahkonen at mmmtike.fi Mon Sep 29 02:22:06 2014 From: jukka.rahkonen at mmmtike.fi (Rahkonen Jukka (Tike)) Date: Mon, 29 Sep 2014 09:22:06 +0000 Subject: [mapserver-users] LAYER example for kernerdensity wanted Message-ID: Thanks Thomas, Now I know for sure that my Mapserver just can?t handle it. With that mapfile and the pnts.shp file it is using all I get is still ?Premature end of script headers: mapserv.exe?. I will test again when I get a proper Mapserver 6.5 / 7.0 Windows build in my hands. -Jukka- thomas bonfort wrote: Jukka, The msautotest suite has some heatmap examples you can work from: https://github.com/mapserver/msautotest/blob/master/gdal/heat.map -- thomas On 29 September 2014 10:17, Rahkonen Jukka (Tike) > wrote: Hi Thomas, I have the newest MS4W on the bottom. Then I have downloaded 32-bit GDAL-Mapserver development zip from gisinternals.com http://gisinternals.com/sdk/PackageList.aspx?file=release-1600-gdal-mapserver.zip and changed the contents of the cgi-bin directory by copying all the .dll files from \bin and mapserv.exe from \bin\ms\apps of the gisinternals package. I have no idea about how safe this method is or if it works with PHP MapScript at all. I have only tried to test new features introduced after Mapserver v. 6.2 through WMS. It can well be that my trouble with kerneldensity map is caused by some mismatch with MS4W and the newer components and therefore I would like to see a mapfile that works for someone on some platform with that easily available point data. -Jukka Rahkonen- Thomas RAFFIN wrote: Hi, Could you tell me how you have install / compile MS 6.5-dev on Windows please? does it works with Apache and PHP (PHP MapScript) ? Thanks, Thomas Le 27/09/2014 21:51, Rahkonen Jukka (Tike) a ?crit : Hi, I am running MapServer version 6.5-dev on Windows and I suppose it has the support for kerneldensity layers. Could someone show the LAYER part that works with the Natural Earth populated places dataset http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/10m/cultural/ne_10m_populated_places.zip? I have created .qix index but not touched the data in other ways. I have indeed managed to get some coloured stripes out at some scales but what I mostly get is Internal server error (http 500). MS_ERRORFILE does not show any errors and Apache error log is probably recording just this: [Sat Sep 27 21:57:27 2014] [error] [client 127.0.0.1] Premature end of script headers: mapserv.exe My current LAYER (or layers, one for data and one for kerneldensity): LAYER NAME "points" DATA "c:\data\ne\ne_10m_populated_places" TYPE POINT STATUS ON PROJECTION "init=epsg:4326" END debug 5 CLASS STYLE SIZE 5 SYMBOL "circle" COLOR 200 200 200 OUTLINECOLOR 0 0 0 END END END layer name "heatmap" type raster connectiontype kerneldensity connection "points" status on debug 5 #processing "RANGE_COLORSPACE=HSL" processing "KERNELDENSITY_RADIUS=20" processing "KERNELDENSITY_ATTRIBUTE=RANK_MIN" #processing "KERNELDENSITY_COMPUTE_BORDERS=ON" processing "KERNELDENSITY_NORMALIZATION=AUTO" offsite 0 0 0 class style COLORRANGE "#0000ff00" "#0000ffff" DATARANGE 0 32 end style COLORRANGE "#0000ffff" "#ff0000ff" DATARANGE 32 255 end end end What I have tried so far has been to comment out this and that but result seems to be always the same. -Jukka Rahkonen- _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Thomas RAFFIN Chef de Projet Internet traffin at sirap.fr [Sirap] Tel : 04 75 72 84 10 Fax : 04 75 70 07 98 Rue Paul Louis H?roult - BP 253 26106 Romans cedex _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 5943 bytes Desc: image001.png URL: From stefancarl89 at web.de Tue Sep 30 06:02:14 2014 From: stefancarl89 at web.de (Stefan Carl) Date: Tue, 30 Sep 2014 15:02:14 +0200 Subject: [mapserver-users] PHP Mapscript GetLegendGraphic and GetFeatureInfo Problem Message-ID: An HTML attachment was scrubbed... URL: From jmckenna at gatewaygeomatics.com Tue Sep 30 06:19:59 2014 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Tue, 30 Sep 2014 10:19:59 -0300 Subject: [mapserver-users] PHP Mapscript GetLegendGraphic and GetFeatureInfo Problem In-Reply-To: References: Message-ID: <542AADFF.2000003@gatewaygeomatics.com> On 2014-09-30 10:02 AM, Stefan Carl wrote: > Dear list, > i use mapserver 6.4.1 with php Mapscript and i want to build a WMS which > deals with Layers from a remote WMS. So i write a php-Script which > creates a map object with all parameters. > After building this php-Script at the webserver (/var/www/test) i can > access the Service with a getCapabilities Request > (...test.php?service=wms&version=1.1.1&request=getCapabilities) and the > service works e.g. in QGIS 2.2. > Then 2 problems appear: > - if i want to get the legend of a Layer in QGIS 2.2 with the > getLegendGraphic Request but it fails (server replies internal server error) > - the getFeatureInfo response only serves the content type text/plain (i > already changed wms_feature_info_mime_type to application/vnd.ogc.gml: > nothing happens) > I try to find out the problem by checking other clients like gvSIG and > uDig but there the same problems appear. I build the wms with the same > parameters with a Mapfile and the getLegendGraphic and getFeatureinfo > Request work. I also compare the getCapabilities-Response of the service > build by the php-file and the service build by the mapfile and both > response-xml are equal. > I think there is a problem in the php-file. Maybe it is a problem with > sld-support (related to the: getLegendGraphic problem) or gml-support > (related to the: getFeatureInfo problem) but i'm not sure. > I hope somebody can help me. > Best regards > Stefan When I hit walls like this with WMS services, as painful as it may sound, I manually write the full request in the browser, and check the response there (if you have trouble writing all the parameters, you can check your Apache logs or QGIS logs for the full request). That way you take out any other possible software problems (such as clients like QGIS). -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ From alexandre.saunier at camptocamp.com Tue Sep 30 08:36:32 2014 From: alexandre.saunier at camptocamp.com (Alexandre Saunier) Date: Tue, 30 Sep 2014 17:36:32 +0200 Subject: [mapserver-users] Parens making GetFeature crash with Mapserver7 In-Reply-To: <201409261848.57657.even.rouault@spatialys.com> References: <201409261848.57657.even.rouault@spatialys.com> Message-ID: Hello all, I have just tested a new build of Mapserver 7 (based upon the HEAD of yesterday I think) and the problem is actually fixed. Thanks a lot for the quick fix! Alexandre 2014-09-26 18:48 GMT+02:00 Even Rouault : > Fixed by https://github.com/mapserver/mapserver/issues/4986 > > Le jeudi 25 septembre 2014 10:48:53, thomas bonfort a ?crit : > > Hi ?lex, > > > > I've tried your testcase (or at least the closest I could reproduce) > > in the msautotest/wxs directory with > > > > export REQUEST_METHOD=POST > > export QUERY_STRING=map=wfs_filter.map > > echo ' > service="WFS" version="1.1.0" > > xsi:schemaLocation="http://www.opengis.net/wfs > > http://schemas.opengis.net/wfs/1.1.0/wfs.xsd" > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > typeName="popplace" srsName="EPSG:4326" > > xmlns:feature="http://mapserver.gis.umn.edu/mapserver"> > xmlns:ogc="http://www.opengis.net/ogc"> > > matchCase="false">NAMEfoo > > > (bar) > etFeature>' > > > > | mapserv > > > > and I get back a reasonable result: > > > > > > > xmlns:ms="http://mapserver.gis.umn.edu/mapserver" > > xmlns:gml="http://www.opengis.net/gml" > > xmlns:wfs="http://www.opengis.net/wfs" > > xmlns:ogc="http://www.opengis.net/ogc" > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > xsi:schemaLocation="http://mapserver.gis.umn.edu/mapserver > > > http://localhost/path/to/wfs_simple?SERVICE=WFS&VERSION=1.1.0&REQUE > > > ST=DescribeFeatureType&TYPENAME=popplace&OUTPUTFORMAT=text/xml;%20s > > ubtype=gml/3.1.1 http://www.opengis.net/wfs > > http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"> > > > > missing > > > > > > > > > > can you check that your testcase is still failing as there have been > > quite a few recent changes in that part of the code. > > > > regards, > > thomas > > > > On 5 September 2014 12:50, Alexandre Saunier > > > > wrote: > > > Hi, > > > > > > I am testing the coming Mapserver 7 and have noticed that WFS > GetFeature > > > requests crash when using parens in a property value filter. Actually > > > only the opening paren seems to be a problem, not the closing one. > > > > > > For instance: > > > > > > > > version="1.1.0" xsi:schemaLocation="http://www.opengis.net/wfs > > > http://schemas.opengis.net/wfs/1.1.0/wfs.xsd" > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > > typeName="feature:monuments" srsName="EPSG:3857" > > > xmlns:feature="http://mapserver.gis.umn.edu/mapserver"> > > xmlns:ogc="http://www.opengis.net/ogc"> > > > matchCase="false">nomfo > > > > o > > Feature> > > > > > > works as expected, whereas > > > > > > > > version="1.1.0" xsi:schemaLocation="http://www.opengis.net/wfs > > > http://schemas.opengis.net/wfs/1.1.0/wfs.xsd" > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > > typeName="feature:monuments" srsName="EPSG:3857" > > > xmlns:feature="http://mapserver.gis.umn.edu/mapserver"> > > xmlns:ogc="http://www.opengis.net/ogc"> > > > matchCase="false">nomfo > > > o > > > > (bar) > > s:GetFeature> > > > > > > returns > > > > > > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1.0" > > > xmlns:ows="http://www.opengis.net/ows" language="en-US" > > > xsi:schemaLocation="http://www.opengis.net/ows > > > http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd"> > > > > > > exceptionCode="InvalidParameterValue"> > > > > > > msWFSGetFeature(): WFS server error. Wrong > number > > > of > > > > > > filter elements, one filter must be specified for each feature type > > > listed in the TYPENAME parameter. > > > > > > > > > > > > > > > > > > Both requests work fine with Mapserver 6.0.1. > > > > > > Is it a known problem with Mapserver 7? No idea if this happens with > > > intermediate Mapserver versions. > > > I have found no issue about that on Mapserver's github. > > > > > > Thanks, > > > Alexandre > > > > > > _______________________________________________ > > > mapserver-users mailing list > > > mapserver-users at lists.osgeo.org > > > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > > > _______________________________________________ > > mapserver-users mailing list > > mapserver-users at lists.osgeo.org > > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > -- > Spatialys - Geospatial professional services > http://www.spatialys.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dejan.gambin at coin.hr Wed Sep 24 06:54:29 2014 From: dejan.gambin at coin.hr (Dejan Gambin) Date: Wed, 24 Sep 2014 15:54:29 +0200 Subject: [mapserver-users] Label wrapping question In-Reply-To: References: Message-ID: Here is my situtation - I can fit max 20 chars in my layout. For me, it seems logical to define maxlength of 20 and not worry any more because this is indeed my maximum, and anything above this must be cut. Since it cuts on the word boundary (by setting wrap character to space), it must should cut before. Anyway, here are some screen captures. In "before" situation, I had to adjust maxlength (from 20 to 15 to 13) to get good enough result. In "after" situation, I just put maxlength to 20 and it seems ok. Btw, this is just the proof of concept. I didn't make change for label->encoding part, and also, it currently crashes in certain situation if I have a word in label text longer than maxlength. It should all be revised and modified. regards, dejan -------------- next part -------------- A non-text attachment was scrubbed... Name: After_maxlength20.png Type: image/png Size: 66443 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Before_maxlength13.png Type: image/png Size: 62580 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Before_maxlength15.png Type: image/png Size: 61262 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Before_maxlength20.png Type: image/png Size: 53958 bytes Desc: not available URL: -------------- next part -------------- On 24. ruj. 2014., at 15:15, Rahkonen Jukka (Tike) wrote: > Hi, > > Send us some screen captures of wrapped labels before and after your change. I feel that your change would make sense. > > -Jukka Rahkonen- > > Dejan Gambin wrote: > >> In the meantime, I have slightly changed msWrapText() function in maplabel.c to >> get what I wanted. If someone is interested I can share the short piece of code. >> >> regards, dejan >> >> >> On 23. ruj. 2014., at 12:32, Dejan Gambin wrote: >> >>> Hi, >>> >>> I have some users wishing to use long legend labels, but they don't fit well on >> my site. As I can see, MapServer is doing this - if maxlength > 0 and wrap = 'char' >> (usually space), insert a new line at the FIRST wrap character found AFTER >> maxlength character. This is leading to some bad results (label not wrapped or >> wrapped too early). >>> >>> My question is - shouldn't it be better to wrap at the LAST wrap character >> BEFORE maxlength character? Is this maybe implemented somewhere or there >> are plans for this? >>> >>> Thanks very much >>> >>> regards, dejan >>> _______________________________________________ >>> mapserver-users mailing list >>> mapserver-users at lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users From francesco.pirotti at unipd.it Thu Sep 25 08:58:10 2014 From: francesco.pirotti at unipd.it (Francesco Pirotti - UNIPD) Date: Thu, 25 Sep 2014 17:58:10 +0200 Subject: [mapserver-users] Installing MapServer with FastCGI In-Reply-To: <54242CD7.9000704@gmail.com> References: <54242CD7.9000704@gmail.com> Message-ID: <54243B92.5030804@unipd.it> Did you install the fast-cgi *development *files? I think you installed the apache fcgi module, but not the dependencies so mapserver compilation is missing the header files. Something like: /apt/-/get/install libfcgi-/dev /should work for installing the required dependencies. Google a bit for that. Cheers, Francesco *FRANCESCO PIROTTI * *CIRGEO Interdepartmental Research Center in Geomatics * *TESAF Department of Land, Environment, Agriculture and Forestry * Universit? di Padova Via dell'Universit?, 16 35020 -- Legnaro (PD),Italy Tel: +39 049 827 2710 Cell.: +39 392 395 2067 Email: francesco.pirotti at unipd.it Skype: francesco197576 Web: http://www.cirgeo.unipd.it/fp Il 25/09/2014 16:55, jdmorgan ha scritto: > > Hello, > > I am trying to compile a version of MapServer 6.4.1. on CentOS 6. > > I am at the part where I am doing a CMAKE. I have installed FastCGI > already however (following > http://linuxwave.blogspot.com/2010/08/installing-apache-modfastcgifastcgi.html). > However, I am not really sure where it installed which brings me to my > issue. > > > Currently here is the error I get when running the CMAKE: > > /CMake Error at CMakeLists.txt:49 (message):/ > > /FCGI library/component/dependency could not be found./ > > /HINTS:/ > > /- disable FCGI support by adding -DWITH_FCGI=0/ > > /- add the FCGI install directory to the CMAKE_PREFIX_PATH variable > (-DCMAKE_PREFIX_PATH="/path/to/FCGI-install-dir;/path/to/other/dirs"/ > > /Call Stack (most recent call first):/ > > /CMakeLists.txt:482 (report_optional_not_found)/ > > I have tried in my CMAKE script to point to where I think that FCGI > (FastCGI) is but this doesn't seem to be working for me.Anyone out > there have success with this type of thing that can point me in the > right direction? > > Thanks, > > -- > Derek > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users -- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: logomail2.jpg Type: image/jpeg Size: 9099 bytes Desc: not available URL: From jdmorgan at unca.edu Thu Sep 25 09:26:43 2014 From: jdmorgan at unca.edu (jdmorgan) Date: Thu, 25 Sep 2014 12:26:43 -0400 Subject: [mapserver-users] Installing MapServer with FastCGI In-Reply-To: <54243B92.5030804@unipd.it> References: <54242CD7.9000704@gmail.com> <54243B92.5030804@unipd.it> Message-ID: <54244243.7080701@gmail.com> Hi Francesco, You were right and I needed to do a /yum install fcgi-devel/ Thanks so much for your help. Derek On 9/25/2014 11:58 AM, Francesco Pirotti - UNIPD wrote: > Did you install the fast-cgi *development *files? I think you > installed the apache fcgi module, but not the dependencies so > mapserver compilation is missing the header files. > Something like: > > /apt/-/get/install libfcgi-/dev > > /should work for installing the required dependencies. > Google a bit for that. > Cheers, > Francesco > > *FRANCESCO PIROTTI * > > *CIRGEO Interdepartmental Research Center in Geomatics * > *TESAF Department of Land, Environment, Agriculture and Forestry * > > Universit? di Padova > Via dell'Universit?, 16 > 35020 -- Legnaro (PD),Italy > > Tel: +39 049 827 2710 > Cell.: +39 392 395 2067 > Email: francesco.pirotti at unipd.it > Skype: francesco197576 > Web: http://www.cirgeo.unipd.it/fp > > Il 25/09/2014 16:55, jdmorgan ha scritto: >> >> Hello, >> >> I am trying to compile a version of MapServer 6.4.1. on CentOS 6. >> >> I am at the part where I am doing a CMAKE. I have installed FastCGI >> already however (following >> http://linuxwave.blogspot.com/2010/08/installing-apache-modfastcgifastcgi.html). >> However, I am not really sure where it installed which brings me to >> my issue. >> >> >> Currently here is the error I get when running the CMAKE: >> >> /CMake Error at CMakeLists.txt:49 (message):/ >> >> /FCGI library/component/dependency could not be found./ >> >> /HINTS:/ >> >> /- disable FCGI support by adding -DWITH_FCGI=0/ >> >> /- add the FCGI install directory to the CMAKE_PREFIX_PATH variable >> (-DCMAKE_PREFIX_PATH="/path/to/FCGI-install-dir;/path/to/other/dirs"/ >> >> /Call Stack (most recent call first):/ >> >> /CMakeLists.txt:482 (report_optional_not_found)/ >> >> I have tried in my CMAKE script to point to where I think that FCGI >> (FastCGI) is but this doesn't seem to be working for me.Anyone out >> there have success with this type of thing that can point me in the >> right direction? >> >> Thanks, >> >> -- >> Derek >> >> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users > > -- -- John Derek Morgan, PhD UNC Asheville's National Environmental Modeling and Analysis Center (NEMAC) http://nemac.unca.edu 828-258-7660 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 9099 bytes Desc: not available URL: From krishna.patury at gmail.com Sat Sep 27 13:04:32 2014 From: krishna.patury at gmail.com (Krishna Priya Patury) Date: Sat, 27 Sep 2014 16:04:32 -0400 Subject: [mapserver-users] Unsubscribe Message-ID: Hi there, I would like to be removed from this mailing list. Thanks much, Krishna. -------------- next part -------------- An HTML attachment was scrubbed... URL: