From Steve.Lime at state.mn.us Wed Apr 1 11:14:08 2015 From: Steve.Lime at state.mn.us (Lime, Steve D (MNIT)) Date: Wed, 1 Apr 2015 18:14:08 +0000 Subject: [mapserver-users] Is there a C/C++ API for mapserver/mapscript? In-Reply-To: References: Message-ID: MapServer does not have a formal, well-documented C API. However we are trying to do so and try to keep the underlying C functions consistent over time. In many cases there is a one-to-one relationship between MapScript and the C API. The easiest way to understand this would be to look at the SWIG interface files in mapscript/swiginc/*.i. Those interface files document what is done to, for instance, open a mapfile. Another option would be to look at the helper programs that ship with MapServer and use the C API. Shp2img would be a good place to start. Hope this helps? Steve From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Hossein Ansari Sent: Tuesday, March 31, 2015 7:53 AM To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] Is there a C/C++ API for mapserver/mapscript? I know there is APIs for mapserver through mapscript in php & python. but i want using mapserver in a existing C/C++ program. how can i use mapserver in my codes? thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mathuralok.88 at gmail.com Sat Apr 4 07:04:26 2015 From: mathuralok.88 at gmail.com (alok mathur) Date: Sat, 4 Apr 2015 19:34:26 +0530 Subject: [mapserver-users] Kml To mapserver Message-ID: Hi, I have a kml as an data for mapserver. In that kml there is one folder with multile point placemarks. I want to create a map file for this kml data. Each point should represent single layer in map file. Sample KML. --------------------- P1 ObjectId: 1120 1 relativeToGround -70.563856,42.288663,0 P2 ObjectId: 1120 1 relativeToGround -71.563856,42.288663,1 P3 ObjectId: 1120 1 relativeToGround -71.563856,42.288663,1 ............ -- *Alok Mathur* | -------------- next part -------------- An HTML attachment was scrubbed... URL: From 11.6605 at stis.ac.id Mon Apr 6 06:58:03 2015 From: 11.6605 at stis.ac.id (Derma Jaya Putra Waruwu) Date: Mon, 6 Apr 2015 20:58:03 +0700 Subject: [mapserver-users] Tutorial and references Building GIS MapServer in Ubuntu 14.04 LTS Message-ID: Hi, Would you mine to give me some reference and tutorial about using MapServer I use : MapServer 6.4.1 Linux Ubuntu 14.04 LTS If there is ebook or paperbook that I should buy, please tell me. thank you so much regards, Derma Jaya Putra Waruwu -------------- next part -------------- An HTML attachment was scrubbed... URL: From Weisbend at WAPA.GOV Mon Apr 6 14:30:00 2015 From: Weisbend at WAPA.GOV (Weisbender, Eric) Date: Mon, 6 Apr 2015 21:30:00 +0000 Subject: [mapserver-users] qstring_validation_pattern Message-ID: <9FE7B20682D2EE4CB9F40163E1EB4F08332AA718@afovsml1m.WAPA.INT> Hello List, I recently upgraded from MapServer 6.2.1 to MapServer 6.4.1. When I did this my "qstring_validation_pattern" "." in a layers METADATA definition doesn't work any longer. I get the following. Any help is greatly appreciated. Parameter qstring value fails to validate msValidateParameter() Thanks, Eric Weisbender -------------- next part -------------- An HTML attachment was scrubbed... URL: From Steve.Lime at state.mn.us Mon Apr 6 14:44:23 2015 From: Steve.Lime at state.mn.us (Lime, Steve D (MNIT)) Date: Mon, 6 Apr 2015 21:44:23 +0000 Subject: [mapserver-users] qstring_validation_pattern In-Reply-To: <9FE7B20682D2EE4CB9F40163E1EB4F08332AA718@afovsml1m.WAPA.INT> References: <9FE7B20682D2EE4CB9F40163E1EB4F08332AA718@afovsml1m.WAPA.INT> Message-ID: Try using a VALIDATION block instead, e.g.: VALIDATION qstring '.' END Steve From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Weisbender, Eric Sent: Monday, April 06, 2015 4:30 PM To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] qstring_validation_pattern Hello List, I recently upgraded from MapServer 6.2.1 to MapServer 6.4.1. When I did this my "qstring_validation_pattern" "." in a layers METADATA definition doesn't work any longer. I get the following. Any help is greatly appreciated. Parameter qstring value fails to validate msValidateParameter() Thanks, Eric Weisbender -------------- next part -------------- An HTML attachment was scrubbed... URL: From Weisbend at WAPA.GOV Tue Apr 7 06:36:08 2015 From: Weisbend at WAPA.GOV (Weisbender, Eric) Date: Tue, 7 Apr 2015 13:36:08 +0000 Subject: [mapserver-users] qstring_validation_pattern In-Reply-To: References: <9FE7B20682D2EE4CB9F40163E1EB4F08332AA718@afovsml1m.WAPA.INT> Message-ID: <9FE7B20682D2EE4CB9F40163E1EB4F08332AA87D@afovsml1m.WAPA.INT> Thanks Steve. Works great. Thanks, Eric Weisbender From: Lime, Steve D (MNIT) [mailto:Steve.Lime at state.mn.us] Sent: 2015, April, 06 3:44 PM To: Weisbender, Eric; mapserver-users at lists.osgeo.org Subject: RE: qstring_validation_pattern Try using a VALIDATION block instead, e.g.: VALIDATION qstring '.' END Steve From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Weisbender, Eric Sent: Monday, April 06, 2015 4:30 PM To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] qstring_validation_pattern Hello List, I recently upgraded from MapServer 6.2.1 to MapServer 6.4.1. When I did this my "qstring_validation_pattern" "." in a layers METADATA definition doesn't work any longer. I get the following. Any help is greatly appreciated. Parameter qstring value fails to validate msValidateParameter() Thanks, Eric Weisbender -------------- next part -------------- An HTML attachment was scrubbed... URL: From tchaddad at gmail.com Tue Apr 7 17:23:43 2015 From: tchaddad at gmail.com (TC Haddad) Date: Tue, 7 Apr 2015 17:23:43 -0700 Subject: [mapserver-users] VRT overlaps and transparency Message-ID: Hi all, I'm using mapserver to display a single VRT that brings together multiple linear TIF mosaics of historic aerial images. LAYER NAME "Photos1967" DATA "Photos1967.vrt" STATUS ON METADATA "wms_title" "ODOT 1967 Aerial Photos" "wms_group_title" "historic_photos" IMAGEFORMAT "PNG" "wms_srs" "EPSG:3857" END PROJECTION "init=epsg:3857" END TYPE RASTER OFFSITE 255 255 255 END I'm having trouble in that the settings I am using seem to cause the individual TIFs to "cancel out" the overlap areas between the files, which contains gaps in a sequence that should look seamless. See http://bit.ly/1N5iOZM for an example of the blank spaces created between TIF files. An example snippet of the VRT looks like this: 2.2045589280046773e+005, 1.6409343787230763e+000, 0.0000000000000000e+000, 1.6572602506651357e+006, 0.0000000000000000e+000,-1.6409343787192308e+000 2.55000000000000E+002 1 Gray flightlines1967_1.tif 1 flightlines1967 _2.tif 1 Any suggestions as to how I can resolve the issue of the overlaps? My Mapserver version is 6.2.1 (gdal 1.10)... Tanya -------------- next part -------------- An HTML attachment was scrubbed... URL: From mathuralok.88 at gmail.com Tue Apr 7 22:31:39 2015 From: mathuralok.88 at gmail.com (alok mathur) Date: Wed, 8 Apr 2015 11:01:39 +0530 Subject: [mapserver-users] Fwd: Kml To mapserver In-Reply-To: References: Message-ID: Can i use FID for the below problem. Eg: DATA "Select * from 'F1' where FID=1 in map config file. Please help me out. I have a kml as an data for mapserver. In that kml there is one folder with multile point placemarks( no of placemark can vary). I want to create a map file on the fly for this kml data. Each point should represent single layer in map file. Sample KML. --------------------- F1 P1 ObjectId: 1120 1 relativeToGround -70.563856,42.288663,0 P2 ObjectId: 1120 1 relativeToGround -71.563856,42.288663,1 P3 ObjectId: 1120 1 relativeToGround -71.563856,42.288663,1 ............ -- *Alok Mathur* -------------- next part -------------- An HTML attachment was scrubbed... URL: From rishe28 at gmail.com Wed Apr 8 02:46:47 2015 From: rishe28 at gmail.com (rishi) Date: Wed, 8 Apr 2015 15:16:47 +0530 Subject: [mapserver-users] raster dispaly Message-ID: Hi all iam trying to display raster image but it is not displaying anything, page is blank my mapfile code is MAP EXTENT 8240841.450745 2400319.900386 9218007.463612 3107183.406947 TRANSPARENT on IMAGETYPE png size 400 400 SHAPEPATH "../webgis" LAYER LAYER NAME "Photos1967" DATA "mpgaps/094_056_d_26mar2012_516_12-mar-08.tif" STATUS ON TYPE RASTER PROJECTION "init=epsg:4326" END END OUTPUTFORMAT NAME "png" DRIVER AGG/PNG MIMETYPE "image/png" IMAGEMODE RGB EXTENSION "png" FORMATOPTION "GAMMA=0.75" END END data path is C:\ms4w\apps\webgis\mpgaps plz correct my mapfile -------------- next part -------------- An HTML attachment was scrubbed... URL: From mathuralok.88 at gmail.com Wed Apr 8 03:57:07 2015 From: mathuralok.88 at gmail.com (alok mathur) Date: Wed, 8 Apr 2015 16:27:07 +0530 Subject: [mapserver-users] Fwd: Kml To mapserver In-Reply-To: References: Message-ID: Also i want to know how to handle multigeometry in kml in map file using FID. ---------- Forwarded message ---------- From: alok mathur Date: Sat, Apr 4, 2015 at 7:34 PM Subject: Kml To mapserver To: "mapserver-users at lists.osgeo.org" Hi, I have a kml as an data for mapserver. In that kml there is one folder with multile point placemarks. I want to create a map file for this kml data. Each point should represent single layer in map file. Sample KML. --------------------- P1 ObjectId: 1120 1 relativeToGround -70.563856,42.288663,0 P2 ObjectId: 1120 1 relativeToGround -71.563856,42.288663,1 P3 ObjectId: 1120 1 relativeToGround -71.563856,42.288663,1 ............ -- *Alok Mathur* | -- *Alok Mathur* | Software Engineer 2A | Ciena Mobile +91 9899413266 -------------- next part -------------- An HTML attachment was scrubbed... URL: From mailing at tam.si Wed Apr 8 05:03:48 2015 From: mailing at tam.si (Matej Mailing) Date: Wed, 8 Apr 2015 14:03:48 +0200 Subject: [mapserver-users] Web management of .map files Message-ID: Hi, is there any web-based tool for creating and updating .map files? For example, sometimes you need to change some label texts, add some layers and doing it via some web interface would be a major step forward for non-technical users. Thenks, Matej From support at geo6.be Wed Apr 8 06:54:21 2015 From: support at geo6.be (Geo-6) Date: Wed, 8 Apr 2015 15:54:21 +0200 Subject: [mapserver-users] Web management of .map files In-Reply-To: References: Message-ID: <002701d07203$848ebe00$8dac3a00$@geo6.be> Hi Matej, There is "Mapserver MapManager" for Windows (http://www.gisinternals.com/mapmanager.html) but it's not a web-based tool. I'm currently developing a web application in PHP (based on MapScript and an internal library) but it's still a work in progress (you can download it here in a couple of days : https://github.com/jbelien/MapFile-Generator). Have a great day. Jonathan Beli?n -----Message d'origine----- De?: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] De la part de Matej Mailing Envoy??: mercredi 8 avril 2015 14:04 ??: mapserver-users at lists.osgeo.org Objet?: [mapserver-users] Web management of .map files Hi, is there any web-based tool for creating and updating .map files? For example, sometimes you need to change some label texts, add some layers and doing it via some web interface would be a major step forward for non-technical users. Thenks, Matej _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From dmorissette at mapgears.com Wed Apr 8 07:41:48 2015 From: dmorissette at mapgears.com (Daniel Morissette) Date: Wed, 08 Apr 2015 10:41:48 -0400 Subject: [mapserver-users] Web management of .map files In-Reply-To: <002701d07203$848ebe00$8dac3a00$@geo6.be> References: <002701d07203$848ebe00$8dac3a00$@geo6.be> Message-ID: <55253E2C.7090003@mapgears.com> You may also want to have a look at ScribeUI: http://scribeui.org/ There is a live demo at http://demo.scribeui.org/, just create your own new workspace and then create a new map from the "default" template and start editing it. Note that this demo server is reset to its original state every 24 hours. Daniel On 2015-04-08 9:54 AM, Geo-6 wrote: > Hi Matej, > > There is "Mapserver MapManager" for Windows > (http://www.gisinternals.com/mapmanager.html) but it's not a web-based tool. > > I'm currently developing a web application in PHP (based on MapScript and an > internal library) but it's still a work in progress (you can download it > here in a couple of days : https://github.com/jbelien/MapFile-Generator). > > Have a great day. > > Jonathan Beli?n > > > -----Message d'origine----- > De : mapserver-users-bounces at lists.osgeo.org > [mailto:mapserver-users-bounces at lists.osgeo.org] De la part de Matej Mailing > Envoy? : mercredi 8 avril 2015 14:04 > ? : mapserver-users at lists.osgeo.org > Objet : [mapserver-users] Web management of .map files > > Hi, > > is there any web-based tool for creating and updating .map files? > For example, sometimes you need to change some label texts, add some layers > and doing it via some web interface would be a major step forward for > non-technical users. > > Thenks, > Matej > _______________________________________________ > 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 > -- Daniel Morissette T: +1 418-696-5056 #201 http://www.mapgears.com/ Provider of Professional MapServer Support since 2000 From riccardog79 at gmail.com Wed Apr 8 08:14:39 2015 From: riccardog79 at gmail.com (ar_gaeta) Date: Wed, 8 Apr 2015 08:14:39 -0700 (PDT) Subject: [mapserver-users] WFS from Tinyows on IExplorer: InvalidParameterValue Message-ID: <1428506079663-5200463.post@n6.nabble.com> Hi all, I'm using without any problem Tinyows 1.0.0rc4 to load WFS on OpenLayers, with browser Chrome and Firefox. But since IExplorer 9 I'm not able anymore to see my WFS layers on map if they come from Tinyows. On Tinyows log I have this error: /[Wed Apr 8 14:55:48 2015] [ERROR] Element '{http://www.w3.org/2001/XMLSchema}import': Skipping import of schema located at 'http://schemas.opengis.net/gml/2.1.2/feature.xsd' for the namespace 'http://www.opengis.net/gml', since this namespace was already imported with the schema located at '/usr/local/share/tinyows/schema/gml/2.1.2/feature.xsd'. [Wed Apr 8 14:55:48 2015] [ERROR] Element '{http://www.opengis.net/wfs}Query', attribute 'typeName': The QName value 'feature:v_last_nivo' has no corresponding namespace declaration in scope. [Wed Apr 8 14:55:48 2015] [ERROR] Element '{http://www.opengis.net/wfs}Query', attribute 'typeName': 'feature:v_last_nivo' is not a valid value of the atomic type 'xs:QName'. [Wed Apr 8 14:55:48 2015] [ERROR] Element '{http://www.opengis.net/wfs}Query', attribute 'xmlns:feature': The attribute 'xmlns:feature' is not allowed. [Wed Apr 8 14:55:48 2015] [ERROR] XML request isn't valid/ And by Iexplorer I got this error message: / XML request isn't valid / There is a solution to that? Thanks very much -- View this message in context: http://osgeo-org.1560.x6.nabble.com/WFS-from-Tinyows-on-IExplorer-InvalidParameterValue-tp5200463.html Sent from the Mapserver - User mailing list archive at Nabble.com. From eleonora at creativalab.com Wed Apr 8 19:30:12 2015 From: eleonora at creativalab.com (eleonora at creativalab.com) Date: Thu, 09 Apr 2015 04:30:12 +0200 Subject: [mapserver-users] digitize plugin problem Message-ID: <57bf8b5fd083fafc6e9439911d6b5a48@creativalab.com> Hello. i have some problems with db connection. Inside include_config.php i wrote $db_host='xxx'; $db_login='xxx'; $db_pass='xxx'; $database = 'xxxx'; $dsn = "pgsql://$db_login:$db_pass@$db_host/$database"; In window pop-up the error is DB Error: syntax error i try different solutions but even if the reported errors are different does not work. $dsn = 'pgsql://user:pass at localhost:5432/dbname'; error : DB Error: syntax error $dsn = new PDO("pgsql:host=xxxx;dbname=xxxx;user=xxxx;password=xxxx"); error Unable to include the DB/.php file for '://:PASSWORD@/' The connection to the database postgres operating normally as I see the layers whose data are taken from the db I installed the PHP Pear DB package and PEAR MDB2 any ideas? after installation I had to restart apache or service postgresql? thank you Eleonora From mathuralok.88 at gmail.com Wed Apr 8 21:43:22 2015 From: mathuralok.88 at gmail.com (alok mathur) Date: Thu, 9 Apr 2015 10:13:22 +0530 Subject: [mapserver-users] Map correlation Message-ID: Hi, I am using open layers3 to show the map on client. I want to click on map displayed on client and get the layer details. Could you please suggest if there is another way to do it. -- *Alok Mathur* -------------- next part -------------- An HTML attachment was scrubbed... URL: From rishe28 at gmail.com Wed Apr 8 22:01:57 2015 From: rishe28 at gmail.com (rishi) Date: Thu, 9 Apr 2015 10:31:57 +0530 Subject: [mapserver-users] setting zoomand map center by default In-Reply-To: References: Message-ID: Hi all iam trying to display raster image but it is not displaying anything, page is blank my mapfile code is MAP EXTENT 8240841.450745 2400319.900386 9218007.463612 3107183.406947 TRANSPARENT on IMAGETYPE png size 400 400 SHAPEPATH "../webgis" LAYER LAYER NAME "Photos1967" DATA "mpgaps/094_056_d_26mar2012_516_12-mar-08.tif" STATUS ON TYPE RASTER PROJECTION "init=epsg:4326" END END OUTPUTFORMAT NAME "png" DRIVER AGG/PNG MIMETYPE "image/png" IMAGEMODE RGB EXTENSION "png" FORMATOPTION "GAMMA=0.75" END END data path is C:\ms4w\apps\webgis\mpgaps plz correct my mapfile -------------- next part -------------- An HTML attachment was scrubbed... URL: From bruno.domenget at rochservice.com Thu Apr 9 00:19:51 2015 From: bruno.domenget at rochservice.com (Bruno Domenget) Date: Thu, 9 Apr 2015 09:19:51 +0200 Subject: [mapserver-users] setting zoomand map center by default In-Reply-To: References: Message-ID: <003801d07295$937200c0$ba560240$@domenget@rochservice.com> Hi Rishi, How are you calling MapServer ? Is there any error message ? You can add the following lines to your mapfile to create an extended log file : CONFIG "MS_ERRORFILE" "./ mapserver_errors.log" CONFIG "CPL_DEBUG" "ON" CONFIG "PROJ_DEBUG" "ON" DEBUG 5 The log file will contain useful information to help you. Bruno Domenget IT Manager Tel : 00 33 6 89 70 16 47 ROCH Service B?timent APSARA 5, Rue du Petit Albi BP98431 95807 Cergy Pontoise FRANCE www.rochservice.com La soci?t? Roch Service propose les prestations suivantes dans le domaine de l??clairage public, de la SLT et des m?ts de sport : ? Inventaire de patrimoine avec g?o localisation ? Contr?le de conformit? m?canique ? Contr?le de conformit? ?lectrique ? Diagnostic photom?trique ? R?ception m?canique, ?lectrique et photom?trique des travaux neufs ? Logiciels de gestion de l??clairage public ? Solutions d??tiquetage ? Assistance technique De : mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] De la part de rishi Envoy? : jeudi 9 avril 2015 07:02 ? : mapserver-users at lists.osgeo.org; Eichner, Andreas - SID; lars.schylberg at saabgroup.com; jmckenna at gatewaygeomatics.com; Fawcett, David (MNIT); thomas bonfort Objet : Re: [mapserver-users] setting zoomand map center by default Hi all iam trying to display raster image but it is not displaying anything, page is blank my mapfile code is MAP EXTENT 8240841.450745 2400319.900386 9218007.463612 3107183.406947 TRANSPARENT on IMAGETYPE png size 400 400 SHAPEPATH "../webgis" LAYER LAYER NAME "Photos1967" DATA "mpgaps/094_056_d_26mar2012_516_12-mar-08.tif" STATUS ON TYPE RASTER PROJECTION "init=epsg:4326" END END OUTPUTFORMAT NAME "png" DRIVER AGG/PNG MIMETYPE "image/png" IMAGEMODE RGB EXTENSION "png" FORMATOPTION "GAMMA=0.75" END END data path is C:\ms4w\apps\webgis\mpgaps plz correct my mapfile -------------- next part -------------- An HTML attachment was scrubbed... URL: From eleonora at creativalab.com Thu Apr 9 01:32:26 2015 From: eleonora at creativalab.com (eleonora at creativalab.com) Date: Thu, 09 Apr 2015 10:32:26 +0200 Subject: [mapserver-users] digitize plugin problem In-Reply-To: <57bf8b5fd083fafc6e9439911d6b5a48@creativalab.com> References: <57bf8b5fd083fafc6e9439911d6b5a48@creativalab.com> Message-ID: <51b613848b8e95e75587a668c053e16e@creativalab.com> could be a problem of projection ? include_config.php $db_table = 'toponimi-cat'; // Table name. $pkey = 'gid'; // Table's primary key. $the_geom = 'the_geom'; // Table's geometry field, type POINT. $srid_geom = 32633; // SRID of the geometry. $srid_map = 32633; // SRID of the map (clicked screen point). $tolerance = 500; // Distance in meteres to pick existing point for editing. $hide_fields = array('id'); // Table fields not displayed in the edit form. file.map MAP EXTENT 350117.586532 4739786.469378 382150.132577 4773295.848327 IMAGECOLOR 255 255 255 UNITS meters SIZE 600 500 SHAPEPATH "/var/www/data" SYMBOLSET "../common/symbols/symbols-pmapper.sym" FONTSET "../common/fonts/msfontset.txt" RESOLUTION 96 IMAGETYPE png PROJECTION 'proj=utm' 'zone=33' 'datum=WGS84' 'units=m' 'no_defs' END Il 2015-04-09 04:30 eleonora at creativalab.com ha scritto: > Hello. > i have some problems with db connection. > > Inside include_config.php i wrote > $db_host='xxx'; > $db_login='xxx'; > $db_pass='xxx'; > $database = 'xxxx'; > > $dsn = "pgsql://$db_login:$db_pass@$db_host/$database"; > > In window pop-up the error is DB Error: syntax error > > i try different solutions but even if the reported errors are > different does not work. > > > $dsn = 'pgsql://user:pass at localhost:5432/dbname'; > > error : DB Error: syntax error > > $dsn = new > PDO("pgsql:host=xxxx;dbname=xxxx;user=xxxx;password=xxxx"); > > error Unable to include the DB/.php file for '://:PASSWORD@/' > > The connection to the database postgres operating normally as I see > the layers whose data are taken from the db > I installed the PHP Pear DB package and PEAR MDB2 > > any ideas? after installation I had to restart apache or service > postgresql? > > thank you > > Eleonora > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From support at geo6.be Thu Apr 9 01:13:02 2015 From: support at geo6.be (Geo-6) Date: Thu, 9 Apr 2015 10:13:02 +0200 Subject: [mapserver-users] setting zoomand map center by default In-Reply-To: References: Message-ID: <002c01d0729d$01b3fff0$051bffd0$@geo6.be> Hi Rishi, I think your ? EXTENT ? parameter is wrong, the coordinates seems way off for ? PROJECTION EPSG:4326 ? (http://spatialreference.org/ref/epsg/4326/) It must be between -180.0000, -90.0000 and 180.0000, 90.0000 Have a great day. Jonathan Beli?n Geo-6 De : mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] De la part de rishi Envoy? : jeudi 9 avril 2015 07:02 ? : mapserver-users at lists.osgeo.org; Eichner, Andreas - SID; lars.schylberg at saabgroup.com; jmckenna at gatewaygeomatics.com; Fawcett, David (MNIT); thomas bonfort Objet : Re: [mapserver-users] setting zoomand map center by default Hi all iam trying to display raster image but it is not displaying anything, page is blank my mapfile code is MAP EXTENT 8240841.450745 2400319.900386 9218007.463612 3107183.406947 TRANSPARENT on IMAGETYPE png size 400 400 SHAPEPATH "../webgis" LAYER LAYER NAME "Photos1967" DATA "mpgaps/094_056_d_26mar2012_516_12-mar-08.tif" STATUS ON TYPE RASTER PROJECTION "init=epsg:4326" END END OUTPUTFORMAT NAME "png" DRIVER AGG/PNG MIMETYPE "image/png" IMAGEMODE RGB EXTENSION "png" FORMATOPTION "GAMMA=0.75" END END data path is C:\ms4w\apps\webgis\mpgaps plz correct my mapfile -------------- next part -------------- An HTML attachment was scrubbed... URL: From traffin at sirap.fr Thu Apr 9 01:42:07 2015 From: traffin at sirap.fr (Thomas RAFFIN) Date: Thu, 09 Apr 2015 10:42:07 +0200 Subject: [mapserver-users] digitize plugin problem In-Reply-To: <51b613848b8e95e75587a668c053e16e@creativalab.com> References: <57bf8b5fd083fafc6e9439911d6b5a48@creativalab.com> <51b613848b8e95e75587a668c053e16e@creativalab.com> Message-ID: <55263B5F.5080403@sirap.fr> Hi Eleonora, I think you are not at the right place. You should try pmapper mailing-list here: https://lists.sourceforge.net/lists/listinfo/pmapper-users Thomas Le 09/04/2015 10:32, eleonora at creativalab.com a ?crit : > could be a problem of projection ? > > include_config.php > > $db_table = 'toponimi-cat'; // Table name. > $pkey = 'gid'; // Table's primary key. > $the_geom = 'the_geom'; // Table's geometry field, type POINT. > $srid_geom = 32633; // SRID of the geometry. > $srid_map = 32633; // SRID of the map (clicked screen > point). > $tolerance = 500; // Distance in meteres to pick > existing point for editing. > $hide_fields = array('id'); // Table fields not displayed in the > edit form. > > > file.map > > MAP > EXTENT 350117.586532 4739786.469378 382150.132577 4773295.848327 > IMAGECOLOR 255 255 255 > UNITS meters > SIZE 600 500 > SHAPEPATH "/var/www/data" > SYMBOLSET "../common/symbols/symbols-pmapper.sym" > FONTSET "../common/fonts/msfontset.txt" > RESOLUTION 96 > IMAGETYPE png > PROJECTION > 'proj=utm' > 'zone=33' > 'datum=WGS84' > 'units=m' > 'no_defs' > END > > > Il 2015-04-09 04:30 eleonora at creativalab.com ha scritto: >> Hello. >> i have some problems with db connection. >> >> Inside include_config.php i wrote >> $db_host='xxx'; >> $db_login='xxx'; >> $db_pass='xxx'; >> $database = 'xxxx'; >> >> $dsn = "pgsql://$db_login:$db_pass@$db_host/$database"; >> >> In window pop-up the error is DB Error: syntax error >> >> i try different solutions but even if the reported errors are >> different does not work. >> >> >> $dsn = 'pgsql://user:pass at localhost:5432/dbname'; >> >> error : DB Error: syntax error >> >> $dsn = new >> PDO("pgsql:host=xxxx;dbname=xxxx;user=xxxx;password=xxxx"); >> >> error Unable to include the DB/.php file for '://:PASSWORD@/' >> >> The connection to the database postgres operating normally as I see >> the layers whose data are taken from the db >> I installed the PHP Pear DB package and PEAR MDB2 >> >> any ideas? after installation I had to restart apache or service >> postgresql? >> >> thank you >> >> Eleonora >> _______________________________________________ >> 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.Toutant at inspq.qc.ca Thu Apr 9 07:08:05 2015 From: Steve.Toutant at inspq.qc.ca (Steve.Toutant at inspq.qc.ca) Date: Thu, 9 Apr 2015 10:08:05 -0400 Subject: [mapserver-users] RE WFS from Tinyows on IExplorer: InvalidParameterValue In-Reply-To: <1428506079663-5200463.post@n6.nabble.com> References: <1428506079663-5200463.post@n6.nabble.com> Message-ID: It might be a problem with OL not tiny. Do you have this problem using WFS version 1.0.0? ar_gaeta @lists.osgeo.org Envoy? par : mapserver-users-bounces at lists.osgeo.org 2015-04-08 11:14 A mapserver-users at lists.osgeo.org cc Objet [mapserver-users] WFS from Tinyows on IExplorer: InvalidParameterValue Hi all, I'm using without any problem Tinyows 1.0.0rc4 to load WFS on OpenLayers, with browser Chrome and Firefox. But since IExplorer 9 I'm not able anymore to see my WFS layers on map if they come from Tinyows. On Tinyows log I have this error: /[Wed Apr 8 14:55:48 2015] [ERROR] Element '{http://www.w3.org/2001/XMLSchema}import': Skipping import of schema located at 'http://schemas.opengis.net/gml/2.1.2/feature.xsd' for the namespace 'http://www.opengis.net/gml', since this namespace was already imported with the schema located at '/usr/local/share/tinyows/schema/gml/2.1.2/feature.xsd'. [Wed Apr 8 14:55:48 2015] [ERROR] Element '{http://www.opengis.net/wfs}Query', attribute 'typeName': The QName value 'feature:v_last_nivo' has no corresponding namespace declaration in scope. [Wed Apr 8 14:55:48 2015] [ERROR] Element '{http://www.opengis.net/wfs}Query', attribute 'typeName': 'feature:v_last_nivo' is not a valid value of the atomic type 'xs:QName'. [Wed Apr 8 14:55:48 2015] [ERROR] Element '{http://www.opengis.net/wfs}Query', attribute 'xmlns:feature': The attribute 'xmlns:feature' is not allowed. [Wed Apr 8 14:55:48 2015] [ERROR] XML request isn't valid/ And by Iexplorer I got this error message: / XML request isn't valid / There is a solution to that? Thanks very much -- View this message in context: http://osgeo-org.1560.x6.nabble.com/WFS-from-Tinyows-on-IExplorer-InvalidParameterValue-tp5200463.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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From mafonso333 at gmail.com Thu Apr 9 07:54:15 2015 From: mafonso333 at gmail.com (Marco Afonso) Date: Thu, 9 Apr 2015 15:54:15 +0100 Subject: [mapserver-users] Ubuntu Trusty, MapServer 6.4.1, Gdal 1.11 Message-ID: Hi all, Installed mapserver with apt-get. I've installed gdal manually: compiled with ecw support (gdalinfo tell me that). I'm trying to use a shapefile (which points to ecw files) on mapserver but comes the error (the relevant part): msDrawMap(): Image handling error. Failed to draw layer named 'ortos2012'. msDrawRasterLayerLow(): Unable to access file. Corrupt, empty or missing file '/fullpath/to/0608A1Argb_12_d73.ecw Note also that I'm using the full path to the ecw. Any ideas please? Thanks :) -- Regards, Marco Afonso http://goo.gl/ZDtQjm -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard.greenwood at gmail.com Thu Apr 9 17:19:44 2015 From: richard.greenwood at gmail.com (Richard Greenwood) Date: Thu, 9 Apr 2015 18:19:44 -0600 Subject: [mapserver-users] Ubuntu Trusty, MapServer 6.4.1, Gdal 1.11 In-Reply-To: References: Message-ID: Why are you using a shapefile? Is it a tile index? Have you tried accessing the ecw file directly? Something like: LAYER NAME "ecw" STATUS default TYPE raster DATA "/fullpath/to/0608A1Argb_12_d73.ecw" END Ubuntu probably installed gdal, so you may have two copied. To see which one is first, try which -a gdalinfo and verify that the version with ecw support is first. And if you are still having trouble, please post your layer definition. rich On Thu, Apr 9, 2015 at 8:54 AM, Marco Afonso wrote: > > Hi all, > > Installed mapserver with apt-get. > I've installed gdal manually: compiled with ecw support (gdalinfo tell me > that). > I'm trying to use a shapefile (which points to ecw files) on mapserver but > comes the error (the relevant part): > > msDrawMap(): Image handling error. Failed to draw layer named > 'ortos2012'. > msDrawRasterLayerLow(): Unable to access file. Corrupt, empty or missing > file '/fullpath/to/0608A1Argb_12_d73.ecw > > Note also that I'm using the full path to the ecw. > > Any ideas please? Thanks :) > > -- > Regards, > Marco Afonso > http://goo.gl/ZDtQjm > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > -- Richard W. Greenwood, PLS www.greenwoodmap.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From satpal82bhandari at gmail.com Thu Apr 9 23:21:48 2015 From: satpal82bhandari at gmail.com (satpal bhandari) Date: Fri, 10 Apr 2015 11:51:48 +0530 Subject: [mapserver-users] How Is there a WMS service which return layers at given coordinates. Message-ID: Hi team , I scenario is below : map is shown under from TiledWMS layer from mapserver. It has 2 layers. 1. TiledWMS layer for OSM world map. 2. TiledWMS layer for layers defined in kml file placed in mapserver through .map file. This map file contains many layers. Now , when user click on map : it got 2 layers as above. But since 2nd layer is made up of different layers as given in .map file , i am not able to uniquely identify these layers. I want that since 2 nd layer is made up of different layers in kml file i should be able to uniquely identify them on mouse click or hower. Thanks -- SATPAL BHANDARI -------------- next part -------------- An HTML attachment was scrubbed... URL: From mafonso333 at gmail.com Fri Apr 10 06:11:00 2015 From: mafonso333 at gmail.com (Marco Afonso) Date: Fri, 10 Apr 2015 14:11:00 +0100 Subject: [mapserver-users] Ubuntu Trusty, MapServer 6.4.1, Gdal 1.11 In-Reply-To: References: Message-ID: Hi Richard and thank you for your reply :) Ok... from shell I should be able to read ecw file metadata, right? Im putting here gdalinfo and ogrinfo outputs. $ gdalinfo --formats VRT (rw+v): Virtual Raster GTiff (rw+vs): GeoTIFF NITF (rw+vs): National Imagery Transmission Format RPFTOC (rovs): Raster Product Format TOC format ECRGTOC (rovs): ECRG TOC format HFA (rw+v): Erdas Imagine Images (.img) SAR_CEOS (rov): CEOS SAR Image CEOS (rov): CEOS Image JAXAPALSAR (rov): JAXA PALSAR Product Reader (Level 1.1/1.5) GFF (rov): Ground-based SAR Applications Testbed File Format (.gff) ELAS (rw+v): ELAS AIG (rov): Arc/Info Binary Grid AAIGrid (rwv): Arc/Info ASCII Grid GRASSASCIIGrid (rov): GRASS ASCII Grid SDTS (rov): SDTS Raster DTED (rwv): DTED Elevation Raster PNG (rwv): Portable Network Graphics JPEG (rwv): JPEG JFIF MEM (rw+): In Memory Raster JDEM (rov): Japanese DEM (.mem) GIF (rwv): Graphics Interchange Format (.gif) BIGGIF (rov): Graphics Interchange Format (.gif) ESAT (rov): Envisat Image Format BSB (rov): Maptech BSB Nautical Charts XPM (rwv): X11 PixMap Format BMP (rw+v): MS Windows Device Independent Bitmap DIMAP (rov): SPOT DIMAP AirSAR (ro): AirSAR Polarimetric Image RS2 (ros): RadarSat 2 XML Product PCIDSK (rw+v): PCIDSK Database File PCRaster (rw): PCRaster Raster File ILWIS (rw+v): ILWIS Raster Map SGI (rw+): SGI Image File Format 1.0 SRTMHGT (rwv): SRTMHGT File Format Leveller (rw+): Leveller heightfield Terragen (rw+): Terragen heightfield GMT (rw): GMT NetCDF Grid Format netCDF (rw+s): Network Common Data Format HDF4 (ros): Hierarchical Data Format Release 4 HDF4Image (rw+): HDF4 Dataset ISIS3 (rov): USGS Astrogeology ISIS cube (Version 3) ISIS2 (rw+v): USGS Astrogeology ISIS cube (Version 2) PDS (rov): NASA Planetary Data System TIL (rov): EarthWatch .TIL ERS (rw+v): ERMapper .ers Labelled ECW (rw): ERDAS Compressed Wavelets (SDK 3.x) JP2ECW (rw+v): ERDAS JPEG2000 (SDK 3.x) L1B (rovs): NOAA Polar Orbiter Level 1b Data Set FIT (rwv): FIT Image GRIB (rov): GRIdded Binary (.grb) JPEG2000 (rwv): JPEG-2000 part 1 (ISO/IEC 15444-1) RMF (rw+v): Raster Matrix Format WCS (rovs): OGC Web Coverage Service WMS (rwvs): OGC Web Map Service MSGN (ro): EUMETSAT Archive native (.nat) RST (rw+v): Idrisi Raster A.1 INGR (rw+v): Intergraph Raster GSAG (rwv): Golden Software ASCII Grid (.grd) GSBG (rw+v): Golden Software Binary Grid (.grd) GS7BG (rw+v): Golden Software 7 Binary Grid (.grd) COSAR (ro): COSAR Annotated Binary Matrix (TerraSAR-X) TSX (rov): TerraSAR-X Product COASP (ro): DRDC COASP SAR Processor Raster R (rwv): R Object Data Store MAP (rov): OziExplorer .MAP PNM (rw+v): Portable Pixmap Format (netpbm) DOQ1 (rov): USGS DOQ (Old Style) DOQ2 (rov): USGS DOQ (New Style) ENVI (rw+v): ENVI .hdr Labelled EHdr (rw+v): ESRI .hdr Labelled GenBin (rov): Generic Binary (.hdr Labelled) PAux (rw+): PCI .aux Labelled MFF (rw+): Vexcel MFF Raster MFF2 (rw+): Vexcel MFF2 (HKV) Raster FujiBAS (ro): Fuji BAS Scanner Image GSC (rov): GSC Geogrid FAST (rov): EOSAT FAST Format BT (rw+v): VTP .bt (Binary Terrain) 1.3 Format LAN (rw+v): Erdas .LAN/.GIS CPG (ro): Convair PolGASP IDA (rw+): Image Data and Analysis NDF (rov): NLAPS Data Format EIR (rov): Erdas Imagine Raw DIPEx (rov): DIPEx LCP (rwv): FARSITE v.4 Landscape File (.lcp) GTX (rw+v): NOAA Vertical Datum .GTX LOSLAS (rov): NADCON .los/.las Datum Grid Shift NTv2 (rw+vs): NTv2 Datum Grid Shift CTable2 (rw+v): CTable2 Datum Grid Shift ACE2 (rov): ACE2 SNODAS (rov): Snow Data Assimilation System KRO (rw+v): KOLOR Raw ARG (rwv): Azavea Raster Grid format RIK (ro): Swedish Grid RIK (.rik) USGSDEM (rwv): USGS Optional ASCII DEM (and CDED) GXF (ro): GeoSoft Grid Exchange Format HTTP (ro): HTTP Fetching Wrapper BAG (ro): Bathymetry Attributed Grid HDF5 (ros): Hierarchical Data Format Release 5 HDF5Image (ro): HDF5 Dataset NWT_GRD (rov): Northwood Numeric Grid Format .grd/.tab NWT_GRC (rov): Northwood Classified Grid Format .grc/.tab ADRG (rw+vs): ARC Digitized Raster Graphics SRP (rovs): Standard Raster Product (ASRP/USRP) BLX (rw): Magellan topo (.blx) Rasterlite (rws): Rasterlite PostGISRaster (rws): PostGIS Raster driver SAGA (rw+v): SAGA GIS Binary Grid (.sdat) KMLSUPEROVERLAY (rwv): Kml Super Overlay XYZ (rwv): ASCII Gridded XYZ HF2 (rwv): HF2/HFZ heightfield raster PDF (rw): Geospatial PDF OZI (rov): OziExplorer Image File CTG (rov): USGS LULC Composite Theme Grid E00GRID (rov): Arc/Info Export E00 GRID ZMap (rwv): ZMap Plus Grid NGSGEOID (rov): NOAA NGS Geoid Height Grids MBTiles (rov): MBTiles IRIS (rov): IRIS data (.PPI, .CAPPi etc) $ ogrinfo 005991Argb_12_d73.ecw FAILURE: Unable to open datasource `005991Argb_12_d73.ecw' with the following drivers. -> ESRI Shapefile -> MapInfo File -> UK .NTF -> SDTS -> TIGER -> S57 -> DGN -> VRT -> REC -> Memory -> BNA -> CSV -> NAS -> GML -> GPX -> KML -> GeoJSON -> Interlis 1 -> Interlis 2 -> GMT -> GPKG -> SQLite -> ODBC -> WAsP -> PGeo -> MSSQLSpatial -> PostgreSQL -> PCIDSK -> OpenFileGDB -> XPlane -> AVCBin -> AVCE00 -> DXF -> Geoconcept -> GeoRSS -> GPSTrackMaker -> VFK -> PGDump -> OSM -> GPSBabel -> SUA -> OpenAir -> PDS -> WFS -> HTF -> AeronavFAA -> Geomedia -> EDIGEO -> GFT -> GME -> SVG -> CouchDB -> Idrisi -> ARCGEN -> SEGUKOOA -> SEGY -> ElasticSearch -> PDF -> Walk -> CartoDB -> SXF 2015-04-10 1:19 GMT+01:00 Richard Greenwood : > Why are you using a shapefile? Is it a tile index? Have you tried > accessing the ecw file directly? Something like: > > LAYER > NAME "ecw" > STATUS default > TYPE raster > DATA "/fullpath/to/0608A1Argb_12_d73.ecw" > END > > Ubuntu probably installed gdal, so you may have two copied. To see which > one is first, try > which -a gdalinfo > and verify that the version with ecw support is first. > > And if you are still having trouble, please post your layer definition. > > rich > > > On Thu, Apr 9, 2015 at 8:54 AM, Marco Afonso wrote: > >> >> Hi all, >> >> Installed mapserver with apt-get. >> I've installed gdal manually: compiled with ecw support (gdalinfo tell me >> that). >> I'm trying to use a shapefile (which points to ecw files) on mapserver >> but comes the error (the relevant part): >> >> msDrawMap(): Image handling error. Failed to draw layer named >> 'ortos2012'. >> msDrawRasterLayerLow(): Unable to access file. Corrupt, empty or missing >> file '/fullpath/to/0608A1Argb_12_d73.ecw >> >> Note also that I'm using the full path to the ecw. >> >> Any ideas please? Thanks :) >> >> -- >> Regards, >> Marco Afonso >> http://goo.gl/ZDtQjm >> >> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> > > > > -- > Richard W. Greenwood, PLS > www.greenwoodmap.com > -- Regards, Marco Afonso http://goo.gl/ZDtQjm -------------- next part -------------- An HTML attachment was scrubbed... URL: From jukka.rahkonen at maanmittauslaitos.fi Fri Apr 10 06:12:58 2015 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka (MML)) Date: Fri, 10 Apr 2015 13:12:58 +0000 Subject: [mapserver-users] Ubuntu Trusty, MapServer 6.4.1, Gdal 1.11 In-Reply-To: References: Message-ID: <2b28c52137b941f6b3723afe243d9db3@C119S212VM022.msvyvi.vaha.local> Hi, Use gdalinfo instead of ogrinfo. -Jukka Rahkonen Marco Afonso wrote: Hi Richard and thank you for your reply :) Ok... from shell I should be able to read ecw file metadata, right? Im putting here gdalinfo and ogrinfo outputs. $ gdalinfo --formats VRT (rw+v): Virtual Raster GTiff (rw+vs): GeoTIFF NITF (rw+vs): National Imagery Transmission Format RPFTOC (rovs): Raster Product Format TOC format ECRGTOC (rovs): ECRG TOC format HFA (rw+v): Erdas Imagine Images (.img) SAR_CEOS (rov): CEOS SAR Image CEOS (rov): CEOS Image JAXAPALSAR (rov): JAXA PALSAR Product Reader (Level 1.1/1.5) GFF (rov): Ground-based SAR Applications Testbed File Format (.gff) ELAS (rw+v): ELAS AIG (rov): Arc/Info Binary Grid AAIGrid (rwv): Arc/Info ASCII Grid GRASSASCIIGrid (rov): GRASS ASCII Grid SDTS (rov): SDTS Raster DTED (rwv): DTED Elevation Raster PNG (rwv): Portable Network Graphics JPEG (rwv): JPEG JFIF MEM (rw+): In Memory Raster JDEM (rov): Japanese DEM (.mem) GIF (rwv): Graphics Interchange Format (.gif) BIGGIF (rov): Graphics Interchange Format (.gif) ESAT (rov): Envisat Image Format BSB (rov): Maptech BSB Nautical Charts XPM (rwv): X11 PixMap Format BMP (rw+v): MS Windows Device Independent Bitmap DIMAP (rov): SPOT DIMAP AirSAR (ro): AirSAR Polarimetric Image RS2 (ros): RadarSat 2 XML Product PCIDSK (rw+v): PCIDSK Database File PCRaster (rw): PCRaster Raster File ILWIS (rw+v): ILWIS Raster Map SGI (rw+): SGI Image File Format 1.0 SRTMHGT (rwv): SRTMHGT File Format Leveller (rw+): Leveller heightfield Terragen (rw+): Terragen heightfield GMT (rw): GMT NetCDF Grid Format netCDF (rw+s): Network Common Data Format HDF4 (ros): Hierarchical Data Format Release 4 HDF4Image (rw+): HDF4 Dataset ISIS3 (rov): USGS Astrogeology ISIS cube (Version 3) ISIS2 (rw+v): USGS Astrogeology ISIS cube (Version 2) PDS (rov): NASA Planetary Data System TIL (rov): EarthWatch .TIL ERS (rw+v): ERMapper .ers Labelled ECW (rw): ERDAS Compressed Wavelets (SDK 3.x) JP2ECW (rw+v): ERDAS JPEG2000 (SDK 3.x) L1B (rovs): NOAA Polar Orbiter Level 1b Data Set FIT (rwv): FIT Image GRIB (rov): GRIdded Binary (.grb) JPEG2000 (rwv): JPEG-2000 part 1 (ISO/IEC 15444-1) RMF (rw+v): Raster Matrix Format WCS (rovs): OGC Web Coverage Service WMS (rwvs): OGC Web Map Service MSGN (ro): EUMETSAT Archive native (.nat) RST (rw+v): Idrisi Raster A.1 INGR (rw+v): Intergraph Raster GSAG (rwv): Golden Software ASCII Grid (.grd) GSBG (rw+v): Golden Software Binary Grid (.grd) GS7BG (rw+v): Golden Software 7 Binary Grid (.grd) COSAR (ro): COSAR Annotated Binary Matrix (TerraSAR-X) TSX (rov): TerraSAR-X Product COASP (ro): DRDC COASP SAR Processor Raster R (rwv): R Object Data Store MAP (rov): OziExplorer .MAP PNM (rw+v): Portable Pixmap Format (netpbm) DOQ1 (rov): USGS DOQ (Old Style) DOQ2 (rov): USGS DOQ (New Style) ENVI (rw+v): ENVI .hdr Labelled EHdr (rw+v): ESRI .hdr Labelled GenBin (rov): Generic Binary (.hdr Labelled) PAux (rw+): PCI .aux Labelled MFF (rw+): Vexcel MFF Raster MFF2 (rw+): Vexcel MFF2 (HKV) Raster FujiBAS (ro): Fuji BAS Scanner Image GSC (rov): GSC Geogrid FAST (rov): EOSAT FAST Format BT (rw+v): VTP .bt (Binary Terrain) 1.3 Format LAN (rw+v): Erdas .LAN/.GIS CPG (ro): Convair PolGASP IDA (rw+): Image Data and Analysis NDF (rov): NLAPS Data Format EIR (rov): Erdas Imagine Raw DIPEx (rov): DIPEx LCP (rwv): FARSITE v.4 Landscape File (.lcp) GTX (rw+v): NOAA Vertical Datum .GTX LOSLAS (rov): NADCON .los/.las Datum Grid Shift NTv2 (rw+vs): NTv2 Datum Grid Shift CTable2 (rw+v): CTable2 Datum Grid Shift ACE2 (rov): ACE2 SNODAS (rov): Snow Data Assimilation System KRO (rw+v): KOLOR Raw ARG (rwv): Azavea Raster Grid format RIK (ro): Swedish Grid RIK (.rik) USGSDEM (rwv): USGS Optional ASCII DEM (and CDED) GXF (ro): GeoSoft Grid Exchange Format HTTP (ro): HTTP Fetching Wrapper BAG (ro): Bathymetry Attributed Grid HDF5 (ros): Hierarchical Data Format Release 5 HDF5Image (ro): HDF5 Dataset NWT_GRD (rov): Northwood Numeric Grid Format .grd/.tab NWT_GRC (rov): Northwood Classified Grid Format .grc/.tab ADRG (rw+vs): ARC Digitized Raster Graphics SRP (rovs): Standard Raster Product (ASRP/USRP) BLX (rw): Magellan topo (.blx) Rasterlite (rws): Rasterlite PostGISRaster (rws): PostGIS Raster driver SAGA (rw+v): SAGA GIS Binary Grid (.sdat) KMLSUPEROVERLAY (rwv): Kml Super Overlay XYZ (rwv): ASCII Gridded XYZ HF2 (rwv): HF2/HFZ heightfield raster PDF (rw): Geospatial PDF OZI (rov): OziExplorer Image File CTG (rov): USGS LULC Composite Theme Grid E00GRID (rov): Arc/Info Export E00 GRID ZMap (rwv): ZMap Plus Grid NGSGEOID (rov): NOAA NGS Geoid Height Grids MBTiles (rov): MBTiles IRIS (rov): IRIS data (.PPI, .CAPPi etc) $ ogrinfo 005991Argb_12_d73.ecw FAILURE: Unable to open datasource `005991Argb_12_d73.ecw' with the following drivers. -> ESRI Shapefile -> MapInfo File -> UK .NTF -> SDTS -> TIGER -> S57 -> DGN -> VRT -> REC -> Memory -> BNA -> CSV -> NAS -> GML -> GPX -> KML -> GeoJSON -> Interlis 1 -> Interlis 2 -> GMT -> GPKG -> SQLite -> ODBC -> WAsP -> PGeo -> MSSQLSpatial -> PostgreSQL -> PCIDSK -> OpenFileGDB -> XPlane -> AVCBin -> AVCE00 -> DXF -> Geoconcept -> GeoRSS -> GPSTrackMaker -> VFK -> PGDump -> OSM -> GPSBabel -> SUA -> OpenAir -> PDS -> WFS -> HTF -> AeronavFAA -> Geomedia -> EDIGEO -> GFT -> GME -> SVG -> CouchDB -> Idrisi -> ARCGEN -> SEGUKOOA -> SEGY -> ElasticSearch -> PDF -> Walk -> CartoDB -> SXF 2015-04-10 1:19 GMT+01:00 Richard Greenwood >: Why are you using a shapefile? Is it a tile index? Have you tried accessing the ecw file directly? Something like: LAYER NAME "ecw" STATUS default TYPE raster DATA "/fullpath/to/0608A1Argb_12_d73.ecw" END Ubuntu probably installed gdal, so you may have two copied. To see which one is first, try which -a gdalinfo and verify that the version with ecw support is first. And if you are still having trouble, please post your layer definition. rich On Thu, Apr 9, 2015 at 8:54 AM, Marco Afonso > wrote: Hi all, Installed mapserver with apt-get. I've installed gdal manually: compiled with ecw support (gdalinfo tell me that). I'm trying to use a shapefile (which points to ecw files) on mapserver but comes the error (the relevant part): msDrawMap(): Image handling error. Failed to draw layer named 'ortos2012'. msDrawRasterLayerLow(): Unable to access file. Corrupt, empty or missing file '/fullpath/to/0608A1Argb_12_d73.ecw Note also that I'm using the full path to the ecw. Any ideas please? Thanks :) -- Regards, Marco Afonso http://goo.gl/ZDtQjm [https://dl.dropboxusercontent.com/u/17607469/qr.png] _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Richard W. Greenwood, PLS www.greenwoodmap.com -- Regards, Marco Afonso http://goo.gl/ZDtQjm [https://dl.dropboxusercontent.com/u/17607469/qr.png] -------------- next part -------------- An HTML attachment was scrubbed... URL: From mafonso333 at gmail.com Fri Apr 10 06:17:24 2015 From: mafonso333 at gmail.com (Marco Afonso) Date: Fri, 10 Apr 2015 14:17:24 +0100 Subject: [mapserver-users] Ubuntu Trusty, MapServer 6.4.1, Gdal 1.11 In-Reply-To: <2b28c52137b941f6b3723afe243d9db3@C119S212VM022.msvyvi.vaha.local> References: <2b28c52137b941f6b3723afe243d9db3@C119S212VM022.msvyvi.vaha.local> Message-ID: Hi Jukka, Hmm... something bad! $ gdalinfo 005991Argb_12_d73.ecw terminate called after throwing an instance of 'std::length_error' what(): basic_string::_S_create Aborted (core dumped) 2015-04-10 14:12 GMT+01:00 Rahkonen Jukka (MML) < jukka.rahkonen at maanmittauslaitos.fi>: > Hi, > > > > Use gdalinfo instead of ogrinfo. > > > > -Jukka Rahkonen > > > > Marco Afonso wrote: > > > > Hi Richard and thank you for your reply :) > > > > Ok... from shell I should be able to read ecw file metadata, right? > > > > Im putting here gdalinfo and ogrinfo outputs. > > > > $ gdalinfo --formats > > > > VRT (rw+v): Virtual Raster > GTiff (rw+vs): GeoTIFF > NITF (rw+vs): National Imagery Transmission Format > RPFTOC (rovs): Raster Product Format TOC format > ECRGTOC (rovs): ECRG TOC format > HFA (rw+v): Erdas Imagine Images (.img) > SAR_CEOS (rov): CEOS SAR Image > CEOS (rov): CEOS Image > JAXAPALSAR (rov): JAXA PALSAR Product Reader (Level 1.1/1.5) > GFF (rov): Ground-based SAR Applications Testbed File Format (.gff) > ELAS (rw+v): ELAS > AIG (rov): Arc/Info Binary Grid > AAIGrid (rwv): Arc/Info ASCII Grid > GRASSASCIIGrid (rov): GRASS ASCII Grid > SDTS (rov): SDTS Raster > DTED (rwv): DTED Elevation Raster > PNG (rwv): Portable Network Graphics > JPEG (rwv): JPEG JFIF > MEM (rw+): In Memory Raster > JDEM (rov): Japanese DEM (.mem) > GIF (rwv): Graphics Interchange Format (.gif) > BIGGIF (rov): Graphics Interchange Format (.gif) > ESAT (rov): Envisat Image Format > BSB (rov): Maptech BSB Nautical Charts > XPM (rwv): X11 PixMap Format > BMP (rw+v): MS Windows Device Independent Bitmap > DIMAP (rov): SPOT DIMAP > AirSAR (ro): AirSAR Polarimetric Image > RS2 (ros): RadarSat 2 XML Product > PCIDSK (rw+v): PCIDSK Database File > PCRaster (rw): PCRaster Raster File > ILWIS (rw+v): ILWIS Raster Map > SGI (rw+): SGI Image File Format 1.0 > SRTMHGT (rwv): SRTMHGT File Format > Leveller (rw+): Leveller heightfield > Terragen (rw+): Terragen heightfield > GMT (rw): GMT NetCDF Grid Format > netCDF (rw+s): Network Common Data Format > HDF4 (ros): Hierarchical Data Format Release 4 > HDF4Image (rw+): HDF4 Dataset > ISIS3 (rov): USGS Astrogeology ISIS cube (Version 3) > ISIS2 (rw+v): USGS Astrogeology ISIS cube (Version 2) > PDS (rov): NASA Planetary Data System > TIL (rov): EarthWatch .TIL > ERS (rw+v): ERMapper .ers Labelled > ECW (rw): ERDAS Compressed Wavelets (SDK 3.x) > JP2ECW (rw+v): ERDAS JPEG2000 (SDK 3.x) > L1B (rovs): NOAA Polar Orbiter Level 1b Data Set > FIT (rwv): FIT Image > GRIB (rov): GRIdded Binary (.grb) > JPEG2000 (rwv): JPEG-2000 part 1 (ISO/IEC 15444-1) > RMF (rw+v): Raster Matrix Format > WCS (rovs): OGC Web Coverage Service > WMS (rwvs): OGC Web Map Service > MSGN (ro): EUMETSAT Archive native (.nat) > RST (rw+v): Idrisi Raster A.1 > INGR (rw+v): Intergraph Raster > GSAG (rwv): Golden Software ASCII Grid (.grd) > GSBG (rw+v): Golden Software Binary Grid (.grd) > GS7BG (rw+v): Golden Software 7 Binary Grid (.grd) > COSAR (ro): COSAR Annotated Binary Matrix (TerraSAR-X) > TSX (rov): TerraSAR-X Product > COASP (ro): DRDC COASP SAR Processor Raster > R (rwv): R Object Data Store > MAP (rov): OziExplorer .MAP > PNM (rw+v): Portable Pixmap Format (netpbm) > DOQ1 (rov): USGS DOQ (Old Style) > DOQ2 (rov): USGS DOQ (New Style) > ENVI (rw+v): ENVI .hdr Labelled > EHdr (rw+v): ESRI .hdr Labelled > GenBin (rov): Generic Binary (.hdr Labelled) > PAux (rw+): PCI .aux Labelled > MFF (rw+): Vexcel MFF Raster > MFF2 (rw+): Vexcel MFF2 (HKV) Raster > FujiBAS (ro): Fuji BAS Scanner Image > GSC (rov): GSC Geogrid > FAST (rov): EOSAT FAST Format > BT (rw+v): VTP .bt (Binary Terrain) 1.3 Format > LAN (rw+v): Erdas .LAN/.GIS > CPG (ro): Convair PolGASP > IDA (rw+): Image Data and Analysis > NDF (rov): NLAPS Data Format > EIR (rov): Erdas Imagine Raw > DIPEx (rov): DIPEx > LCP (rwv): FARSITE v.4 Landscape File (.lcp) > GTX (rw+v): NOAA Vertical Datum .GTX > LOSLAS (rov): NADCON .los/.las Datum Grid Shift > NTv2 (rw+vs): NTv2 Datum Grid Shift > CTable2 (rw+v): CTable2 Datum Grid Shift > ACE2 (rov): ACE2 > SNODAS (rov): Snow Data Assimilation System > KRO (rw+v): KOLOR Raw > ARG (rwv): Azavea Raster Grid format > RIK (ro): Swedish Grid RIK (.rik) > USGSDEM (rwv): USGS Optional ASCII DEM (and CDED) > GXF (ro): GeoSoft Grid Exchange Format > HTTP (ro): HTTP Fetching Wrapper > BAG (ro): Bathymetry Attributed Grid > HDF5 (ros): Hierarchical Data Format Release 5 > HDF5Image (ro): HDF5 Dataset > NWT_GRD (rov): Northwood Numeric Grid Format .grd/.tab > NWT_GRC (rov): Northwood Classified Grid Format .grc/.tab > ADRG (rw+vs): ARC Digitized Raster Graphics > SRP (rovs): Standard Raster Product (ASRP/USRP) > BLX (rw): Magellan topo (.blx) > Rasterlite (rws): Rasterlite > PostGISRaster (rws): PostGIS Raster driver > SAGA (rw+v): SAGA GIS Binary Grid (.sdat) > KMLSUPEROVERLAY (rwv): Kml Super Overlay > XYZ (rwv): ASCII Gridded XYZ > HF2 (rwv): HF2/HFZ heightfield raster > PDF (rw): Geospatial PDF > OZI (rov): OziExplorer Image File > CTG (rov): USGS LULC Composite Theme Grid > E00GRID (rov): Arc/Info Export E00 GRID > ZMap (rwv): ZMap Plus Grid > NGSGEOID (rov): NOAA NGS Geoid Height Grids > MBTiles (rov): MBTiles > IRIS (rov): IRIS data (.PPI, .CAPPi etc) > > > > > > $ ogrinfo 005991Argb_12_d73.ecw > > > > FAILURE: > Unable to open datasource `005991Argb_12_d73.ecw' with the following > drivers. > -> ESRI Shapefile > -> MapInfo File > -> UK .NTF > -> SDTS > -> TIGER > -> S57 > -> DGN > -> VRT > -> REC > -> Memory > -> BNA > -> CSV > -> NAS > -> GML > -> GPX > -> KML > -> GeoJSON > -> Interlis 1 > -> Interlis 2 > -> GMT > -> GPKG > -> SQLite > -> ODBC > -> WAsP > -> PGeo > -> MSSQLSpatial > -> PostgreSQL > -> PCIDSK > -> OpenFileGDB > -> XPlane > -> AVCBin > -> AVCE00 > -> DXF > -> Geoconcept > -> GeoRSS > -> GPSTrackMaker > -> VFK > -> PGDump > -> OSM > -> GPSBabel > -> SUA > -> OpenAir > -> PDS > -> WFS > -> HTF > -> AeronavFAA > -> Geomedia > -> EDIGEO > -> GFT > -> GME > -> SVG > -> CouchDB > -> Idrisi > -> ARCGEN > -> SEGUKOOA > -> SEGY > -> ElasticSearch > -> PDF > -> Walk > -> CartoDB > -> SXF > > > > 2015-04-10 1:19 GMT+01:00 Richard Greenwood : > > Why are you using a shapefile? Is it a tile index? Have you tried > accessing the ecw file directly? Something like: > > > > LAYER > > NAME "ecw" > > STATUS default > > TYPE raster > > DATA "/fullpath/to/0608A1Argb_12_d73.ecw" > > END > > > > Ubuntu probably installed gdal, so you may have two copied. To see which > one is first, try > > which -a gdalinfo > > and verify that the version with ecw support is first. > > > > And if you are still having trouble, please post your layer definition. > > > > rich > > > > > > On Thu, Apr 9, 2015 at 8:54 AM, Marco Afonso wrote: > > > Hi all, > > > > Installed mapserver with apt-get. > > I've installed gdal manually: compiled with ecw support (gdalinfo tell me > that). > > I'm trying to use a shapefile (which points to ecw files) on mapserver but > comes the error (the relevant part): > > > msDrawMap(): Image handling error. Failed to draw layer named > 'ortos2012'. > msDrawRasterLayerLow(): Unable to access file. Corrupt, empty or missing > file '/fullpath/to/0608A1Argb_12_d73.ecw > > > > Note also that I'm using the full path to the ecw. > > > > Any ideas please? Thanks :) > > > -- > > Regards, > > Marco Afonso > > http://goo.gl/ZDtQjm > > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > > > > > -- > > Richard W. Greenwood, PLS > www.greenwoodmap.com > > > > > -- > > Regards, > > Marco Afonso > > http://goo.gl/ZDtQjm > > -- Regards, Marco Afonso http://goo.gl/ZDtQjm -------------- next part -------------- An HTML attachment was scrubbed... URL: From mafonso333 at gmail.com Fri Apr 10 06:34:46 2015 From: mafonso333 at gmail.com (Marco Afonso) Date: Fri, 10 Apr 2015 14:34:46 +0100 Subject: [mapserver-users] Ubuntu Trusty, MapServer 6.4.1, Gdal 1.11 In-Reply-To: References: <2b28c52137b941f6b3723afe243d9db3@C119S212VM022.msvyvi.vaha.local> Message-ID: Ok, It's not a problem with mapserver. Just found that I need to apply some patches/options when compiling gdal with ECW on recent GCC nix. Found this http://osgeo-org.1560.x6.nabble.com/ECW-support-on-Fedora-Linux-error-td4991388.HTML And reading moreover on http://trac.osgeo.org/gdal/wiki/ECW Thank you all anyway! 2015-04-10 14:17 GMT+01:00 Marco Afonso : > Hi Jukka, > > Hmm... something bad! > > $ gdalinfo 005991Argb_12_d73.ecw > > terminate called after throwing an instance of 'std::length_error' > what(): basic_string::_S_create > Aborted (core dumped) > > > 2015-04-10 14:12 GMT+01:00 Rahkonen Jukka (MML) < > jukka.rahkonen at maanmittauslaitos.fi>: > >> Hi, >> >> >> >> Use gdalinfo instead of ogrinfo. >> >> >> >> -Jukka Rahkonen >> >> >> >> Marco Afonso wrote: >> >> >> >> Hi Richard and thank you for your reply :) >> >> >> >> Ok... from shell I should be able to read ecw file metadata, right? >> >> >> >> Im putting here gdalinfo and ogrinfo outputs. >> >> >> >> $ gdalinfo --formats >> >> >> >> VRT (rw+v): Virtual Raster >> GTiff (rw+vs): GeoTIFF >> NITF (rw+vs): National Imagery Transmission Format >> RPFTOC (rovs): Raster Product Format TOC format >> ECRGTOC (rovs): ECRG TOC format >> HFA (rw+v): Erdas Imagine Images (.img) >> SAR_CEOS (rov): CEOS SAR Image >> CEOS (rov): CEOS Image >> JAXAPALSAR (rov): JAXA PALSAR Product Reader (Level 1.1/1.5) >> GFF (rov): Ground-based SAR Applications Testbed File Format (.gff) >> ELAS (rw+v): ELAS >> AIG (rov): Arc/Info Binary Grid >> AAIGrid (rwv): Arc/Info ASCII Grid >> GRASSASCIIGrid (rov): GRASS ASCII Grid >> SDTS (rov): SDTS Raster >> DTED (rwv): DTED Elevation Raster >> PNG (rwv): Portable Network Graphics >> JPEG (rwv): JPEG JFIF >> MEM (rw+): In Memory Raster >> JDEM (rov): Japanese DEM (.mem) >> GIF (rwv): Graphics Interchange Format (.gif) >> BIGGIF (rov): Graphics Interchange Format (.gif) >> ESAT (rov): Envisat Image Format >> BSB (rov): Maptech BSB Nautical Charts >> XPM (rwv): X11 PixMap Format >> BMP (rw+v): MS Windows Device Independent Bitmap >> DIMAP (rov): SPOT DIMAP >> AirSAR (ro): AirSAR Polarimetric Image >> RS2 (ros): RadarSat 2 XML Product >> PCIDSK (rw+v): PCIDSK Database File >> PCRaster (rw): PCRaster Raster File >> ILWIS (rw+v): ILWIS Raster Map >> SGI (rw+): SGI Image File Format 1.0 >> SRTMHGT (rwv): SRTMHGT File Format >> Leveller (rw+): Leveller heightfield >> Terragen (rw+): Terragen heightfield >> GMT (rw): GMT NetCDF Grid Format >> netCDF (rw+s): Network Common Data Format >> HDF4 (ros): Hierarchical Data Format Release 4 >> HDF4Image (rw+): HDF4 Dataset >> ISIS3 (rov): USGS Astrogeology ISIS cube (Version 3) >> ISIS2 (rw+v): USGS Astrogeology ISIS cube (Version 2) >> PDS (rov): NASA Planetary Data System >> TIL (rov): EarthWatch .TIL >> ERS (rw+v): ERMapper .ers Labelled >> ECW (rw): ERDAS Compressed Wavelets (SDK 3.x) >> JP2ECW (rw+v): ERDAS JPEG2000 (SDK 3.x) >> L1B (rovs): NOAA Polar Orbiter Level 1b Data Set >> FIT (rwv): FIT Image >> GRIB (rov): GRIdded Binary (.grb) >> JPEG2000 (rwv): JPEG-2000 part 1 (ISO/IEC 15444-1) >> RMF (rw+v): Raster Matrix Format >> WCS (rovs): OGC Web Coverage Service >> WMS (rwvs): OGC Web Map Service >> MSGN (ro): EUMETSAT Archive native (.nat) >> RST (rw+v): Idrisi Raster A.1 >> INGR (rw+v): Intergraph Raster >> GSAG (rwv): Golden Software ASCII Grid (.grd) >> GSBG (rw+v): Golden Software Binary Grid (.grd) >> GS7BG (rw+v): Golden Software 7 Binary Grid (.grd) >> COSAR (ro): COSAR Annotated Binary Matrix (TerraSAR-X) >> TSX (rov): TerraSAR-X Product >> COASP (ro): DRDC COASP SAR Processor Raster >> R (rwv): R Object Data Store >> MAP (rov): OziExplorer .MAP >> PNM (rw+v): Portable Pixmap Format (netpbm) >> DOQ1 (rov): USGS DOQ (Old Style) >> DOQ2 (rov): USGS DOQ (New Style) >> ENVI (rw+v): ENVI .hdr Labelled >> EHdr (rw+v): ESRI .hdr Labelled >> GenBin (rov): Generic Binary (.hdr Labelled) >> PAux (rw+): PCI .aux Labelled >> MFF (rw+): Vexcel MFF Raster >> MFF2 (rw+): Vexcel MFF2 (HKV) Raster >> FujiBAS (ro): Fuji BAS Scanner Image >> GSC (rov): GSC Geogrid >> FAST (rov): EOSAT FAST Format >> BT (rw+v): VTP .bt (Binary Terrain) 1.3 Format >> LAN (rw+v): Erdas .LAN/.GIS >> CPG (ro): Convair PolGASP >> IDA (rw+): Image Data and Analysis >> NDF (rov): NLAPS Data Format >> EIR (rov): Erdas Imagine Raw >> DIPEx (rov): DIPEx >> LCP (rwv): FARSITE v.4 Landscape File (.lcp) >> GTX (rw+v): NOAA Vertical Datum .GTX >> LOSLAS (rov): NADCON .los/.las Datum Grid Shift >> NTv2 (rw+vs): NTv2 Datum Grid Shift >> CTable2 (rw+v): CTable2 Datum Grid Shift >> ACE2 (rov): ACE2 >> SNODAS (rov): Snow Data Assimilation System >> KRO (rw+v): KOLOR Raw >> ARG (rwv): Azavea Raster Grid format >> RIK (ro): Swedish Grid RIK (.rik) >> USGSDEM (rwv): USGS Optional ASCII DEM (and CDED) >> GXF (ro): GeoSoft Grid Exchange Format >> HTTP (ro): HTTP Fetching Wrapper >> BAG (ro): Bathymetry Attributed Grid >> HDF5 (ros): Hierarchical Data Format Release 5 >> HDF5Image (ro): HDF5 Dataset >> NWT_GRD (rov): Northwood Numeric Grid Format .grd/.tab >> NWT_GRC (rov): Northwood Classified Grid Format .grc/.tab >> ADRG (rw+vs): ARC Digitized Raster Graphics >> SRP (rovs): Standard Raster Product (ASRP/USRP) >> BLX (rw): Magellan topo (.blx) >> Rasterlite (rws): Rasterlite >> PostGISRaster (rws): PostGIS Raster driver >> SAGA (rw+v): SAGA GIS Binary Grid (.sdat) >> KMLSUPEROVERLAY (rwv): Kml Super Overlay >> XYZ (rwv): ASCII Gridded XYZ >> HF2 (rwv): HF2/HFZ heightfield raster >> PDF (rw): Geospatial PDF >> OZI (rov): OziExplorer Image File >> CTG (rov): USGS LULC Composite Theme Grid >> E00GRID (rov): Arc/Info Export E00 GRID >> ZMap (rwv): ZMap Plus Grid >> NGSGEOID (rov): NOAA NGS Geoid Height Grids >> MBTiles (rov): MBTiles >> IRIS (rov): IRIS data (.PPI, .CAPPi etc) >> >> >> >> >> >> $ ogrinfo 005991Argb_12_d73.ecw >> >> >> >> FAILURE: >> Unable to open datasource `005991Argb_12_d73.ecw' with the following >> drivers. >> -> ESRI Shapefile >> -> MapInfo File >> -> UK .NTF >> -> SDTS >> -> TIGER >> -> S57 >> -> DGN >> -> VRT >> -> REC >> -> Memory >> -> BNA >> -> CSV >> -> NAS >> -> GML >> -> GPX >> -> KML >> -> GeoJSON >> -> Interlis 1 >> -> Interlis 2 >> -> GMT >> -> GPKG >> -> SQLite >> -> ODBC >> -> WAsP >> -> PGeo >> -> MSSQLSpatial >> -> PostgreSQL >> -> PCIDSK >> -> OpenFileGDB >> -> XPlane >> -> AVCBin >> -> AVCE00 >> -> DXF >> -> Geoconcept >> -> GeoRSS >> -> GPSTrackMaker >> -> VFK >> -> PGDump >> -> OSM >> -> GPSBabel >> -> SUA >> -> OpenAir >> -> PDS >> -> WFS >> -> HTF >> -> AeronavFAA >> -> Geomedia >> -> EDIGEO >> -> GFT >> -> GME >> -> SVG >> -> CouchDB >> -> Idrisi >> -> ARCGEN >> -> SEGUKOOA >> -> SEGY >> -> ElasticSearch >> -> PDF >> -> Walk >> -> CartoDB >> -> SXF >> >> >> >> 2015-04-10 1:19 GMT+01:00 Richard Greenwood > >: >> >> Why are you using a shapefile? Is it a tile index? Have you tried >> accessing the ecw file directly? Something like: >> >> >> >> LAYER >> >> NAME "ecw" >> >> STATUS default >> >> TYPE raster >> >> DATA "/fullpath/to/0608A1Argb_12_d73.ecw" >> >> END >> >> >> >> Ubuntu probably installed gdal, so you may have two copied. To see which >> one is first, try >> >> which -a gdalinfo >> >> and verify that the version with ecw support is first. >> >> >> >> And if you are still having trouble, please post your layer definition. >> >> >> >> rich >> >> >> >> >> >> On Thu, Apr 9, 2015 at 8:54 AM, Marco Afonso >> wrote: >> >> >> Hi all, >> >> >> >> Installed mapserver with apt-get. >> >> I've installed gdal manually: compiled with ecw support (gdalinfo tell me >> that). >> >> I'm trying to use a shapefile (which points to ecw files) on mapserver >> but comes the error (the relevant part): >> >> >> msDrawMap(): Image handling error. Failed to draw layer named >> 'ortos2012'. >> msDrawRasterLayerLow(): Unable to access file. Corrupt, empty or missing >> file '/fullpath/to/0608A1Argb_12_d73.ecw >> >> >> >> Note also that I'm using the full path to the ecw. >> >> >> >> Any ideas please? Thanks :) >> >> >> -- >> >> Regards, >> >> Marco Afonso >> >> http://goo.gl/ZDtQjm >> >> >> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> >> >> >> >> -- >> >> Richard W. Greenwood, PLS >> www.greenwoodmap.com >> >> >> >> >> -- >> >> Regards, >> >> Marco Afonso >> >> http://goo.gl/ZDtQjm >> >> > > > -- > Regards, > Marco Afonso > http://goo.gl/ZDtQjm > > -- Regards, Marco Afonso http://goo.gl/ZDtQjm -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmckenna at gatewaygeomatics.com Fri Apr 10 07:07:13 2015 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Fri, 10 Apr 2015 11:07:13 -0300 Subject: [mapserver-users] Ubuntu Trusty, MapServer 6.4.1, Gdal 1.11 In-Reply-To: References: <2b28c52137b941f6b3723afe243d9db3@C119S212VM022.msvyvi.vaha.local> Message-ID: <5527D911.3050503@gatewaygeomatics.com> On 2015-04-10 10:34 AM, Marco Afonso wrote: > > Found this > And reading moreover on http://trac.osgeo.org/gdal/wiki/ECW > Those wiki pages are wonderful; please as you head down this path don't be afraid to update that ECW build wiki with any notes or changes you noticed. Thanks! -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ From mafonso333 at gmail.com Fri Apr 10 07:25:04 2015 From: mafonso333 at gmail.com (Marco Afonso) Date: Fri, 10 Apr 2015 15:25:04 +0100 Subject: [mapserver-users] Ubuntu Trusty, MapServer 6.4.1, Gdal 1.11 In-Reply-To: <5527D911.3050503@gatewaygeomatics.com> References: <2b28c52137b941f6b3723afe243d9db3@C119S212VM022.msvyvi.vaha.local> <5527D911.3050503@gatewaygeomatics.com> Message-ID: Hi again, Ok Jeff, I can change if I find something new. Not solved yet :p Ok, recompiled libecwj2 and gdal. gdalinfo is now reading the ecw correctly. But I still get the mapserver error... are there any further tests that I can do? Thanks. 2015-04-10 15:07 GMT+01:00 Jeff McKenna : > On 2015-04-10 10:34 AM, Marco Afonso wrote: > > >> Found this >> > > And reading moreover on http://trac.osgeo.org/gdal/wiki/ECW >> >> Those wiki pages are wonderful; please as you head down this path don't > be afraid to update that ECW build wiki with any notes or changes you > noticed. Thanks! > > -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 > -- Regards, Marco Afonso http://goo.gl/ZDtQjm -------------- next part -------------- An HTML attachment was scrubbed... URL: From federicogodan2000 at hotmail.com Fri Apr 10 16:05:07 2015 From: federicogodan2000 at hotmail.com (Fde_G .) Date: Fri, 10 Apr 2015 20:05:07 -0300 Subject: [mapserver-users] No documentation for older version Message-ID: Hi, navigating the site i found that documentation for other versi?n diferent than current (http://mapserver.org/previousversions.html#previousversions) are not avalible. Where is the correct place to report the problem? -------------- next part -------------- An HTML attachment was scrubbed... URL: From tchaddad at gmail.com Fri Apr 10 16:36:50 2015 From: tchaddad at gmail.com (TC Haddad) Date: Fri, 10 Apr 2015 16:36:50 -0700 Subject: [mapserver-users] No documentation for older version In-Reply-To: References: Message-ID: previously reported it here: *https://github.com/mapserver/docs/issues/115 * On Fri, Apr 10, 2015 at 4:05 PM, Fde_G . wrote: > Hi, navigating the site i found that documentation for other versi?n > diferent than current ( > http://mapserver.org/previousversions.html#previousversions) are not > avalible. Where is the correct place to report the problem? > > > > _______________________________________________ > 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 richard.greenwood at gmail.com Fri Apr 10 18:07:02 2015 From: richard.greenwood at gmail.com (Richard Greenwood) Date: Fri, 10 Apr 2015 19:07:02 -0600 Subject: [mapserver-users] Ubuntu Trusty, MapServer 6.4.1, Gdal 1.11 In-Reply-To: References: <2b28c52137b941f6b3723afe243d9db3@C119S212VM022.msvyvi.vaha.local> <5527D911.3050503@gatewaygeomatics.com> Message-ID: Marco, If you haven't got it working yet, please post the error message and you LAYER definition. Rich On Fri, Apr 10, 2015 at 8:25 AM, Marco Afonso wrote: > Hi again, > > Ok Jeff, I can change if I find something new. > > Not solved yet :p > > Ok, recompiled libecwj2 and gdal. gdalinfo is now reading the ecw > correctly. > > But I still get the mapserver error... are there any further tests that I > can do? > > Thanks. > > 2015-04-10 15:07 GMT+01:00 Jeff McKenna : > >> On 2015-04-10 10:34 AM, Marco Afonso wrote: >> >> >>> Found this >>> >> >> And reading moreover on http://trac.osgeo.org/gdal/wiki/ECW >>> >>> Those wiki pages are wonderful; please as you head down this path don't >> be afraid to update that ECW build wiki with any notes or changes you >> noticed. Thanks! >> >> -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 >> > > > > -- > Regards, > Marco Afonso > http://goo.gl/ZDtQjm > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > -- Richard W. Greenwood, PLS www.greenwoodmap.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mafonso333 at gmail.com Sat Apr 11 02:51:11 2015 From: mafonso333 at gmail.com (Marco Afonso) Date: Sat, 11 Apr 2015 10:51:11 +0100 Subject: [mapserver-users] Ubuntu Trusty, MapServer 6.4.1, Gdal 1.11 In-Reply-To: References: <2b28c52137b941f6b3723afe243d9db3@C119S212VM022.msvyvi.vaha.local> <5527D911.3050503@gatewaygeomatics.com> Message-ID: Hi, Follows the error message and the LAYER definition. *The error message:* msDrawMap(): Image handling error. Failed to draw layer named 'ortos2012'. msDrawRasterLayerLow(): Unable to access file. Corrupt, empty or missing file '/home/mapas/dados/raster/ortos2012/006003Argb_12_d73.ecw' for layer 'ortos2012'. *The layer definition:* LAYER NAME "ortos2012" TILEINDEX "/home/mapas/dados/raster/ortos2012/ortos2012.shp" TILEITEM "location" GROUP "orto2012" STATUS ON TYPE RASTER EXTENT 15995.647242605302 -295001.417762485 51995.770961132344 -250001.16004779167 #MAXSCALE 50000 METADATA "wms_title" "ortos2012_internet" "wms_abstract" "generated by DSIC" "wms_extent" "15995.647242605302 -295001.417762485 51995.770961132344 -250001.16004779167" "wms_srs" "EPSG:27492" "wms_name" "ortos2012" "wms_server_version" "1.1.1" "wms_format" "image/jpeg" END END 2015-04-11 2:07 GMT+01:00 Richard Greenwood : > Marco, > > If you haven't got it working yet, please post the error message and you > LAYER definition. > > Rich > > > On Fri, Apr 10, 2015 at 8:25 AM, Marco Afonso > wrote: > >> Hi again, >> >> Ok Jeff, I can change if I find something new. >> >> Not solved yet :p >> >> Ok, recompiled libecwj2 and gdal. gdalinfo is now reading the ecw >> correctly. >> >> But I still get the mapserver error... are there any further tests that I >> can do? >> >> Thanks. >> >> 2015-04-10 15:07 GMT+01:00 Jeff McKenna : >> >>> On 2015-04-10 10:34 AM, Marco Afonso wrote: >>> >>> >>>> Found this >>>> >>> >>> And reading moreover on http://trac.osgeo.org/gdal/wiki/ECW >>>> >>>> Those wiki pages are wonderful; please as you head down this path >>> don't be afraid to update that ECW build wiki with any notes or changes you >>> noticed. Thanks! >>> >>> -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 >>> >> >> >> >> -- >> Regards, >> Marco Afonso >> http://goo.gl/ZDtQjm >> >> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> > > > > -- > Richard W. Greenwood, PLS > www.greenwoodmap.com > -- Regards, Marco Afonso http://goo.gl/ZDtQjm -------------- next part -------------- An HTML attachment was scrubbed... URL: From jukka.rahkonen at maanmittauslaitos.fi Sat Apr 11 03:21:09 2015 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka (MML)) Date: Sat, 11 Apr 2015 10:21:09 +0000 Subject: [mapserver-users] Ubuntu Trusty, MapServer 6.4.1, Gdal 1.11 Message-ID: <83d1739f215545658284e062f624bf5a@C119S212VM022.msvyvi.vaha.local> Hi, About how to test I have only one advice: Do it systematically. Being systematically means building something pretty simple that works first and add new stuff one and only one step at a time. Somehow like: Problem is that ECW layer through tileindex does not work. 1.) Does it work with one ECW? It did not, you fixed the build and gdalinfo is OK now but did you also test that MapServer is now OK with one ECW? 2.) If it is working with ECW then good. If it is not, make an additional test by converting one ECW into GeoTIFF and test your layer with it. If it is OK there is still something wrong with ECW support. If GeoTIFF does not work there is something else wrong and you must fix it before you can even know if the issue has to do with ECW at all. 3.) If one GeoTIFF and one ECW is OK then perhaps something is wrong with the tileindex. Make a new tileindex that contains a) only that one GeoTIFF you created in step 2 b) the same for the one original ECW. Do they work? Test with the file /home/mapas/dados/raster/ortos2012/006003Argb_12_d73.ecw. Does it exist? Is it empty? Can?t it be accessed due to wrong path or missing rights? (): Unable to access file. Corrupt, empty or missing file '/home/mapas/dados/raster/ortos2012/006003Argb_12_d73.ecw' for layer 'ortos2012'. As a general rule, add DEBUG 5 into your layer when debugging, and I suggest to add always PROJECTION blocks into MAP and LAYER level. -Jukka Rahkonen- L?hett?j?: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Marco Afonso L?hetetty: 10. huhtikuuta 2015 17:25 Vastaanottaja: Jeff McKenna Kopio: mapserver Aihe: Re: [mapserver-users] Ubuntu Trusty, MapServer 6.4.1, Gdal 1.11 Hi again, Ok Jeff, I can change if I find something new. Not solved yet :p Ok, recompiled libecwj2 and gdal. gdalinfo is now reading the ecw correctly. But I still get the mapserver error... are there any further tests that I can do? Thanks. 2015-04-10 15:07 GMT+01:00 Jeff McKenna >: On 2015-04-10 10:34 AM, Marco Afonso wrote: Found this And reading moreover on http://trac.osgeo.org/gdal/wiki/ECW Those wiki pages are wonderful; please as you head down this path don't be afraid to update that ECW build wiki with any notes or changes you noticed. Thanks! -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 -- Regards, Marco Afonso http://goo.gl/ZDtQjm [https://dl.dropboxusercontent.com/u/17607469/qr.png] -------------- next part -------------- An HTML attachment was scrubbed... URL: From mafonso333 at gmail.com Sat Apr 11 03:57:09 2015 From: mafonso333 at gmail.com (Marco Afonso) Date: Sat, 11 Apr 2015 11:57:09 +0100 Subject: [mapserver-users] Ubuntu Trusty, MapServer 6.4.1, Gdal 1.11 In-Reply-To: <83d1739f215545658284e062f624bf5a@C119S212VM022.msvyvi.vaha.local> References: <83d1739f215545658284e062f624bf5a@C119S212VM022.msvyvi.vaha.local> Message-ID: Hi Jukka, We have exactly the same MS configuration, shapefile and ECW files working a older windows machine, so it seems to me that it is something to do with ms on linux. As I stated before, gdalinfo and ogrinfo are reading corretly the shapefile and ecw files throught command line. What file permitions would be required? Thanks 2015-04-11 11:21 GMT+01:00 Rahkonen Jukka (MML) < jukka.rahkonen at maanmittauslaitos.fi>: > Hi, > > > > About how to test I have only one advice: Do it systematically. > > > > Being systematically means building something pretty simple that works > first and add new stuff one and only one step at a time. Somehow like: > > > > Problem is that ECW layer through tileindex does not work. > > > > 1.) Does it work with one ECW? It did not, you fixed the build and > gdalinfo is OK now but did you also test that MapServer is now OK with one > ECW? > > 2.) If it is working with ECW then good. If it is not, make an > additional test by converting one ECW into GeoTIFF and test your layer > with it. If it is OK there is still something wrong with ECW support. If > GeoTIFF does not work there is something else wrong and you must fix it > before you can even know if the issue has to do with ECW at all. > > 3.) If one GeoTIFF and one ECW is OK then perhaps something is wrong > with the tileindex. Make a new tileindex that contains a) only that one > GeoTIFF you created in step 2 b) the same for the one original ECW. Do they > work? > > > > Test with the file > /home/mapas/dados/raster/ortos2012/006003Argb_12_d73.ecw. Does it exist? Is > it empty? Can?t it be accessed due to wrong path or missing rights? > > > > (): Unable to access file. Corrupt, empty or missing file > '/home/mapas/dados/raster/ortos2012/006003Argb_12_d73.ecw' for > layer 'ortos2012'. > > > > As a general rule, add DEBUG 5 into your layer when debugging, and I > suggest to add always PROJECTION blocks into MAP and LAYER level. > > > > -Jukka Rahkonen- > > > > > > *L?hett?j?:* mapserver-users-bounces at lists.osgeo.org [mailto: > mapserver-users-bounces at lists.osgeo.org] *Puolesta *Marco Afonso > *L?hetetty:* 10. huhtikuuta 2015 17:25 > *Vastaanottaja:* Jeff McKenna > *Kopio:* mapserver > *Aihe:* Re: [mapserver-users] Ubuntu Trusty, MapServer 6.4.1, Gdal 1.11 > > > > Hi again, > > > > Ok Jeff, I can change if I find something new. > > > > Not solved yet :p > > > > Ok, recompiled libecwj2 and gdal. gdalinfo is now reading the ecw > correctly. > > > > But I still get the mapserver error... are there any further tests that I > can do? > > > > Thanks. > > > > 2015-04-10 15:07 GMT+01:00 Jeff McKenna : > > On 2015-04-10 10:34 AM, Marco Afonso wrote: > > > Found this > > > > And reading moreover on http://trac.osgeo.org/gdal/wiki/ECW > > Those wiki pages are wonderful; please as you head down this path don't be > afraid to update that ECW build wiki with any notes or changes you > noticed. Thanks! > > -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 > > > > > -- > > Regards, > > Marco Afonso > > http://goo.gl/ZDtQjm > > -- Regards, Marco Afonso http://goo.gl/ZDtQjm -------------- next part -------------- An HTML attachment was scrubbed... URL: From jukka.rahkonen at maanmittauslaitos.fi Sat Apr 11 04:02:21 2015 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka (MML)) Date: Sat, 11 Apr 2015 11:02:21 +0000 Subject: [mapserver-users] Ubuntu Trusty, MapServer 6.4.1, Gdal 1.11 In-Reply-To: References: <83d1739f215545658284e062f624bf5a@C119S212VM022.msvyvi.vaha.local>, Message-ID: <344d338620db4364ab5c67f35a7c9d53@C119S212VM022.msvyvi.vaha.local> So does it work with one tiff on Linux? If yes the file access theory is wrong. Jukka ________________________________ L?hett?j?: Marco Afonso L?hetetty: ?11.?4.?2015 13:57 Vastaanottaja: Rahkonen Jukka (MML) Kopio: mapserver Aihe: Re: [mapserver-users] Ubuntu Trusty, MapServer 6.4.1, Gdal 1.11 Hi Jukka, We have exactly the same MS configuration, shapefile and ECW files working a older windows machine, so it seems to me that it is something to do with ms on linux. As I stated before, gdalinfo and ogrinfo are reading corretly the shapefile and ecw files throught command line. What file permitions would be required? Thanks 2015-04-11 11:21 GMT+01:00 Rahkonen Jukka (MML) >: Hi, About how to test I have only one advice: Do it systematically. Being systematically means building something pretty simple that works first and add new stuff one and only one step at a time. Somehow like: Problem is that ECW layer through tileindex does not work. 1.) Does it work with one ECW? It did not, you fixed the build and gdalinfo is OK now but did you also test that MapServer is now OK with one ECW? 2.) If it is working with ECW then good. If it is not, make an additional test by converting one ECW into GeoTIFF and test your layer with it. If it is OK there is still something wrong with ECW support. If GeoTIFF does not work there is something else wrong and you must fix it before you can even know if the issue has to do with ECW at all. 3.) If one GeoTIFF and one ECW is OK then perhaps something is wrong with the tileindex. Make a new tileindex that contains a) only that one GeoTIFF you created in step 2 b) the same for the one original ECW. Do they work? Test with the file /home/mapas/dados/raster/ortos2012/006003Argb_12_d73.ecw. Does it exist? Is it empty? Can?t it be accessed due to wrong path or missing rights? (): Unable to access file. Corrupt, empty or missing file '/home/mapas/dados/raster/ortos2012/006003Argb_12_d73.ecw' for layer 'ortos2012'. As a general rule, add DEBUG 5 into your layer when debugging, and I suggest to add always PROJECTION blocks into MAP and LAYER level. -Jukka Rahkonen- L?hett?j?: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Marco Afonso L?hetetty: 10. huhtikuuta 2015 17:25 Vastaanottaja: Jeff McKenna Kopio: mapserver Aihe: Re: [mapserver-users] Ubuntu Trusty, MapServer 6.4.1, Gdal 1.11 Hi again, Ok Jeff, I can change if I find something new. Not solved yet :p Ok, recompiled libecwj2 and gdal. gdalinfo is now reading the ecw correctly. But I still get the mapserver error... are there any further tests that I can do? Thanks. 2015-04-10 15:07 GMT+01:00 Jeff McKenna >: On 2015-04-10 10:34 AM, Marco Afonso wrote: Found this And reading moreover on http://trac.osgeo.org/gdal/wiki/ECW Those wiki pages are wonderful; please as you head down this path don't be afraid to update that ECW build wiki with any notes or changes you noticed. Thanks! -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 -- Regards, Marco Afonso http://goo.gl/ZDtQjm [https://dl.dropboxusercontent.com/u/17607469/qr.png] -- Regards, Marco Afonso http://goo.gl/ZDtQjm [https://dl.dropboxusercontent.com/u/17607469/qr.png] -------------- next part -------------- An HTML attachment was scrubbed... URL: From mafonso333 at gmail.com Sat Apr 11 04:35:23 2015 From: mafonso333 at gmail.com (Marco Afonso) Date: Sat, 11 Apr 2015 12:35:23 +0100 Subject: [mapserver-users] Fwd: Ubuntu Trusty, MapServer 6.4.1, Gdal 1.11 In-Reply-To: References: <83d1739f215545658284e062f624bf5a@C119S212VM022.msvyvi.vaha.local> <344d338620db4364ab5c67f35a7c9d53@C119S212VM022.msvyvi.vaha.local> Message-ID: Reboot and... voil?! It is working! :) Cheers 2015-04-11 12:02 GMT+01:00 Rahkonen Jukka (MML) < jukka.rahkonen at maanmittauslaitos.fi>: > So does it work with one tiff on Linux? If yes the file access theory is > wrong. > > Jukka > ------------------------------ > L?hett?j?: Marco Afonso > L?hetetty: ?11.?4.?2015 13:57 > Vastaanottaja: Rahkonen Jukka (MML) > > Kopio: mapserver > Aihe: Re: [mapserver-users] Ubuntu Trusty, MapServer 6.4.1, Gdal 1.11 > > Hi Jukka, > > We have exactly the same MS configuration, shapefile and ECW files > working a older windows machine, so it seems to me that it is something to > do with ms on linux. > > As I stated before, gdalinfo and ogrinfo are reading corretly the > shapefile and ecw files throught command line. > > What file permitions would be required? > > Thanks > > 2015-04-11 11:21 GMT+01:00 Rahkonen Jukka (MML) < > jukka.rahkonen at maanmittauslaitos.fi>: > >> Hi, >> >> >> >> About how to test I have only one advice: Do it systematically. >> >> >> >> Being systematically means building something pretty simple that works >> first and add new stuff one and only one step at a time. Somehow like: >> >> >> >> Problem is that ECW layer through tileindex does not work. >> >> >> >> 1.) Does it work with one ECW? It did not, you fixed the build and >> gdalinfo is OK now but did you also test that MapServer is now OK with one >> ECW? >> >> 2.) If it is working with ECW then good. If it is not, make an >> additional test by converting one ECW into GeoTIFF and test your layer >> with it. If it is OK there is still something wrong with ECW support. If >> GeoTIFF does not work there is something else wrong and you must fix it >> before you can even know if the issue has to do with ECW at all. >> >> 3.) If one GeoTIFF and one ECW is OK then perhaps something is wrong >> with the tileindex. Make a new tileindex that contains a) only that one >> GeoTIFF you created in step 2 b) the same for the one original ECW. Do they >> work? >> >> >> >> Test with the file >> /home/mapas/dados/raster/ortos2012/006003Argb_12_d73.ecw. Does it exist? Is >> it empty? Can?t it be accessed due to wrong path or missing rights? >> >> >> >> (): Unable to access file. Corrupt, empty or missing file >> '/home/mapas/dados/raster/ortos2012/006003Argb_12_d73.ecw' for >> layer 'ortos2012'. >> >> >> >> As a general rule, add DEBUG 5 into your layer when debugging, and I >> suggest to add always PROJECTION blocks into MAP and LAYER level. >> >> >> >> -Jukka Rahkonen- >> >> >> >> >> >> *L?hett?j?:* mapserver-users-bounces at lists.osgeo.org [mailto: >> mapserver-users-bounces at lists.osgeo.org] *Puolesta *Marco Afonso >> *L?hetetty:* 10. huhtikuuta 2015 17:25 >> *Vastaanottaja:* Jeff McKenna >> *Kopio:* mapserver >> *Aihe:* Re: [mapserver-users] Ubuntu Trusty, MapServer 6.4.1, Gdal 1.11 >> >> >> >> Hi again, >> >> >> >> Ok Jeff, I can change if I find something new. >> >> >> >> Not solved yet :p >> >> >> >> Ok, recompiled libecwj2 and gdal. gdalinfo is now reading the ecw >> correctly. >> >> >> >> But I still get the mapserver error... are there any further tests that I >> can do? >> >> >> >> Thanks. >> >> >> >> 2015-04-10 15:07 GMT+01:00 Jeff McKenna : >> >> On 2015-04-10 10:34 AM, Marco Afonso wrote: >> >> >> Found this >> >> >> >> And reading moreover on http://trac.osgeo.org/gdal/wiki/ECW >> >> Those wiki pages are wonderful; please as you head down this path don't >> be afraid to update that ECW build wiki with any notes or changes you >> noticed. Thanks! >> >> -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 >> >> >> >> >> -- >> >> Regards, >> >> Marco Afonso >> >> http://goo.gl/ZDtQjm >> >> > > > -- > Regards, > Marco Afonso > http://goo.gl/ZDtQjm > > -- Regards, Marco Afonso http://goo.gl/ZDtQjm -- Regards, Marco Afonso http://goo.gl/ZDtQjm -------------- next part -------------- An HTML attachment was scrubbed... URL: From mafonso333 at gmail.com Sat Apr 11 04:35:40 2015 From: mafonso333 at gmail.com (Marco Afonso) Date: Sat, 11 Apr 2015 12:35:40 +0100 Subject: [mapserver-users] Fwd: Ubuntu Trusty, MapServer 6.4.1, Gdal 1.11 In-Reply-To: References: <83d1739f215545658284e062f624bf5a@C119S212VM022.msvyvi.vaha.local> <344d338620db4364ab5c67f35a7c9d53@C119S212VM022.msvyvi.vaha.local> Message-ID: One last note... When requesting the mapfile thought cgi-bin/mapserv it was working! But we are requesting the WMS through PHP mapscript (for a number of reasons) so... my guess is that after compiling gdal with ecw I should had reboot apache so it could reload the new gdal version :) Thank you Jukka, Richard and Jeff for your help :) 2015-04-11 12:23 GMT+01:00 Marco Afonso : > Reboot and... voil?! It is working! :) > > Cheers > > 2015-04-11 12:02 GMT+01:00 Rahkonen Jukka (MML) < > jukka.rahkonen at maanmittauslaitos.fi>: > >> So does it work with one tiff on Linux? If yes the file access theory >> is wrong. >> >> Jukka >> ------------------------------ >> L?hett?j?: Marco Afonso >> L?hetetty: ?11.?4.?2015 13:57 >> Vastaanottaja: Rahkonen Jukka (MML) >> >> Kopio: mapserver >> Aihe: Re: [mapserver-users] Ubuntu Trusty, MapServer 6.4.1, Gdal 1.11 >> >> Hi Jukka, >> >> We have exactly the same MS configuration, shapefile and ECW files >> working a older windows machine, so it seems to me that it is something to >> do with ms on linux. >> >> As I stated before, gdalinfo and ogrinfo are reading corretly the >> shapefile and ecw files throught command line. >> >> What file permitions would be required? >> >> Thanks >> >> 2015-04-11 11:21 GMT+01:00 Rahkonen Jukka (MML) < >> jukka.rahkonen at maanmittauslaitos.fi>: >> >>> Hi, >>> >>> >>> >>> About how to test I have only one advice: Do it systematically. >>> >>> >>> >>> Being systematically means building something pretty simple that works >>> first and add new stuff one and only one step at a time. Somehow like: >>> >>> >>> >>> Problem is that ECW layer through tileindex does not work. >>> >>> >>> >>> 1.) Does it work with one ECW? It did not, you fixed the build and >>> gdalinfo is OK now but did you also test that MapServer is now OK with one >>> ECW? >>> >>> 2.) If it is working with ECW then good. If it is not, make an >>> additional test by converting one ECW into GeoTIFF and test your layer >>> with it. If it is OK there is still something wrong with ECW support. If >>> GeoTIFF does not work there is something else wrong and you must fix it >>> before you can even know if the issue has to do with ECW at all. >>> >>> 3.) If one GeoTIFF and one ECW is OK then perhaps something is >>> wrong with the tileindex. Make a new tileindex that contains a) only that >>> one GeoTIFF you created in step 2 b) the same for the one original ECW. Do >>> they work? >>> >>> >>> >>> Test with the file >>> /home/mapas/dados/raster/ortos2012/006003Argb_12_d73.ecw. Does it exist? Is >>> it empty? Can?t it be accessed due to wrong path or missing rights? >>> >>> >>> >>> (): Unable to access file. Corrupt, empty or missing file >>> '/home/mapas/dados/raster/ortos2012/006003Argb_12_d73.ecw' for >>> layer 'ortos2012'. >>> >>> >>> >>> As a general rule, add DEBUG 5 into your layer when debugging, and I >>> suggest to add always PROJECTION blocks into MAP and LAYER level. >>> >>> >>> >>> -Jukka Rahkonen- >>> >>> >>> >>> >>> >>> *L?hett?j?:* mapserver-users-bounces at lists.osgeo.org [mailto: >>> mapserver-users-bounces at lists.osgeo.org] *Puolesta *Marco Afonso >>> *L?hetetty:* 10. huhtikuuta 2015 17:25 >>> *Vastaanottaja:* Jeff McKenna >>> *Kopio:* mapserver >>> *Aihe:* Re: [mapserver-users] Ubuntu Trusty, MapServer 6.4.1, Gdal 1.11 >>> >>> >>> >>> Hi again, >>> >>> >>> >>> Ok Jeff, I can change if I find something new. >>> >>> >>> >>> Not solved yet :p >>> >>> >>> >>> Ok, recompiled libecwj2 and gdal. gdalinfo is now reading the ecw >>> correctly. >>> >>> >>> >>> But I still get the mapserver error... are there any further tests that >>> I can do? >>> >>> >>> >>> Thanks. >>> >>> >>> >>> 2015-04-10 15:07 GMT+01:00 Jeff McKenna : >>> >>> On 2015-04-10 10:34 AM, Marco Afonso wrote: >>> >>> >>> Found this >>> >>> >>> >>> And reading moreover on http://trac.osgeo.org/gdal/wiki/ECW >>> >>> Those wiki pages are wonderful; please as you head down this path don't >>> be afraid to update that ECW build wiki with any notes or changes you >>> noticed. Thanks! >>> >>> -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 >>> >>> >>> >>> >>> -- >>> >>> Regards, >>> >>> Marco Afonso >>> >>> http://goo.gl/ZDtQjm >>> >>> >> >> >> -- >> Regards, >> Marco Afonso >> http://goo.gl/ZDtQjm >> >> > > > -- > Regards, > Marco Afonso > http://goo.gl/ZDtQjm > > -- Regards, Marco Afonso http://goo.gl/ZDtQjm -- Regards, Marco Afonso http://goo.gl/ZDtQjm -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard.greenwood at gmail.com Sun Apr 12 18:03:51 2015 From: richard.greenwood at gmail.com (Richard Greenwood) Date: Sun, 12 Apr 2015 19:03:51 -0600 Subject: [mapserver-users] gis internals determine 32/64 bit Message-ID: If I'm looking at an existing binary installation of mapserv and gdal from GIS Internals, how can I determine if it is 32 bit or 64 bit? It seems like such a simple question that I imagine I will be embarrassed by the simple answer but my Windows Foo just isn't with me tonight. Thanks, Rich -- Richard W. Greenwood, PLS www.greenwoodmap.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From riccardog79 at gmail.com Mon Apr 13 04:02:03 2015 From: riccardog79 at gmail.com (ar_gaeta) Date: Mon, 13 Apr 2015 04:02:03 -0700 (PDT) Subject: [mapserver-users] RE WFS from Tinyows on IExplorer: InvalidParameterValue In-Reply-To: References: <1428506079663-5200463.post@n6.nabble.com> Message-ID: <1428922923726-5201040.post@n6.nabble.com> I've tried to load the WFS with version 1.0.0 but nothing change. It seems that the error is that IExplorer call a "NS1:xmlns:feature..." but I don't know what it is. If I put the IExplorer in compatibility it works and I can see my layers. But it seems more a workaround than a real solution... Thanks for any help! -- View this message in context: http://osgeo-org.1560.x6.nabble.com/WFS-from-Tinyows-on-IExplorer-InvalidParameterValue-tp5200463p5201040.html Sent from the Mapserver - User mailing list archive at Nabble.com. From Steve.Toutant at inspq.qc.ca Mon Apr 13 06:21:03 2015 From: Steve.Toutant at inspq.qc.ca (Steve.Toutant at inspq.qc.ca) Date: Mon, 13 Apr 2015 09:21:03 -0400 Subject: [mapserver-users] RE WFS from Tinyows on IExplorer: InvalidParameterValue In-Reply-To: <1428922923726-5201040.post@n6.nabble.com> References: <1428506079663-5200463.post@n6.nabble.com> <1428922923726-5201040.post@n6.nabble.com> Message-ID: This seems to be related to IE11 though.... Try this /** * Override: OpenLayers.Format.XML * This file holds overrides for the class. * Workaround BUG IE 11 * http://osgeo-org.1560.x6.nabble.com/WFS-and-IE-11-tp5090636p5093321.html */ /** * Method: write * This override do a search-replace on the rogue text in the XML namespace After the XML has been generated */ var _class = OpenLayers.Format.XML; var originalWriteFunction = _class.prototype.write; var patchedWriteFunction = function() { var child = originalWriteFunction.apply( this, arguments ); // NOTE: Remove the rogue namespaces as one block of text. // The second fragment "NS1:" is too small on its own and could cause valid text (in, say, ogc:Literal elements) to be erroneously removed. child = child.replace(new RegExp('xmlns:NS\\d+="" NS\\d+:', 'g'), ''); return child; } _class.prototype.write = patchedWriteFunction; ar_gaeta @lists.osgeo.org Envoy? par : mapserver-users-bounces at lists.osgeo.org 2015-04-13 07:02 A mapserver-users at lists.osgeo.org cc Objet Re: [mapserver-users] RE WFS from Tinyows on IExplorer: InvalidParameterValue I've tried to load the WFS with version 1.0.0 but nothing change. It seems that the error is that IExplorer call a "NS1:xmlns:feature..." but I don't know what it is. If I put the IExplorer in compatibility it works and I can see my layers. But it seems more a workaround than a real solution... Thanks for any help! -- View this message in context: http://osgeo-org.1560.x6.nabble.com/WFS-from-Tinyows-on-IExplorer-InvalidParameterValue-tp5200463p5201040.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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From riccardog79 at gmail.com Mon Apr 13 08:19:23 2015 From: riccardog79 at gmail.com (ar_gaeta) Date: Mon, 13 Apr 2015 08:19:23 -0700 (PDT) Subject: [mapserver-users] RE WFS from Tinyows on IExplorer: InvalidParameterValue In-Reply-To: References: <1428506079663-5200463.post@n6.nabble.com> <1428922923726-5201040.post@n6.nabble.com> Message-ID: <1428938363816-5201116.post@n6.nabble.com> Thanks you very much that work perfectly! Thanks again! -- View this message in context: http://osgeo-org.1560.x6.nabble.com/WFS-from-Tinyows-on-IExplorer-InvalidParameterValue-tp5200463p5201116.html Sent from the Mapserver - User mailing list archive at Nabble.com. From james.evans.4 at us.af.mil Mon Apr 13 16:11:14 2015 From: james.evans.4 at us.af.mil (EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE) Date: Mon, 13 Apr 2015 23:11:14 +0000 Subject: [mapserver-users] gis internals determine 32/64 bit In-Reply-To: References: Message-ID: <20EA793B1BC710448656BDC9BD25C4A12EF2999B@52ZHTX-D07-04D.area52.afnoapps.usaf.mil> Not sure if you got an answer, but it appears to me that the 64 bit installs have x64 in the name, and the 0thers don't. Also, there is a column called Arch. Where the only labels are win32 and X64. James -----Original Message----- From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Richard Greenwood Sent: Sunday, April 12, 2015 7:04 PM To: mapserver Subject: [mapserver-users] gis internals determine 32/64 bit If I'm looking at an existing binary installation of mapserv and gdal from GIS Internals, how can I determine if it is 32 bit or 64 bit? It seems like such a simple question that I imagine I will be embarrassed by the simple answer but my Windows Foo just isn't with me tonight. Thanks, Rich -- Richard W. Greenwood, PLS www.greenwoodmap.com From james.evans.4 at us.af.mil Mon Apr 13 16:14:44 2015 From: james.evans.4 at us.af.mil (EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE) Date: Mon, 13 Apr 2015 23:14:44 +0000 Subject: [mapserver-users] gis internals determine 32/64 bit In-Reply-To: References: Message-ID: <20EA793B1BC710448656BDC9BD25C4A12EF299AD@52ZHTX-D07-04D.area52.afnoapps.usaf.mil> Sorry, should have read the question. Maybe look at whether it was installed in Program Files or Program Files (x86)? -----Original Message----- From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Richard Greenwood Sent: Sunday, April 12, 2015 7:04 PM To: mapserver Subject: [mapserver-users] gis internals determine 32/64 bit If I'm looking at an existing binary installation of mapserv and gdal from GIS Internals, how can I determine if it is 32 bit or 64 bit? It seems like such a simple question that I imagine I will be embarrassed by the simple answer but my Windows Foo just isn't with me tonight. Thanks, Rich -- Richard W. Greenwood, PLS www.greenwoodmap.com From jukka.rahkonen at maanmittauslaitos.fi Mon Apr 13 21:29:14 2015 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka (MML)) Date: Tue, 14 Apr 2015 04:29:14 +0000 Subject: [mapserver-users] gis internals determine 32/64 bit Message-ID: Hi, Open your mapserv.exe file with Dependency walker http://dependencywalker.com/ and it will show you the architecture. -Jukka Rahkonen- Puolesta EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE wrote: > Sorry, should have read the question. Maybe look at whether it was installed in Program Files or Program Files (x86)? | -----Original Message----- From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Richard Greenwood Sent: Sunday, April 12, 2015 7:04 PM To: mapserver Subject: [mapserver-users] gis internals determine 32/64 bit If I'm looking at an existing binary installation of mapserv and gdal from GIS Internals, how can I determine if it is 32 bit or 64 bit? It seems like such a simple question that I imagine I will be embarrassed by the simple answer but my Windows Foo just isn't with me tonight. Thanks, Rich -- Richard W. Greenwood, PLS www.greenwoodmap.com _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From richard.greenwood at gmail.com Tue Apr 14 05:46:29 2015 From: richard.greenwood at gmail.com (Richard Greenwood) Date: Tue, 14 Apr 2015 06:46:29 -0600 Subject: [mapserver-users] gis internals determine 32/64 bit In-Reply-To: <20EA793B1BC710448656BDC9BD25C4A12EF299AD@52ZHTX-D07-04D.area52.afnoapps.usaf.mil> References: <20EA793B1BC710448656BDC9BD25C4A12EF299AD@52ZHTX-D07-04D.area52.afnoapps.usaf.mil> Message-ID: James, Thanks for the suggestions. These were installed outside of the "Program Files" tree. I think I can figure it out by comparing a few files. It just seemed like there might be a definite way just like you get the version with -v. Rich On Mon, Apr 13, 2015 at 5:14 PM, EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE wrote: > Sorry, should have read the question. Maybe look at whether it was > installed in Program Files or Program Files (x86)? > > -----Original Message----- > From: mapserver-users-bounces at lists.osgeo.org [mailto: > mapserver-users-bounces at lists.osgeo.org] On Behalf Of Richard Greenwood > Sent: Sunday, April 12, 2015 7:04 PM > To: mapserver > Subject: [mapserver-users] gis internals determine 32/64 bit > > If I'm looking at an existing binary installation of mapserv and gdal from > GIS Internals, how can I determine if it is 32 bit or 64 bit? It seems like > such a simple question that I imagine I will be embarrassed by the simple > answer but my Windows Foo just isn't with me tonight. > > Thanks, > Rich > > > -- > > Richard W. Greenwood, PLS > www.greenwoodmap.com > -- Richard W. Greenwood, PLS www.greenwoodmap.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From james.evans.4 at us.af.mil Tue Apr 14 07:42:59 2015 From: james.evans.4 at us.af.mil (EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE) Date: Tue, 14 Apr 2015 14:42:59 +0000 Subject: [mapserver-users] gis internals determine 32/64 bit In-Reply-To: References: <20EA793B1BC710448656BDC9BD25C4A12EF299AD@52ZHTX-D07-04D.area52.afnoapps.usaf.mil> Message-ID: <20EA793B1BC710448656BDC9BD25C4A12EF29AE9@52ZHTX-D07-04D.area52.afnoapps.usaf.mil> Well if you are actually on the machine, you can look at the processes in Task Manager and if there is a *32 next to the name then it's 32 bit. James -----Original Message----- From: Richard Greenwood [mailto:richard.greenwood at gmail.com] Sent: Tuesday, April 14, 2015 6:46 AM To: EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE Cc: mapserver Subject: Re: [mapserver-users] gis internals determine 32/64 bit James, Thanks for the suggestions. These were installed outside of the "Program Files" tree. I think I can figure it out by comparing a few files. It just seemed like there might be a definite way just like you get the version with -v. Rich On Mon, Apr 13, 2015 at 5:14 PM, EVANS, JAMES R GS-13 USAF ACC 84 RADES/SCZE wrote: Sorry, should have read the question. Maybe look at whether it was installed in Program Files or Program Files (x86)? -----Original Message----- From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Richard Greenwood Sent: Sunday, April 12, 2015 7:04 PM To: mapserver Subject: [mapserver-users] gis internals determine 32/64 bit If I'm looking at an existing binary installation of mapserv and gdal from GIS Internals, how can I determine if it is 32 bit or 64 bit? It seems like such a simple question that I imagine I will be embarrassed by the simple answer but my Windows Foo just isn't with me tonight. Thanks, Rich -- Richard W. Greenwood, PLS www.greenwoodmap.com -- Richard W. Greenwood, PLS www.greenwoodmap.com From wiltoma at gmail.com Wed Apr 15 00:14:34 2015 From: wiltoma at gmail.com (wiltomap) Date: Wed, 15 Apr 2015 00:14:34 -0700 (PDT) Subject: [mapserver-users] Anchorpoint for pixmap symbol? Message-ID: <1429082074022-5201394.post@n6.nabble.com> Hi all, I need to set an anchorpoint for a pixmap symbol (*png file). Is there a way to achieve that in a mapfile? So far, I have tested the following code inside a mapfile, which gives no result: SYMBOL NAME 'mySymbol' TYPE pixmap ANCHORPOINT 0 1 IMAGE "symbols/mySymbol.png" END Any idea on this topic? I'm using MapServer 6.4.1. Thanks! -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Anchorpoint-for-pixmap-symbol-tp5201394.html Sent from the Mapserver - User mailing list archive at Nabble.com. From thomas.bonfort at gmail.com Wed Apr 15 00:24:10 2015 From: thomas.bonfort at gmail.com (thomas bonfort) Date: Wed, 15 Apr 2015 09:24:10 +0200 Subject: [mapserver-users] Anchorpoint for pixmap symbol? In-Reply-To: <1429082074022-5201394.post@n6.nabble.com> References: <1429082074022-5201394.post@n6.nabble.com> Message-ID: The functionality is implemented and is working correctly, c.f. https://github.com/mapserver/msautotest/blob/master/renderers/marker_anchorpoint.map https://github.com/mapserver/msautotest/blob/master/renderers/expected/marker_anchorpoint.png ... need more info -- thomas On 15 April 2015 at 09:14, wiltomap wrote: > Hi all, > > I need to set an anchorpoint for a pixmap symbol (*png file). Is there a way > to achieve that in a mapfile? So far, I have tested the following code > inside a mapfile, which gives no result: > > SYMBOL > NAME 'mySymbol' > TYPE pixmap > ANCHORPOINT 0 1 > IMAGE "symbols/mySymbol.png" > END > > Any idea on this topic? I'm using MapServer 6.4.1. > > Thanks! > > > > -- > View this message in context: http://osgeo-org.1560.x6.nabble.com/Anchorpoint-for-pixmap-symbol-tp5201394.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 wiltoma at gmail.com Wed Apr 15 01:50:29 2015 From: wiltoma at gmail.com (wiltomap) Date: Wed, 15 Apr 2015 01:50:29 -0700 (PDT) Subject: [mapserver-users] Anchorpoint for pixmap symbol? In-Reply-To: References: <1429082074022-5201394.post@n6.nabble.com> Message-ID: <1429087829709-5201412.post@n6.nabble.com> Sorry, this did not work so far. I had to restart my Web browser and empty cache. Things are doing better now! Thank you for replying and sending an example. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Anchorpoint-for-pixmap-symbol-tp5201394p5201412.html Sent from the Mapserver - User mailing list archive at Nabble.com. From cdhernandez at tenerife.es Wed Apr 15 03:36:45 2015 From: cdhernandez at tenerife.es (=?iso-8859-1?Q?Carmen_Delia_Hern=E1ndez_P=E9rez?=) Date: Wed, 15 Apr 2015 10:36:45 +0000 Subject: [mapserver-users] mapserver 6.4.1 - special characters in legend Message-ID: Hi! I am installing Mapserver 6.4.1 on CentOS 7 for publish WMS services. I have been installing all dependencies and I compiled mapserver. Mapserver works. The WMS services work well except with legends generation . In layers with one special character ( accent, ? ) in its title, legend is wrong. For example: LAYER NAME "Campos_futbol" STATUS ON METADATA "ows_title" "Campos de f?tbol" ... When I do one GetLegendGraphic query it returns "Campos de f.tbol" in layer description because the "u character accented" is wrong. I don?t know where is the problem because when I do one GetFeatureInfo query or one GetCapabilities query, these characters are show correctly. My apache has ISO-8859-1 encoding by default. ------------------------------------------------------------------------------------------------------------------ GetFeatureInfo results: Layer 'Campos_futbol' Feature 38: NOMBRE = 'Campo de F?tbol de La Matanza' ------------------------------------------------------------------------------------------------------------------ GetCapabilities results: ........ Campos_futbol Campos de f?tbol ------------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------ Someone has idea where can be the problem? Can it be I have some library incorrect? My Mapserver is configured so: # mapserv -v MapServer version 6.4.1 OUTPUT=PNG OUTPUT=JPEG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WFS_SERVER SUPPORTS=WCS_SERVER INPUT=JPEG INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE Thanks in advance!! Carmen -------------- next part -------------- An HTML attachment was scrubbed... URL: From jt at mapmedia.de Wed Apr 15 03:53:46 2015 From: jt at mapmedia.de (=?windows-1252?Q?J=F6rg_Thomsen?=) Date: Wed, 15 Apr 2015 12:53:46 +0200 Subject: [mapserver-users] mapserver 6.4.1 - special characters in legend In-Reply-To: References: Message-ID: <552E433A.8050708@mapmedia.de> Hi, - be sure use a ttf for the labeling of your legend - use the encoding key within the label-block of your legend-block - safe your mapfile with the correct encoding -> the same you define in the mapfile It has nothing to do with the apache encoding, because mapserver creates the legend-graphic, apache only serves the raster-file. I hope it helps, J?rg Am 15.04.2015 um 12:36 schrieb Carmen Delia Hern?ndez P?rez: > Hi! > > > > I am installing Mapserver 6.4.1 on CentOS 7 for publish WMS services. I > have been installing all dependencies and I compiled mapserver. > Mapserver works. The WMS services work well except with legends > generation . In layers with one special character ( accent, ? ) in its > title, legend is wrong. > > > > For example: > > LAYER > > NAME "Campos_futbol" > > STATUS ON > > METADATA > > "ows_title" "Campos de > f?tbol" > > > > ... > > > > When I do one GetLegendGraphic query it returns "Campos de f.tbol" in > layer description because the "u character accented" is wrong. > > > > I don?t know where is the problem because when I do one GetFeatureInfo > query or one GetCapabilities query, these characters are show > correctly. My apache has ISO-8859-1 encoding by default. > > ------------------------------------------------------------------------------------------------------------------ > > > > GetFeatureInfo results: > > > > Layer 'Campos_futbol' > > Feature 38: > > NOMBRE = 'Campo de F?tbol de La Matanza' > > > > ------------------------------------------------------------------------------------------------------------------ > > GetCapabilities results: > > > > > > > > ........ > > > > > > Campos_futbol > > Campos de f?tbol > > > > ------------------------------------------------------------------------------------------------------------------ > > ------------------------------------------------------------------------------------------------------------------ > > > > > > *Someone has idea where can be the problem? Can it be I have some > library incorrect?* > > > > My Mapserver is configured so: > > > > # mapserv -v > > > > MapServer version 6.4.1 OUTPUT=PNG OUTPUT=JPEG SUPPORTS=PROJ > SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=FRIBIDI > SUPPORTS=WMS_SERVER SUPPORTS=WFS_SERVER SUPPORTS=WCS_SERVER INPUT=JPEG > INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE > > > > > > Thanks in advance!! > > > > Carmen > > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > From cdhernandez at tenerife.es Wed Apr 15 05:10:25 2015 From: cdhernandez at tenerife.es (=?iso-8859-1?Q?Carmen_Delia_Hern=E1ndez_P=E9rez?=) Date: Wed, 15 Apr 2015 12:10:25 +0000 Subject: [mapserver-users] mapserver 6.4.1 - special characters in legend In-Reply-To: References: Message-ID: Thanks but I have tried that option and it does not work. I have for example in my mapfile FONTSET "DEPORTES_FUTBOL/fonts/fontset.txt" LEGEND KEYSIZE 30 12 LABEL FONT Arial SIZE LARGE COLOR 0 255 0 END END and the content of fontset.txt is Arial ARIAL.TTF and i get "Campos de f.tbol" in green color but u character it?s yet wrong [cid:image001.jpg at 01D07774.9B0CBF80] I had this service published with old mapserver version (5.x) and windows server, and only i have in my myfile LEGEND KEYSIZE 30 12 END and it worked well. ________________________________ De: thomas bonfort [mailto:thomas.bonfort at gmail.com] Enviado el: mi?rcoles, 15 de abril de 2015 11:38 Para: Carmen Delia Hern?ndez P?rez Asunto: Re: [mapserver-users] mapserver 6.4.1 - special characters in legend Use a truetype font for your legend. -- Thomas On Apr 15, 2015 12:36 PM, "Carmen Delia Hern?ndez P?rez" > wrote: Hi! I am installing Mapserver 6.4.1 on CentOS 7 for publish WMS services. I have been installing all dependencies and I compiled mapserver. Mapserver works. The WMS services work well except with legends generation . In layers with one special character ( accent, ? ) in its title, legend is wrong. For example: LAYER NAME "Campos_futbol" STATUS ON METADATA "ows_title" "Campos de f?tbol" ... When I do one GetLegendGraphic query it returns "Campos de f.tbol" in layer description because the "u character accented" is wrong. I don?t know where is the problem because when I do one GetFeatureInfo query or one GetCapabilities query, these characters are show correctly. My apache has ISO-8859-1 encoding by default. ------------------------------------------------------------------------------------------------------------------ GetFeatureInfo results: Layer 'Campos_futbol' Feature 38: NOMBRE = 'Campo de F?tbol de La Matanza' ------------------------------------------------------------------------------------------------------------------ GetCapabilities results: ........ Campos_futbol Campos de f?tbol ------------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------ Someone has idea where can be the problem? Can it be I have some library incorrect? My Mapserver is configured so: # mapserv -v MapServer version 6.4.1 OUTPUT=PNG OUTPUT=JPEG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WFS_SERVER SUPPORTS=WCS_SERVER INPUT=JPEG INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE Thanks in advance!! Carmen _______________________________________________ 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.jpg Type: image/jpeg Size: 1504 bytes Desc: image001.jpg URL: From jt at mapmedia.de Wed Apr 15 05:17:39 2015 From: jt at mapmedia.de (=?windows-1252?Q?J=F6rg_Thomsen?=) Date: Wed, 15 Apr 2015 14:17:39 +0200 Subject: [mapserver-users] mapserver 6.4.1 - special characters in legend In-Reply-To: References: Message-ID: <552E56E3.6010206@mapmedia.de> see below inline Am 15.04.2015 um 14:10 schrieb Carmen Delia Hern?ndez P?rez: > Thanks but I have tried that option and it does not work. > I have for example in my mapfile > > FONTSET "DEPORTES_FUTBOL/fonts/fontset.txt" > > LEGEND > KEYSIZE 30 12 > LABEL > FONT Arial > SIZE LARGE > COLOR 0 255 0 ENCODING "UTF-8" # or whatever your mapfile is encoded in > > END > END J?rg From cdhernandez at tenerife.es Wed Apr 15 06:13:25 2015 From: cdhernandez at tenerife.es (=?iso-8859-1?Q?Carmen_Delia_Hern=E1ndez_P=E9rez?=) Date: Wed, 15 Apr 2015 13:13:25 +0000 Subject: [mapserver-users] mapserver 6.4.1 - special characters in legend In-Reply-To: <552E56E3.6010206@mapmedia.de> References: <552E56E3.6010206@mapmedia.de> Message-ID: Thanks but this solution does not work me. My enconding is "ISO-8859-1" that i think is the default encoding of Mapserver. My mapfile is saved with that encoding and although I put ENCODING tag in LABEL section of LEGEND this remains same. Do you know of what library depends legend generation? I think as I compile mapserver the problem can be in some library. Or can be related with some configuration of Centos7. I don?t know where to look more. I have used more "microsoft windows" enviromment. Thanks in advance. Carmen. -----Mensaje original----- De: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] En nombre de J?rg Thomsen Enviado el: mi?rcoles, 15 de abril de 2015 13:18 Para: mapserver-users at lists.osgeo.org Asunto: Re: [mapserver-users] mapserver 6.4.1 - special characters in legend see below inline Am 15.04.2015 um 14:10 schrieb Carmen Delia Hern?ndez P?rez: > Thanks but I have tried that option and it does not work. > I have for example in my mapfile > > FONTSET "DEPORTES_FUTBOL/fonts/fontset.txt" > > LEGEND > KEYSIZE 30 12 > LABEL > FONT Arial > SIZE LARGE > COLOR 0 255 0 ENCODING "UTF-8" # or whatever your mapfile is encoded in > > END > END J?rg _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From thomas.bonfort at gmail.com Wed Apr 15 07:05:29 2015 From: thomas.bonfort at gmail.com (thomas bonfort) Date: Wed, 15 Apr 2015 16:05:29 +0200 Subject: [mapserver-users] mapserver 6.4.1 - special characters in legend In-Reply-To: References: <552E56E3.6010206@mapmedia.de> Message-ID: Do yourself a favour and save your mapfile in UTF-8. This will be a requirement anyways starting from version 7.0. You need to set label->type=truetype and label->size=9 (i.e. in pixels, not "large") for it to work. -- thomas On 15 April 2015 at 15:13, Carmen Delia Hern?ndez P?rez wrote: > > Thanks but this solution does not work me. > > My enconding is "ISO-8859-1" that i think is the default encoding of Mapserver. > > My mapfile is saved with that encoding and although I put ENCODING tag in LABEL section of LEGEND this remains same. > > Do you know of what library depends legend generation? I think as I compile mapserver the problem can be in some library. Or can be related with some configuration of Centos7. I don?t know where to look more. I have used more "microsoft windows" enviromment. > > > Thanks in advance. > Carmen. > -----Mensaje original----- > De: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] En nombre de J?rg Thomsen > Enviado el: mi?rcoles, 15 de abril de 2015 13:18 > Para: mapserver-users at lists.osgeo.org > Asunto: Re: [mapserver-users] mapserver 6.4.1 - special characters in legend > > see below inline > > Am 15.04.2015 um 14:10 schrieb Carmen Delia Hern?ndez P?rez: >> Thanks but I have tried that option and it does not work. >> I have for example in my mapfile >> >> FONTSET "DEPORTES_FUTBOL/fonts/fontset.txt" >> >> LEGEND >> KEYSIZE 30 12 >> LABEL >> FONT Arial >> SIZE LARGE >> COLOR 0 255 0 > > ENCODING "UTF-8" # or whatever your mapfile is encoded in > > >> >> END >> END > > J?rg > _______________________________________________ > 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 mathuralok.88 at gmail.com Wed Apr 15 07:24:40 2015 From: mathuralok.88 at gmail.com (alok mathur) Date: Wed, 15 Apr 2015 19:54:40 +0530 Subject: [mapserver-users] KML Message-ID: Hi, I have a KML as below: doc 0 SF Marina Harbor Master 0 -122.4425587930444,37.80666418607323,0 -122.4428379594768,37.80663578323093,0 -122.4425509770566,37.80662588061205,0 -122.4428340530617,37.8065999493009,0 -90.86948943473118,48.25450093195546,0 ------------ In DATA part of the map file i want to use a query. but i able to do so. Example DATA "select * from 'doc' where fid=1; any one please suggest how to show all the geometries using FID. Thanks! -- *Alok Mathur* -------------- next part -------------- An HTML attachment was scrubbed... URL: From cdhernandez at tenerife.es Wed Apr 15 07:32:24 2015 From: cdhernandez at tenerife.es (=?iso-8859-1?Q?Carmen_Delia_Hern=E1ndez_P=E9rez?=) Date: Wed, 15 Apr 2015 14:32:24 +0000 Subject: [mapserver-users] mapserver 6.4.1 - special characters in legend In-Reply-To: References: <552E56E3.6010206@mapmedia.de> Message-ID: THANK YOU ALL. SOLVED. ------- My mapfile is now as LEGEND KEYSIZE 30 12 LABEL TYPE Truetype FONT Arial SIZE 9 COLOR 0 0 0 #ENCODING "ISO-8859-1" --- it?s not necessary in my case END END In my old mapserver 5.x, I did not declared any LABEL section into the LEGEND and all worked well. It was the origin of the problem. it not was obligatory define one section LABEL into the LEGEND. In the previous test I lacked the "type truetype". Thanks again. -----Mensaje original----- De: thomas bonfort [mailto:thomas.bonfort at gmail.com] Enviado el: mi?rcoles, 15 de abril de 2015 15:05 Para: Carmen Delia Hern?ndez P?rez CC: mapserver-users at lists.osgeo.org Asunto: Re: [mapserver-users] mapserver 6.4.1 - special characters in legend Do yourself a favour and save your mapfile in UTF-8. This will be a requirement anyways starting from version 7.0. You need to set label->type=truetype and label->size=9 (i.e. in pixels, not "large") for it to work. -- thomas On 15 April 2015 at 15:13, Carmen Delia Hern?ndez P?rez wrote: > > Thanks but this solution does not work me. > > My enconding is "ISO-8859-1" that i think is the default encoding of Mapserver. > > My mapfile is saved with that encoding and although I put ENCODING tag in LABEL section of LEGEND this remains same. > > Do you know of what library depends legend generation? I think as I compile mapserver the problem can be in some library. Or can be related with some configuration of Centos7. I don?t know where to look more. I have used more "microsoft windows" enviromment. > > > Thanks in advance. > Carmen. > -----Mensaje original----- > De: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] En nombre de J?rg Thomsen > Enviado el: mi?rcoles, 15 de abril de 2015 13:18 > Para: mapserver-users at lists.osgeo.org > Asunto: Re: [mapserver-users] mapserver 6.4.1 - special characters in legend > > see below inline > > Am 15.04.2015 um 14:10 schrieb Carmen Delia Hern?ndez P?rez: >> Thanks but I have tried that option and it does not work. >> I have for example in my mapfile >> >> FONTSET "DEPORTES_FUTBOL/fonts/fontset.txt" >> >> LEGEND >> KEYSIZE 30 12 >> LABEL >> FONT Arial >> SIZE LARGE >> COLOR 0 255 0 > > ENCODING "UTF-8" # or whatever your mapfile is encoded in > > >> >> END >> END > > J?rg > _______________________________________________ > 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 mathuralok.88 at gmail.com Wed Apr 15 09:58:41 2015 From: mathuralok.88 at gmail.com (alok mathur) Date: Wed, 15 Apr 2015 22:28:41 +0530 Subject: [mapserver-users] Kml + mapserver Message-ID: Hi Lars, I have a KML with multiple placemarks in it. Now i want to read each Placemark and make it a different layer in mapfile. Is it a right way to do so and also in case of multigeometry how to handle that with fid. Let me know in case of any concern. for eg KML ---------- Fibertech P1 ... P2 ... MAP file ----------------- LAYER NAME "" ... DATA "select * from "Fibertech" where fid =1; .. END LAYER NAME "" ... DATA "select * from "Fibertech" where fid =2; .. END -- *Alok Mathur* -------------- next part -------------- An HTML attachment was scrubbed... URL: From bob.basques at ci.stpaul.mn.us Mon Apr 20 14:09:42 2015 From: bob.basques at ci.stpaul.mn.us (Basques, Bob (CI-StPaul)) Date: Mon, 20 Apr 2015 21:09:42 +0000 Subject: [mapserver-users] Background transparency vs feature (polygon) transparency. Message-ID: All, So I used to be able (MS6.1 and older?) to just define a color and then set transparency to ON, and that color would be transparent. It didn't matter if it was the background or a feature that was drawn in that color, it just turned transparent. I have a slightly different use case than most users as. I want to maintain a background color for the image, but filter out polygons (parcels) to be transparent in color (not opaque) as an overlay. This is to represent all Public right-of-way areas, or rather, areas that are NOT parcels. I've been trying for a couple of days now on and off to make the new methods replicate this capability, to little effect. All the new tools assume a transparency is going to be applied across the whole image background. I need to be able to only poke holes in the background where there is a parcel polygon. Is there a way to make this work like in the good old days (I mean good old versions ?? :c) of Mapsever?? One suggestion I did find that would likely work, was the use a mask, but then I need a larger bounding area to contain the mask (Is there a way of defining an edgeless mask??). Is this the track I should be persuing? I could use our City Boundary for this as a possible solution. Also, what's all the stuff about a COMPOSITE block, looks like this is the future of masking type operations in the future. Thanks Bobb -------------- next part -------------- An HTML attachment was scrubbed... URL: From tkirstine at firstbasesolutions.com Tue Apr 21 07:37:22 2015 From: tkirstine at firstbasesolutions.com (Travis Kirstine) Date: Tue, 21 Apr 2015 10:37:22 -0400 Subject: [mapserver-users] memcache and mapcache Message-ID: I have a issue with memcache and mapcache. [root at wmts2 mapcache]# /etc/init.d/httpd start Starting httpd: Syntax error on line 1058 of /etc/httpd/conf/httpd.conf: failed to add cache "memcache": memcache support is not available on this build [FAILED] Any ideas?? -- [image: FBS Logo] *Travis Kirstine*, Web Development Supervisor *t *905?477?3600* x *301 | *m *905?534?4798 | tkirstine at firstbasesolution.com *First Base Solutions Inc.* 140 Renfrew Drive, Suite 100 | Markham | Ontario | L3R 6B3 *t* 905?477?3600 | *f* 905?477?0892 | www.firstbasesolutions.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From tech_dev at wildintellect.com Tue Apr 21 08:05:12 2015 From: tech_dev at wildintellect.com (Alex Mandel) Date: Tue, 21 Apr 2015 08:05:12 -0700 Subject: [mapserver-users] memcache and mapcache In-Reply-To: References: Message-ID: <55366728.7060001@wildintellect.com> On 04/21/2015 07:37 AM, Travis Kirstine wrote: > I have a issue with memcache and mapcache. > > [root at wmts2 mapcache]# /etc/init.d/httpd start > Starting httpd: Syntax error on line 1058 of /etc/httpd/conf/httpd.conf: > failed to add cache "memcache": memcache support is not available on this > build > [FAILED] > > > Any ideas?? > > What does your memcache configuration in httpd.conf look like. How did you install memcache? -Alex From mathuralok.88 at gmail.com Tue Apr 21 09:02:47 2015 From: mathuralok.88 at gmail.com (alok mathur) Date: Tue, 21 Apr 2015 21:32:47 +0530 Subject: [mapserver-users] KML Parsing Message-ID: I have a KML with two folders with same name. How should i show this data using mapserver. Im using DATA select * from where fid =1; Please suggest me how to do this -- *Alok Mathur* -------------- next part -------------- An HTML attachment was scrubbed... URL: From tkirstine at firstbasesolutions.com Tue Apr 21 09:24:44 2015 From: tkirstine at firstbasesolutions.com (Travis Kirstine) Date: Tue, 21 Apr 2015 12:24:44 -0400 Subject: [mapserver-users] memcache and mapcache In-Reply-To: <55366728.7060001@wildintellect.com> References: <55366728.7060001@wildintellect.com> Message-ID: I just installed memcached with apr-utils using yum (centos 6.5) and it appears to be working when I connect via telnet cat /etc/sysconfig/memcached PORT="11211" USER="memcached" MAXCONN="4096" CACHESIZE="5120" OPTIONS="" I haven't modified the httpd.conf for memcache in any way, should I? Mapcache config: localhost 11211 On Tue, Apr 21, 2015 at 11:05 AM, Alex Mandel wrote: > On 04/21/2015 07:37 AM, Travis Kirstine wrote: > > I have a issue with memcache and mapcache. > > > > [root at wmts2 mapcache]# /etc/init.d/httpd start > > Starting httpd: Syntax error on line 1058 of /etc/httpd/conf/httpd.conf: > > failed to add cache "memcache": memcache support is not available on this > > build > > [FAILED] > > > > > > Any ideas?? > > > > > > What does your memcache configuration in httpd.conf look like. How did > you install memcache? > > -Alex > > -- [image: FBS Logo] *Travis Kirstine*, Web Development Supervisor *t *905?477?3600* x *301 | *m *905?534?4798 | tkirstine at firstbasesolution.com *First Base Solutions Inc.* 140 Renfrew Drive, Suite 100 | Markham | Ontario | L3R 6B3 *t* 905?477?3600 | *f* 905?477?0892 | www.firstbasesolutions.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.bonfort at gmail.com Tue Apr 21 09:25:02 2015 From: thomas.bonfort at gmail.com (thomas bonfort) Date: Tue, 21 Apr 2015 18:25:02 +0200 Subject: [mapserver-users] memcache and mapcache In-Reply-To: References: Message-ID: Travis, that means the cmake configuration step didn't pick up the apr-memcache headers, either because they are not installed, or because you did not specify -DWITH_MEMCACHE=1 -- thomas On 21 April 2015 at 16:37, Travis Kirstine wrote: > I have a issue with memcache and mapcache. > > [root at wmts2 mapcache]# /etc/init.d/httpd start > Starting httpd: Syntax error on line 1058 of /etc/httpd/conf/httpd.conf: > failed to add cache "memcache": memcache support is not available on this > build > [FAILED] > > > Any ideas?? > > > > > -- > [image: FBS Logo] > > *Travis Kirstine*, Web Development Supervisor > *t *905?477?3600* x *301 | *m *905?534?4798 | > tkirstine at firstbasesolution.com > > *First Base Solutions Inc.* > 140 Renfrew Drive, Suite 100 | Markham | Ontario | L3R 6B3 > *t* 905?477?3600 | *f* 905?477?0892 | www.firstbasesolutions.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 tkirstine at firstbasesolutions.com Tue Apr 21 10:02:14 2015 From: tkirstine at firstbasesolutions.com (Travis Kirstine) Date: Tue, 21 Apr 2015 13:02:14 -0400 Subject: [mapserver-users] memcache and mapcache In-Reply-To: References: Message-ID: running # cmake -DWITH_MEMCACHE=1 # make # make install # ldconfig fixed the issue Thanks!! On Tue, Apr 21, 2015 at 12:25 PM, thomas bonfort wrote: > Travis, > that means the cmake configuration step didn't pick up the apr-memcache > headers, either because they are not installed, or because you did not > specify -DWITH_MEMCACHE=1 > > -- > thomas > > On 21 April 2015 at 16:37, Travis Kirstine < > tkirstine at firstbasesolutions.com> wrote: > >> I have a issue with memcache and mapcache. >> >> [root at wmts2 mapcache]# /etc/init.d/httpd start >> Starting httpd: Syntax error on line 1058 of /etc/httpd/conf/httpd.conf: >> failed to add cache "memcache": memcache support is not available on this >> build >> [FAILED] >> >> >> Any ideas?? >> >> >> >> >> -- >> [image: FBS Logo] >> >> *Travis Kirstine*, Web Development Supervisor >> *t *905?477?3600* x *301 | *m *905?534?4798 | >> tkirstine at firstbasesolution.com >> >> *First Base Solutions Inc.* >> 140 Renfrew Drive, Suite 100 | Markham | Ontario | L3R 6B3 >> *t* 905?477?3600 | *f* 905?477?0892 | www.firstbasesolutions.com >> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> > > -- [image: FBS Logo] *Travis Kirstine*, Web Development Supervisor *t *905?477?3600* x *301 | *m *905?534?4798 | tkirstine at firstbasesolution.com *First Base Solutions Inc.* 140 Renfrew Drive, Suite 100 | Markham | Ontario | L3R 6B3 *t* 905?477?3600 | *f* 905?477?0892 | www.firstbasesolutions.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bob.basques at ci.stpaul.mn.us Tue Apr 21 11:18:24 2015 From: bob.basques at ci.stpaul.mn.us (Basques, Bob (CI-StPaul)) Date: Tue, 21 Apr 2015 18:18:24 +0000 Subject: [mapserver-users] Background transparency vs feature (polygon) transparency. In-Reply-To: References: Message-ID: Ok, I thought of an easier way to ask my question about a capability being removed in recent Mapserver. How can a Pick a RGB color and use that as a TRANSPARENT piexel value across the whole image, doesn't matter if the color is the background color, or a feature color. I just want to make a particular color transparent. It doesn't look like I can set transparent to TRUE without the background going transparent. What I'm after is drawing a feature layer (polygon) as transparent. Is there a way of setting a layer element transparent?? Bobb From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Basques, Bob (CI-StPaul) Sent: Monday, April 20, 2015 4:10 PM To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] Background transparency vs feature (polygon) transparency. All, So I used to be able (MS6.1 and older?) to just define a color and then set transparency to ON, and that color would be transparent. It didn't matter if it was the background or a feature that was drawn in that color, it just turned transparent. I have a slightly different use case than most users as. I want to maintain a background color for the image, but filter out polygons (parcels) to be transparent in color (not opaque) as an overlay. This is to represent all Public right-of-way areas, or rather, areas that are NOT parcels. I've been trying for a couple of days now on and off to make the new methods replicate this capability, to little effect. All the new tools assume a transparency is going to be applied across the whole image background. I need to be able to only poke holes in the background where there is a parcel polygon. Is there a way to make this work like in the good old days (I mean good old versions ?? :c) of Mapsever?? One suggestion I did find that would likely work, was the use a mask, but then I need a larger bounding area to contain the mask (Is there a way of defining an edgeless mask??). Is this the track I should be persuing? I could use our City Boundary for this as a possible solution. Also, what's all the stuff about a COMPOSITE block, looks like this is the future of masking type operations in the future. Thanks Bobb -------------- next part -------------- An HTML attachment was scrubbed... URL: From support at geo6.be Wed Apr 22 05:29:31 2015 From: support at geo6.be (Geo-6) Date: Wed, 22 Apr 2015 14:29:31 +0200 Subject: [mapserver-users] MapFile Generator Message-ID: <005201d07cf7$fd4a3690$f7dea3b0$@geo6.be> Hi everyone, I?m developing a web application (PHP) to read, edit, write and preview MapServer mapfiles. This application uses ?PHP MapScript? (http://www.mapserver.org/mapscript/php/) but if ?PHP MapScript? is not available or enable, it uses an internal library to read/write mapfiles. You can find the application on GitHub : https://github.com/jbelien/MapFile-Generator Use with caution, it?s still an alpha release. Feel free to test it, criticize it, suggest any idea or improvement, or contribute J I hope you?ll like it and find it useful. Do not hesitate to contact me if you have any question/suggestion (preferably using GitHub issues : https://github.com/jbelien/MapFile-Generator/issues) Have a great day. Jonathan Beli?n Geo-6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From mafonso333 at gmail.com Wed Apr 22 07:14:45 2015 From: mafonso333 at gmail.com (Marco Afonso) Date: Wed, 22 Apr 2015 15:14:45 +0100 Subject: [mapserver-users] Fwd: MapFile Generator In-Reply-To: References: <005201d07cf7$fd4a3690$f7dea3b0$@geo6.be> Message-ID: Hi, MapIgniter is a web application that also has as its main purpose to create a web interface to configure mapfiles for mapserver, although, it is based on CodeIgniter and RedBeanPHP, which was the best approuch at that time but now it is not. This is a very good idea and having it as a standalone PHP application is not bad but having it as a "module/extension" for a PHP framework/cms would be even better. I'm interested (as a developer) in a project like this but as a module or extension for a well-known PHP framework/cms ie. Laravel or October CMS. Ideally, the best approuch would be to have 3 repos: 1. Core repo (abstract, independent) 2. As standalone application (requires repo 1, the same as yours...) 3. As Extension for ie. Laravel (requires 1) What would you think? Keep on! :) 2015-04-22 13:29 GMT+01:00 Geo-6 : > Hi everyone, > > > > I?m developing a web application (PHP) to read, edit, write and preview > MapServer mapfiles. > > > > This application uses ?PHP MapScript? ( > http://www.mapserver.org/mapscript/php/) but if ?PHP MapScript? is not > available or enable, it uses an internal library to read/write mapfiles. > > > > You can find the application on GitHub : > https://github.com/jbelien/MapFile-Generator > > Use with caution, it?s still an alpha release. > > > > Feel free to test it, criticize it, suggest any idea or improvement, or > contribute J > > I hope you?ll like it and find it useful. > > > > Do not hesitate to contact me if you have any question/suggestion > (preferably using GitHub issues : > https://github.com/jbelien/MapFile-Generator/issues) > > > > Have a great day. > > > > Jonathan Beli?n > > Geo-6 > > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > -- Regards, Marco Afonso http://goo.gl/ZDtQjm -- Regards, Marco Afonso http://goo.gl/ZDtQjm -------------- next part -------------- An HTML attachment was scrubbed... URL: From support at geo6.be Wed Apr 22 07:28:55 2015 From: support at geo6.be (Geo-6) Date: Wed, 22 Apr 2015 16:28:55 +0200 Subject: [mapserver-users] Fwd: MapFile Generator In-Reply-To: References: <005201d07cf7$fd4a3690$f7dea3b0$@geo6.be> Message-ID: <007901d07d08$aac2fc20$0048f460$@geo6.be> This is a very good idea, obviously and it?s one of the reasons I developed a standalone library to read/write a mapfile. I currently do not use any PHP Framework and this is why I?m developing a standalone PHP application but I?m open to any suggestion and contribution to improve this application. If I understand correctly your idea, ? A repository would contain my library to read/write a mapfile, ? A ?sub-repository? would contain my application (using the library if needed ? no PHP MapScript) ? A ?sub-repository? would contain the modules for the Frameworks/CMS Thanks a lot for the encouragments anymway J Jonathan Beli?n Geo-6 De : mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] De la part de Marco Afonso Envoy? : mercredi 22 avril 2015 16:15 ? : mapserver Objet : [mapserver-users] Fwd: MapFile Generator Hi, MapIgniter is a web application that also has as its main purpose to create a web interface to configure mapfiles for mapserver, although, it is based on CodeIgniter and RedBeanPHP, which was the best approuch at that time but now it is not. This is a very good idea and having it as a standalone PHP application is not bad but having it as a "module/extension" for a PHP framework/cms would be even better. I'm interested (as a developer) in a project like this but as a module or extension for a well-known PHP framework/cms ie. Laravel or October CMS. Ideally, the best approuch would be to have 3 repos: 1. Core repo (abstract, independent) 2. As standalone application (requires repo 1, the same as yours...) 3. As Extension for ie. Laravel (requires 1) What would you think? Keep on! :) 2015-04-22 13:29 GMT+01:00 Geo-6 : Hi everyone, I?m developing a web application (PHP) to read, edit, write and preview MapServer mapfiles. This application uses ?PHP MapScript? (http://www.mapserver.org/mapscript/php/) but if ?PHP MapScript? is not available or enable, it uses an internal library to read/write mapfiles. You can find the application on GitHub : https://github.com/jbelien/MapFile-Generator Use with caution, it?s still an alpha release. Feel free to test it, criticize it, suggest any idea or improvement, or contribute J I hope you?ll like it and find it useful. Do not hesitate to contact me if you have any question/suggestion (preferably using GitHub issues : https://github.com/jbelien/MapFile-Generator/issues) Have a great day. Jonathan Beli?n Geo-6 _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Regards, Marco Afonso http://goo.gl/ZDtQjm Image supprim?e par l'exp?diteur. -- Regards, Marco Afonso http://goo.gl/ZDtQjm Image supprim?e par l'exp?diteur. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ~WRD000.jpg Type: image/jpeg Size: 823 bytes Desc: not available URL: From Robert.Burgholzer at deq.virginia.gov Wed Apr 22 07:51:35 2015 From: Robert.Burgholzer at deq.virginia.gov (Burgholzer, Robert (DEQ)) Date: Wed, 22 Apr 2015 14:51:35 +0000 Subject: [mapserver-users] Fwd: MapFile Generator In-Reply-To: <007901d07d08$aac2fc20$0048f460$@geo6.be> References: <005201d07cf7$fd4a3690$f7dea3b0$@geo6.be> , <007901d07d08$aac2fc20$0048f460$@geo6.be> Message-ID: <77F5F8FA4B407F43BFCFD3FC3478969108E9C034@COVMSGCES-MBX01> I'm interested in this as a module for Drupal too. Just a thought, not a ton of time to do this right now, but on my wishlist. Nice work! /r/b -------------- next part -------------- An HTML attachment was scrubbed... URL: From mapserver at markus-spring.de Thu Apr 23 00:45:53 2015 From: mapserver at markus-spring.de (mapserver) Date: Thu, 23 Apr 2015 09:45:53 +0200 Subject: [mapserver-users] Legend difference in 5.6.1 and 6.4.1 Message-ID: <5538A331.8010509@markus-spring.de> I am migrating my mapserver application from 5.6.1 to 6.4.1 and have observed a difference in the created legend images, i.e. truncating of class names - which makes the legend image unusable in the end The legend definition on both platforms is as such: LEGEND KEYSIZE 22 12 LABEL TYPE TRUETYPE FONT arial SIZE 8 COLOR 0 0 0 WRAP "@" END STATUS ON END # legend Mapfile: Umlauts in html-encoding like CLASS NAME "Öffentlicher Träger" I have to use a truetype font, otherwise I can't render the German umlauts. mapserver 5.6.1 gives this result: http://maps.muenchen.de/wms-2/rgu/behindertenheime?version=1.1.1&service=WMS&request=GetLegendGraphic&layer=l0&format=image/png&STYLE=default and mapserver 6.4.1 gives this one: http://kronos.muenchen.de/wms/rgu/behindertenheime?version=1.1.1&service=WMS&request=GetLegendGraphic&layer=l0&format=image/png&STYLE=default Have I missed something in the migration guide? Or are there parameter available to increase the legend size? Best regards - Markus From jt at mapmedia.de Thu Apr 23 02:28:58 2015 From: jt at mapmedia.de (=?windows-1252?Q?J=F6rg_Thomsen?=) Date: Thu, 23 Apr 2015 11:28:58 +0200 Subject: [mapserver-users] Legend difference in 5.6.1 and 6.4.1 In-Reply-To: <5538A331.8010509@markus-spring.de> References: <5538A331.8010509@markus-spring.de> Message-ID: <5538BB5A.8060406@mapmedia.de> Hallo Markus, I remember this thread: http://mapserver-users.umn.narkive.com/sUT3WyaT/wrong-different-legend-generation but I don't know the ending... In your legend definition you are using wrap, as I remember you have to use html '
' for legends (in the class name). Additionally you should use an offset to shift the text upward. In one of my projects I had to use up to three lines for the description in the legend and I added dummy classes with white symbols an   as name between each real class to have enough space for my text. perhaps this works for you too. J?rg Am 23.04.2015 um 09:45 schrieb mapserver: > I am migrating my mapserver application from 5.6.1 to 6.4.1 and have > observed a difference in the created legend images, i.e. truncating of > class names - which makes the legend image unusable in the end > > The legend definition on both platforms is as such: > > LEGEND > KEYSIZE 22 12 > LABEL > TYPE TRUETYPE > FONT arial > SIZE 8 > COLOR 0 0 0 > WRAP "@" > END > STATUS ON > END # legend > > Mapfile: Umlauts in html-encoding like > CLASS NAME "Öffentlicher Träger" > > I have to use a truetype font, otherwise I can't render the German umlauts. > > mapserver 5.6.1 gives this result: > > http://maps.muenchen.de/wms-2/rgu/behindertenheime?version=1.1.1&service=WMS&request=GetLegendGraphic&layer=l0&format=image/png&STYLE=default > > > and mapserver 6.4.1 gives this one: > > http://kronos.muenchen.de/wms/rgu/behindertenheime?version=1.1.1&service=WMS&request=GetLegendGraphic&layer=l0&format=image/png&STYLE=default > > > Have I missed something in the migration guide? Or are there parameter > available to increase the legend size? > > Best regards - Markus > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From vlasvlasvlas at gmail.com Thu Apr 23 06:14:29 2015 From: vlasvlasvlas at gmail.com (vladimirbellini) Date: Thu, 23 Apr 2015 06:14:29 -0700 (PDT) Subject: [mapserver-users] ows_allowed_ip_list / ows_denied_ip_list not working Message-ID: <1429794869682-5202661.post@n6.nabble.com> Hi. i was testing "ows_denied_ip_list" or allowed ip list on my 6.4.1 mapserver and it does not work at all. ./mapserv -v MapServer version 6.4.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ SUPPORTS=GD SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE METADATA #inside top mapfile metadata "ows_denied_ip_list" "*" #(other metadata..) END even blocking "*" (all ip's) it doesnt work, i always receive a GetMap response using wms .. i can still see my request (cgi-bin,wms,getmap, see the full png, no denied at all...) why? :S Thanks, Vladimiro Bellini -- View this message in context: http://osgeo-org.1560.x6.nabble.com/ows-allowed-ip-list-ows-denied-ip-list-not-working-tp5202661.html Sent from the Mapserver - User mailing list archive at Nabble.com. From vlasvlasvlas at gmail.com Thu Apr 23 06:33:43 2015 From: vlasvlasvlas at gmail.com (Vladimiro Bellini) Date: Thu, 23 Apr 2015 10:33:43 -0300 Subject: [mapserver-users] ows_allowed_ip_list / ows_denied_ip_list not working Message-ID: Hi. i was testing "ows_denied_ip_list" or allowed ip list on my 6.4.1 mapserver and it does not work at all. ./mapserv -v MapServer version 6.4.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ SUPPORTS=GD SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE METADATA #inside top mapfile metadata "ows_denied_ip_list" "*" #(other metadata..) END even blocking "*" (all ip's) it doesnt work, i always receive a GetMap response using wms .. i can still see my request (cgi-bin,wms,getmap, see the full png, no denied at all...) why? :S Thanks, Vladimiro Bellini -------------- next part -------------- An HTML attachment was scrubbed... URL: From Steve.Toutant at inspq.qc.ca Thu Apr 23 06:37:24 2015 From: Steve.Toutant at inspq.qc.ca (Steve.Toutant at inspq.qc.ca) Date: Thu, 23 Apr 2015 09:37:24 -0400 Subject: [mapserver-users] RE ows_allowed_ip_list / ows_denied_ip_list not working In-Reply-To: References: Message-ID: Does this works "ows_denied_ip_list" "all" or "ows_denied_ip_list" "youripaddress" Vladimiro Bellini @lists.osgeo.org Envoy? par : mapserver-users-bounces at lists.osgeo.org 2015-04-23 09:33 A mapserver-users at lists.osgeo.org cc Objet [mapserver-users] ows_allowed_ip_list / ows_denied_ip_list not working Hi. i was testing "ows_denied_ip_list" or allowed ip list on my 6.4.1 mapserver and it does not work at all. ./mapserv -v MapServer version 6.4.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ SUPPORTS=GD SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE METADATA #inside top mapfile metadata "ows_denied_ip_list" "*" #(other metadata..) END even blocking "*" (all ip's) it doesnt work, i always receive a GetMap response using wms .. i can still see my request (cgi-bin,wms,getmap, see the full png, no denied at all...) why? :S Thanks, Vladimiro Bellini_______________________________________________ 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 vlasvlasvlas at gmail.com Thu Apr 23 07:06:14 2015 From: vlasvlasvlas at gmail.com (Vladimiro Bellini) Date: Thu, 23 Apr 2015 11:06:14 -0300 Subject: [mapserver-users] RE ows_allowed_ip_list / ows_denied_ip_list not working In-Reply-To: References: Message-ID: Hi, i tried "all" and my ip, but i got the same result.. what could it be? here's my full metadata (header metadata of mapfile, not in layers) *METADATA* *"ows_denied_ip_list" "all" * *"wms_service_onlineresource" "http://xxxxxxxxxxxx/cgi-bin/mapserv6?map=/xxxxxxxxxxxx/mapase.map "* *"ows_onlineresource" "http://xxxxxxxxxxxx/cgi-bin/mapserv6?map=/xxxxxxxxxxxx/mapase.map "* *"wms_title" "Mapa" * *"wms_abstract" "Capas"* *"wms_srs" "EPSG:4326 EPSG:900913 EPSG:3857 EPSG:4694 EPSG:4928 EPSG:4929 EPSG:22181 EPSG:22182 EPSG:22183 EPSG:22184 EPSG:22185 EPSG:22186 EPSG:22187"* *"wms_onlineresource" "http://xxxxxxxxxxxx/cgi-bin/mapserv6?map=/xxxxxxxxxxxx/mapase.map "* *"wms_enable_request" "GetCapabilities GetMap GetLegendGraphic GetFeatureInfo"* *"wfs_enable_request" "!*"* *"wms_server_version" "1.1.1"* *"wms_feature_info_mime_type" "text/html" * *"wms_include_items" "all"* *"gml_include_items" "all"* *"wms_contactelectronicmailaddress" "xxxxxxxxxxxx at xxxxxxxxxxxx.xxx.xx"* *END* and here's my layer metadata: *METADATA "wms_title" "Concesiones de Distribuidoras electricas" "wms_extent" "-73,566078 -55,057765 -53,635586 -21,778191" "gml_include_items" "all" "gml_featureid" "gid" "wms_feature_info_mime_type" "text/html" "wms_server_version" "1.1.1" "wms_include_items" "all" "wms_srs" "EPSG:4326" END* is there any other problem? i can still see my png when i do a GetMap request.. :( thanks a lot. Vladimiro. Vladimiro Bellini __ \ /| _ _|. _ . _ |__) _||. _ . 2015-04-23 10:37 GMT-03:00 : > Does this works > "ows_denied_ip_list" "all" > > or > "ows_denied_ip_list" "youripaddress" > > > > > *Vladimiro Bellini >@lists.osgeo.org * > Envoy? par : mapserver-users-bounces at lists.osgeo.org > > 2015-04-23 09:33 > A > mapserver-users at lists.osgeo.org > cc > Objet > [mapserver-users] ows_allowed_ip_list / ows_denied_ip_list not > working > > > > > > > Hi. > i was testing "ows_denied_ip_list" or allowed ip list on my 6.4.1 > mapserver and it does not work at all. > ./mapserv -v > MapServer version 6.4.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML > SUPPORTS=PROJ SUPPORTS=GD SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV > SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER > SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=GEOS > INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE > > > > METADATA > #inside top mapfile metadata > > "ows_denied_ip_list" "*" > #(other metadata..) > END > > > even blocking "*" (all ip's) it doesnt work, > i always receive a GetMap response using wms > .. > i can still see my request (cgi-bin,wms,getmap, see the full png, no > denied at all...) why? > :S > > Thanks, > > Vladimiro Bellini_______________________________________________ > 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 Steve.Toutant at inspq.qc.ca Thu Apr 23 07:22:26 2015 From: Steve.Toutant at inspq.qc.ca (Steve.Toutant at inspq.qc.ca) Date: Thu, 23 Apr 2015 10:22:26 -0400 Subject: [mapserver-users] RE ows_allowed_ip_list / ows_denied_ip_list not working In-Reply-To: References: Message-ID: Anything in your mapserver log? perhaps there is another problem in your mapfile Vladimiro Bellini 2015-04-23 10:06 A Steve.Toutant at inspq.qc.ca cc mapserver-users , mapserver-users-bounces at lists.osgeo.org Objet Re: RE [mapserver-users] ows_allowed_ip_list / ows_denied_ip_list not working Hi, i tried "all" and my ip, but i got the same result.. what could it be? here's my full metadata (header metadata of mapfile, not in layers) METADATA "ows_denied_ip_list" "all" "wms_service_onlineresource" " http://xxxxxxxxxxxx/cgi-bin/mapserv6?map=/xxxxxxxxxxxx/mapase.map" "ows_onlineresource" " http://xxxxxxxxxxxx/cgi-bin/mapserv6?map=/xxxxxxxxxxxx/mapase.map" "wms_title" "Mapa" "wms_abstract" "Capas" "wms_srs" "EPSG:4326 EPSG:900913 EPSG:3857 EPSG:4694 EPSG:4928 EPSG:4929 EPSG:22181 EPSG:22182 EPSG:22183 EPSG:22184 EPSG:22185 EPSG:22186 EPSG:22187" "wms_onlineresource" " http://xxxxxxxxxxxx/cgi-bin/mapserv6?map=/xxxxxxxxxxxx/mapase.map" "wms_enable_request" "GetCapabilities GetMap GetLegendGraphic GetFeatureInfo" "wfs_enable_request" "!*" "wms_server_version" "1.1.1" "wms_feature_info_mime_type" "text/html" "wms_include_items" "all" "gml_include_items" "all" "wms_contactelectronicmailaddress" "xxxxxxxxxxxx at xxxxxxxxxxxx.xxx.xx" END and here's my layer metadata: METADATA "wms_title" "Concesiones de Distribuidoras electricas" "wms_extent" "-73,566078 -55,057765 -53,635586 -21,778191" "gml_include_items" "all" "gml_featureid" "gid" "wms_feature_info_mime_type" "text/html" "wms_server_version" "1.1.1" "wms_include_items" "all" "wms_srs" "EPSG:4326" END is there any other problem? i can still see my png when i do a GetMap request.. :( thanks a lot. Vladimiro. Vladimiro Bellini __ \ /| _ _|. _ . _ |__) _||. _ . 2015-04-23 10:37 GMT-03:00 : Does this works "ows_denied_ip_list" "all" or "ows_denied_ip_list" "youripaddress" Vladimiro Bellini @lists.osgeo.org Envoy? par : mapserver-users-bounces at lists.osgeo.org 2015-04-23 09:33 A mapserver-users at lists.osgeo.org cc Objet [mapserver-users] ows_allowed_ip_list / ows_denied_ip_list not working Hi. i was testing "ows_denied_ip_list" or allowed ip list on my 6.4.1 mapserver and it does not work at all. ./mapserv -v MapServer version 6.4.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ SUPPORTS=GD SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE METADATA #inside top mapfile metadata "ows_denied_ip_list" "*" #(other metadata..) END even blocking "*" (all ip's) it doesnt work, i always receive a GetMap response using wms .. i can still see my request (cgi-bin,wms,getmap, see the full png, no denied at all...) why? :S Thanks, Vladimiro Bellini_______________________________________________ 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 vlasvlasvlas at gmail.com Thu Apr 23 07:29:27 2015 From: vlasvlasvlas at gmail.com (Vladimiro Bellini) Date: Thu, 23 Apr 2015 11:29:27 -0300 Subject: [mapserver-users] RE ows_allowed_ip_list / ows_denied_ip_list not working In-Reply-To: References: Message-ID: checking my access_log did the job for denied specific ip (i was using a wrong public ip). but it didnt worked for "*" neither "all" but hey, specific ip works for me. Thanks!! :) Vladimiro Bellini __ \ /| _ _|. _ . _ |__) _||. _ . 2015-04-23 11:22 GMT-03:00 : > Anything in your mapserver log? perhaps there is another problem in your > mapfile > > > > > *Vladimiro Bellini >* > > 2015-04-23 10:06 > A > Steve.Toutant at inspq.qc.ca > cc > mapserver-users , > mapserver-users-bounces at lists.osgeo.org > Objet > Re: RE [mapserver-users] ows_allowed_ip_list / ows_denied_ip_list not > working > > > > > > > Hi, i tried "all" and my ip, but i got the same result.. what could it be? > > here's my full metadata (header metadata of mapfile, not in layers) > > *METADATA* > *"ows_denied_ip_list" "all" * > *"wms_service_onlineresource" "* > *http://xxxxxxxxxxxx/cgi-bin/mapserv6?map=/xxxxxxxxxxxx/mapase.map* > *"* > *"ows_onlineresource" "* > *http://xxxxxxxxxxxx/cgi-bin/mapserv6?map=/xxxxxxxxxxxx/mapase.map* > *"* > *"wms_title" "Mapa" * > *"wms_abstract" "Capas"* > *"wms_srs" "EPSG:4326 EPSG:900913 EPSG:3857 EPSG:4694 EPSG:4928 EPSG:4929 > EPSG:22181 EPSG:22182 EPSG:22183 EPSG:22184 EPSG:22185 EPSG:22186 > EPSG:22187"* > *"wms_onlineresource" "* > *http://xxxxxxxxxxxx/cgi-bin/mapserv6?map=/xxxxxxxxxxxx/mapase.map* > *"* > *"wms_enable_request" "GetCapabilities GetMap GetLegendGraphic > GetFeatureInfo"* > *"wfs_enable_request" "!*"* > *"wms_server_version" "1.1.1"* > *"wms_feature_info_mime_type" "text/html" * > *"wms_include_items" "all"* > *"gml_include_items" "all"* > *"wms_contactelectronicmailaddress" "xxxxxxxxxxxx at xxxxxxxxxxxx.xxx.xx"* > *END* > > > and here's my layer metadata: > > *METADATA "wms_title" "Concesiones de Distribuidoras electricas" > "wms_extent" "-73,566078 -55,057765 -53,635586 -21,778191" > "gml_include_items" "all" "gml_featureid" "gid" > "wms_feature_info_mime_type" "text/html" "wms_server_version" "1.1.1" > "wms_include_items" "all" "wms_srs" "EPSG:4326" END* > > > is there any other problem? i can still see my png when i do a GetMap > request.. :( > > thanks a lot. > Vladimiro. > > > > > Vladimiro Bellini __ > \ /| _ _|. _ . _ |__) _||. _ . > > 2015-04-23 10:37 GMT-03:00 <*Steve.Toutant at inspq.qc.ca* > >: > Does this works > "ows_denied_ip_list" "all" > > or > "ows_denied_ip_list" "youripaddress" > > > > *Vladimiro Bellini <**vlasvlasvlas at gmail.com* > *>@**lists.osgeo.org* > Envoy? par : *mapserver-users-bounces at lists.osgeo.org* > > > 2015-04-23 09:33 > > A > *mapserver-users at lists.osgeo.org* > cc > Objet > [mapserver-users] ows_allowed_ip_list / ows_denied_ip_list not > working > > > > > > > > > Hi. > i was testing "ows_denied_ip_list" or allowed ip list on my 6.4.1 > mapserver and it does not work at all. > ./mapserv -v > MapServer version 6.4.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML > SUPPORTS=PROJ SUPPORTS=GD SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV > SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER > SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=GEOS > INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE > > > > METADATA > #inside top mapfile metadata > > "ows_denied_ip_list" "*" > #(other metadata..) > END > > > even blocking "*" (all ip's) it doesnt work, > i always receive a GetMap response using wms > .. > i can still see my request (cgi-bin,wms,getmap, see the full png, no > denied at all...) why? > :S > > Thanks, > > Vladimiro Bellini_______________________________________________ > 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 mapserver at markus-spring.de Thu Apr 23 09:01:45 2015 From: mapserver at markus-spring.de (mapserver) Date: Thu, 23 Apr 2015 18:01:45 +0200 Subject: [mapserver-users] Legend difference in 5.6.1 and 6.4.1 In-Reply-To: <5538BB5A.8060406@mapmedia.de> References: <5538A331.8010509@markus-spring.de> <5538BB5A.8060406@mapmedia.de> Message-ID: <55391769.4070005@markus-spring.de> J?rg, looks like this is a minefield :( Strange enough, using bitmap fonts the class names don't get truncated, but then I don't have the beloved German umlauts. This sure enough looks like a miscalculation of the space the average letter of a proportional font needs and so the space allocated for the class name is too small. Don't know why it worked in 5.6.1 but broke in the transition to 6.4.1 ---Markus Am 23.04.2015 um 11:28 schrieb J?rg Thomsen: > Hallo Markus, > > I remember this thread: > http://mapserver-users.umn.narkive.com/sUT3WyaT/wrong-different-legend-generation > but I don't know the ending... > > In your legend definition you are using wrap, as I remember you have to > use html '
' for legends (in the class name). Additionally you > should use an offset to shift the text upward. > > In one of my projects I had to use up to three lines for the description > in the legend and I added dummy classes with white symbols an   as > name between each real class to have enough space for my text. > > perhaps this works for you too. > > J?rg > > Am 23.04.2015 um 09:45 schrieb mapserver: >> I am migrating my mapserver application from 5.6.1 to 6.4.1 and have >> observed a difference in the created legend images, i.e. truncating of >> class names - which makes the legend image unusable in the end >> >> The legend definition on both platforms is as such: >> >> LEGEND >> KEYSIZE 22 12 >> LABEL >> TYPE TRUETYPE >> FONT arial >> SIZE 8 >> COLOR 0 0 0 >> WRAP "@" >> END >> STATUS ON >> END # legend >> >> Mapfile: Umlauts in html-encoding like >> CLASS NAME "Öffentlicher Träger" >> >> I have to use a truetype font, otherwise I can't render the German umlauts. >> >> mapserver 5.6.1 gives this result: >> >> http://maps.muenchen.de/wms-2/rgu/behindertenheime?version=1.1.1&service=WMS&request=GetLegendGraphic&layer=l0&format=image/png&STYLE=default >> >> >> and mapserver 6.4.1 gives this one: >> >> http://kronos.muenchen.de/wms/rgu/behindertenheime?version=1.1.1&service=WMS&request=GetLegendGraphic&layer=l0&format=image/png&STYLE=default >> >> >> Have I missed something in the migration guide? Or are there parameter >> available to increase the legend size? >> >> Best regards - Markus >> _______________________________________________ >> 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 Weisbend at WAPA.GOV Thu Apr 23 13:51:43 2015 From: Weisbend at WAPA.GOV (Weisbender, Eric) Date: Thu, 23 Apr 2015 20:51:43 +0000 Subject: [mapserver-users] Legend difference in 5.6.1 and 6.4.1 (mapserver) Message-ID: <9FE7B20682D2EE4CB9F40163E1EB4F08332BE8EF@afovsml1m.WAPA.INT> Hello List, With my legend font I am having the exact same problem on the exact same version of MapServer. In the mean time I have reverted back to BITMAP font but would like to continue using TRUETYPE. I have also tried multiple variation of Legend definition and am currently copying my old .ttf files from our previous server. Any insight to this issue is greatly appreciated. Thanks, Eric Weisbender -----Original Message----- From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of mapserver-users-request at lists.osgeo.org Sent: 2015, April, 23 1:00 PM To: mapserver-users at lists.osgeo.org Subject: mapserver-users Digest, Vol 87, Issue 28 Send mapserver-users mailing list submissions to mapserver-users at lists.osgeo.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.osgeo.org/mailman/listinfo/mapserver-users or, via email, send a message with subject or body 'help' to mapserver-users-request at lists.osgeo.org You can reach the person managing the list at mapserver-users-owner at lists.osgeo.org When replying, please edit your Subject line so it is more specific than "Re: Contents of mapserver-users digest..." Today's Topics: 1. Re: Legend difference in 5.6.1 and 6.4.1 (mapserver) ---------------------------------------------------------------------- Message: 1 Date: Thu, 23 Apr 2015 18:01:45 +0200 From: mapserver To: jt at mapmedia.de, mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] Legend difference in 5.6.1 and 6.4.1 Message-ID: <55391769.4070005 at markus-spring.de> Content-Type: text/plain; charset=windows-1252; format=flowed J?rg, looks like this is a minefield :( Strange enough, using bitmap fonts the class names don't get truncated, but then I don't have the beloved German umlauts. This sure enough looks like a miscalculation of the space the average letter of a proportional font needs and so the space allocated for the class name is too small. Don't know why it worked in 5.6.1 but broke in the transition to 6.4.1 ---Markus Am 23.04.2015 um 11:28 schrieb J?rg Thomsen: > Hallo Markus, > > I remember this thread: > http://mapserver-users.umn.narkive.com/sUT3WyaT/wrong-different-legend > -generation > but I don't know the ending... > > In your legend definition you are using wrap, as I remember you have > to use html '
' for legends (in the class name). Additionally you > should use an offset to shift the text upward. > > In one of my projects I had to use up to three lines for the > description in the legend and I added dummy classes with white symbols > an   as name between each real class to have enough space for my text. > > perhaps this works for you too. > > J?rg > > Am 23.04.2015 um 09:45 schrieb mapserver: >> I am migrating my mapserver application from 5.6.1 to 6.4.1 and have >> observed a difference in the created legend images, i.e. truncating >> of class names - which makes the legend image unusable in the end >> >> The legend definition on both platforms is as such: >> >> LEGEND >> KEYSIZE 22 12 >> LABEL >> TYPE TRUETYPE >> FONT arial >> SIZE 8 >> COLOR 0 0 0 >> WRAP "@" >> END >> STATUS ON >> END # legend >> >> Mapfile: Umlauts in html-encoding like >> CLASS NAME "Öffentlicher Träger" >> >> I have to use a truetype font, otherwise I can't render the German umlauts. >> >> mapserver 5.6.1 gives this result: >> >> http://maps.muenchen.de/wms-2/rgu/behindertenheime?version=1.1.1&serv >> ice=WMS&request=GetLegendGraphic&layer=l0&format=image/png&STYLE=defa >> ult >> >> >> and mapserver 6.4.1 gives this one: >> >> http://kronos.muenchen.de/wms/rgu/behindertenheime?version=1.1.1&serv >> ice=WMS&request=GetLegendGraphic&layer=l0&format=image/png&STYLE=defa >> ult >> >> >> Have I missed something in the migration guide? Or are there >> parameter available to increase the legend size? >> >> Best regards - Markus >> _______________________________________________ >> 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 End of mapserver-users Digest, Vol 87, Issue 28 *********************************************** From Andreas.Eichner at sid.sachsen.de Thu Apr 23 23:27:18 2015 From: Andreas.Eichner at sid.sachsen.de (Eichner, Andreas - SID) Date: Fri, 24 Apr 2015 06:27:18 +0000 Subject: [mapserver-users] RE ows_allowed_ip_list / ows_denied_ip_list not working In-Reply-To: References: Message-ID: <6F331135492B944D90731CE93743D5681D45FC@FS-EX-DB101.fs.sachsen.de> Since *_ip_list supports ranges using CIDR notation, you might use Ows_denied_ip_list "0.0.0.0/0" But instead of blocking _all_ IPs you should probably disable requests to this layer or service using ows_enable_request "!*" > -----Urspr?ngliche Nachricht----- > Von: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users- > bounces at lists.osgeo.org] Im Auftrag von Vladimiro Bellini > Gesendet: Donnerstag, 23. April 2015 16:29 > An: steve.toutant > Cc: mapserver-users; mapserver-users-bounces > Betreff: Re: [mapserver-users] RE ows_allowed_ip_list / ows_denied_ip_list > not working > > checking my access_log did the job for denied specific ip (i was using a > wrong public ip). > > but it didnt worked for "*" neither "all" > > but hey, specific ip works for me. > > Thanks!! > > :) > > > Vladimiro Bellini __ > \ /| _ _|. _ . _ |__) _||. _ . > > 2015-04-23 11:22 GMT-03:00 : > > > Anything in your mapserver log? perhaps there is another problem in > your mapfile > > > > > > > > > > Vladimiro Bellini > > 2015-04-23 10:06 > > A > Steve.Toutant at inspq.qc.ca > cc > mapserver-users , mapserver-users- > bounces at lists.osgeo.org > Objet > Re: RE [mapserver-users] ows_allowed_ip_list / ows_denied_ip_list not > working > > > > > > > > > Hi, i tried "all" and my ip, but i got the same result.. what could > it be? > > here's my full metadata (header metadata of mapfile, not in layers) > > METADATA > "ows_denied_ip_list" "all" > "wms_service_onlineresource" "http://xxxxxxxxxxxx/cgi- > bin/mapserv6?map=/xxxxxxxxxxxx/mapase.map bin/mapserv6?map=/xxxxxxxxxxxx/mapase.map> " > "ows_onlineresource" "http://xxxxxxxxxxxx/cgi- > bin/mapserv6?map=/xxxxxxxxxxxx/mapase.map bin/mapserv6?map=/xxxxxxxxxxxx/mapase.map> " > "wms_title" "Mapa" > "wms_abstract" "Capas" > "wms_srs" "EPSG:4326 EPSG:900913 EPSG:3857 EPSG:4694 EPSG:4928 > EPSG:4929 EPSG:22181 EPSG:22182 EPSG:22183 EPSG:22184 EPSG:22185 > EPSG:22186 EPSG:22187" > "wms_onlineresource" "http://xxxxxxxxxxxx/cgi- > bin/mapserv6?map=/xxxxxxxxxxxx/mapase.map bin/mapserv6?map=/xxxxxxxxxxxx/mapase.map> " > "wms_enable_request" "GetCapabilities GetMap GetLegendGraphic > GetFeatureInfo" > "wfs_enable_request" "!*" > "wms_server_version" "1.1.1" > "wms_feature_info_mime_type" "text/html" > "wms_include_items" "all" > "gml_include_items" "all" > "wms_contactelectronicmailaddress" > "xxxxxxxxxxxx at xxxxxxxxxxxx.xxx.xx" > END > > > and here's my layer metadata: > > METADATA "wms_title" "Concesiones de Distribuidoras electricas" > "wms_extent" "-73,566078 -55,057765 -53,635586 -21,778191" > "gml_include_items" "all" "gml_featureid" "gid" > "wms_feature_info_mime_type" "text/html" "wms_server_version" "1.1.1" > "wms_include_items" "all" "wms_srs" "EPSG:4326" END > > > is there any other problem? i can still see my png when i do a > GetMap request.. :( > > thanks a lot. > Vladimiro. > > > > > Vladimiro Bellini __ > \ /| _ _|. _ . _ |__) _||. _ . > > 2015-04-23 10:37 GMT-03:00 >: > Does this works > "ows_denied_ip_list" "all" > > or > "ows_denied_ip_list" "youripaddress" > > > > > > > > > > Vladimiro Bellini > >@lists.osgeo.org > Envoy? par : mapserver-users-bounces at lists.osgeo.org users-bounces at lists.osgeo.org> > > 2015-04-23 09:33 > > > > A > mapserver-users at lists.osgeo.org > > cc > > Objet > [mapserver-users] ows_allowed_ip_list / ows_denied_ip_list not > working > > > > > > > > > > > Hi. > i was testing "ows_denied_ip_list" or allowed ip list on my 6.4.1 > mapserver and it does not work at all. > ./mapserv -v > MapServer version 6.4.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML > SUPPORTS=PROJ SUPPORTS=GD SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV > SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER > SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=GEOS > INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE > > > > METADATA > #inside top mapfile metadata > > "ows_denied_ip_list" "*" > #(other metadata..) > END > > > even blocking "*" (all ip's) it doesnt work, > i always receive a GetMap response using wms > .. > i can still see my request (cgi-bin,wms,getmap, see the full png, no > denied at all...) why? > :S > > Thanks, > > Vladimiro Bellini_______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org users at lists.osgeo.org> > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > > > > > > > > > > > > > > From thomas.bonfort at gmail.com Fri Apr 24 00:04:20 2015 From: thomas.bonfort at gmail.com (thomas bonfort) Date: Fri, 24 Apr 2015 09:04:20 +0200 Subject: [mapserver-users] ows_allowed_ip_list / ows_denied_ip_list not working In-Reply-To: <1429794869682-5202661.post@n6.nabble.com> References: <1429794869682-5202661.post@n6.nabble.com> Message-ID: Can you point us to where you saw in the docs that '*' was a valid entry for an ip list ? -- thomas On 23 April 2015 at 15:14, vladimirbellini wrote: > Hi. > > i was testing "ows_denied_ip_list" or allowed ip list on my 6.4.1 mapserver > and it does not work at all. > > ./mapserv -v > MapServer version 6.4.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML > SUPPORTS=PROJ SUPPORTS=GD SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV > SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER > SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=GEOS > INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE > > > METADATA > #inside top mapfile metadata > > "ows_denied_ip_list" "*" > #(other metadata..) > END > > even blocking "*" (all ip's) it doesnt work, > > i always receive a GetMap response using wms > .. > > i can still see my request (cgi-bin,wms,getmap, see the full png, no denied > at all...) why? > > :S > > > > > Thanks, > > > Vladimiro Bellini > > > > -- > View this message in context: http://osgeo-org.1560.x6.nabble.com/ows-allowed-ip-list-ows-denied-ip-list-not-working-tp5202661.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 mathuralok.88 at gmail.com Fri Apr 24 08:56:59 2015 From: mathuralok.88 at gmail.com (alok mathur) Date: Fri, 24 Apr 2015 21:26:59 +0530 Subject: [mapserver-users] KML Multigeometry Message-ID: Hi, Need help!! I have a kml with multigeometry placemark in it as shown below. Also I have create a map file corresponding to this kml as shown. I am unable to view the data on map, there is no error coming. Please let me know what wrong i am doing. MAP --------- LAYER GROUP "default" NAME "layer0" DATA "SELECT * FROM 'TestFolder' WHERE FID=0 AND OGR_GEOMETRY='LINESTRING'" METADATA "wms_title" "Layer_0" "gml_geometries" "geom" "gml_include_items" "all" "wms_include_items" "all" "wms_feature_info_mime_type" "text/plain" "gml_geom_type" "line" END STATUS DEFAULT TEMPLATE queryable TYPE LINE CONNECTIONTYPE OGR CONNECTION "test.kml" CLASS NAME "class" STYLE WIDTH 10 COLOR 0 0 255 END #style end END #class end END #layerend END KML ---------- TestFolder SF Marina Harbor Master 0 -71.460218,42.901764,1 -71.460193,42.901815,1 -71.460095,42.902058,1 -71.46002799999999,42.902381,1 -71.460009,42.902723,1 -71.46001699999999,42.903507,1 -71.45998899999999,42.904164,1 -71.45995000000001,42.904524,1 -71.45985400000001,42.905083,1 -71.459458,42.906672,1 -71.459121,42.907851,1 -71.45884100000001,42.908847,1 -71.45876300000001,42.909122,1 -122.4425509770566,37.80662588061205,0 -122.4428340530617,37.8065999493009,0 -122.4428340530617,37.8065999493009,0 Thanks! -- *Alok Mathur* -------------- next part -------------- An HTML attachment was scrubbed... URL: From luca.paganotti at gmail.com Sun Apr 26 07:07:53 2015 From: luca.paganotti at gmail.com (luca paganotti) Date: Sun, 26 Apr 2015 16:07:53 +0200 Subject: [mapserver-users] MapServer on centos 7 Message-ID: Hi all, I'm in the need of installing mapserver and pmapper on a centos 7 box. I googled for a suitable repo, but the only one I was able to find was on elgis and is stucked at centos 6. Is there anybody who knows about a centos 7 one? I also searched for building instructions but none of what I've found is targeted to centos 7. Can someone, please, direct me to right source of info? I'm not so willing to downgrade to centos 6. Thank you for any answer. -------------- next part -------------- An HTML attachment was scrubbed... URL: From thekla.wirkus at wheregroup.com Mon Apr 27 02:37:17 2015 From: thekla.wirkus at wheregroup.com (Thekla Wirkus) Date: Mon, 27 Apr 2015 11:37:17 +0200 Subject: [mapserver-users] Symbol is displayed in Map but not in legend in Mapserver 7 Message-ID: <28196b70d1149042042f00e7849f70f7@wheregroup.com> Hello, I'm testing Mapserver7. Everything is OK, but I have problems with symbols in the legend. The mapserver-symbols and png-Symnbols are displayed in the Map but not in the legend, see below. IF I use a KEYIMAGE, the legend is displayed. SIZEUNITS meters CLASS NAME "Eingriff" STYLE SYMBOL 'circle' COLOR 255 20 0 SIZE 12 MINSIZE 8 MAXSIZE 16 OUTLINECOLOR 0 0 0 WIDTH 1 MINWIDTH 1 MAXWIDTH 1 END LABEL TYPE TRUETYPE #COLOR 0 255 55 COLOR 255 0 0 OUTLINECOLOR 254 254 254 FONT "Arial" POSITION uc PARTIALS FALSE FORCE TRUE MINDISTANCE -1 SIZE 9 MINSIZE 8 MAXSIZE 12 END END Do I have to define a keyimage? Best regards Thekla Wirkus -- --------------------------------- Thekla Wirkus -GIS-Consultant- ----------------------------------- Aufwind durch Wissen! Qualifizierte OpenSource-Schulungen bei der www.foss-academy.eu ----------------------------------- WhereGroup GmbH & Co. KG Eifelstra?e 7 53119 Bonn Germany Fon: +49 (0)228 / 90 90 38 - 34 Fax: +49 (0)228 / 90 90 38 - 11 thekla.wirkus at wheregroup.com www.wheregroup.com Amtsgericht Bonn, HRA 6788 ------------------------------- Komplement?rin: WhereGroup Verwaltungs GmbH vertreten durch: Olaf Knopp, Peter Stamm ------------------------------- From lars.schylberg at saabgroup.com Mon Apr 27 05:25:30 2015 From: lars.schylberg at saabgroup.com (Schylberg Lars) Date: Mon, 27 Apr 2015 12:25:30 +0000 Subject: [mapserver-users] KML Multigeometry In-Reply-To: References: Message-ID: <7b78c714cc174442894f1ebd4b07b74a@corpappl843.corp.saab.se> The linestrings and point are inside a geometrycollection. There is no FID that You can use to make the selection. I would suggest that You experiment with ogrinfo first to see that You can extract what You want. I guess that You have to make a more advanced sql query to break the geometrycollection appart into the two linestrings and the point feature. You can do that both with regular ogr sql or sqlite syntax in ogr. /Lars From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of alok mathur Sent: den 24 april 2015 17:57 To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] KML Multigeometry Hi, Need help!! I have a kml with multigeometry placemark in it as shown below. Also I have create a map file corresponding to this kml as shown. I am unable to view the data on map, there is no error coming. Please let me know what wrong i am doing. MAP --------- LAYER GROUP "default" NAME "layer0" DATA "SELECT * FROM 'TestFolder' WHERE FID=0 AND OGR_GEOMETRY='LINESTRING'" METADATA "wms_title" "Layer_0" "gml_geometries" "geom" "gml_include_items" "all" "wms_include_items" "all" "wms_feature_info_mime_type" "text/plain" "gml_geom_type" "line" END STATUS DEFAULT TEMPLATE queryable TYPE LINE CONNECTIONTYPE OGR CONNECTION "test.kml" CLASS NAME "class" STYLE WIDTH 10 COLOR 0 0 255 END #style end END #class end END #layerend END KML ---------- TestFolder SF Marina Harbor Master 0 -71.460218,42.901764,1 -71.460193,42.901815,1 -71.460095,42.902058,1 -71.46002799999999,42.902381,1 -71.460009,42.902723,1 -71.46001699999999,42.903507,1 -71.45998899999999,42.904164,1 -71.45995000000001,42.904524,1 -71.45985400000001,42.905083,1 -71.459458,42.906672,1 -71.459121,42.907851,1 -71.45884100000001,42.908847,1 -71.45876300000001,42.909122,1 -122.4425509770566,37.80662588061205,0 -122.4428340530617,37.8065999493009,0 -122.4428340530617,37.8065999493009,0 Thanks! -- Alok Mathur -------------- next part -------------- An HTML attachment was scrubbed... URL: From Steve.Toutant at inspq.qc.ca Mon Apr 27 06:15:41 2015 From: Steve.Toutant at inspq.qc.ca (Steve.Toutant at inspq.qc.ca) Date: Mon, 27 Apr 2015 09:15:41 -0400 Subject: [mapserver-users] RE MapServer on centos 7 In-Reply-To: References: Message-ID: you can compile mapserver on centos, I did for centos 6.5 http://mapserver.org/installation/unix.html#compilin You will need to install the xxxx-devel version of some packages...such as gdal, postgres, ..... luca paganotti @lists.osgeo.org Envoy? par : mapserver-users-bounces at lists.osgeo.org 2015-04-26 10:07 A mapserver-users at lists.osgeo.org cc Objet [mapserver-users] MapServer on centos 7 Hi all, I'm in the need of installing mapserver and pmapper on a centos 7 box. I googled for a suitable repo, but the only one I was able to find was on elgis and is stucked at centos 6. Is there anybody who knows about a centos 7 one? I also searched for building instructions but none of what I've found is targeted to centos 7. Can someone, please, direct me to right source of info? I'm not so willing to downgrade to centos 6. Thank you for any answer._______________________________________________ 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 mapserver at markus-spring.de Mon Apr 27 21:19:35 2015 From: mapserver at markus-spring.de (mapserver) Date: Tue, 28 Apr 2015 06:19:35 +0200 Subject: [mapserver-users] Legend difference in 5.6.1 and 6.4.1 In-Reply-To: <5538A331.8010509@markus-spring.de> References: <5538A331.8010509@markus-spring.de> Message-ID: <553F0A57.1000707@markus-spring.de> Steve et. al., this legend issue is a major showstopper and makes GetLegendGraphic quite useless if you need utf-8 characters with truetype. Is there any solution for this? Best regards - Markus Am 23.04.2015 um 09:45 schrieb mapserver: > I am migrating my mapserver application from 5.6.1 to 6.4.1 and have observed a > difference in the created legend images, i.e. truncating of class names - which > makes the legend image unusable in the end > > The legend definition on both platforms is as such: > > LEGEND > KEYSIZE 22 12 > LABEL > TYPE TRUETYPE > FONT arial > SIZE 8 > COLOR 0 0 0 > WRAP "@" > END > STATUS ON > END # legend > > Mapfile: Umlauts in html-encoding like > CLASS NAME "Öffentlicher Träger" > > I have to use a truetype font, otherwise I can't render the German umlauts. > > mapserver 5.6.1 gives this result: > > http://maps.muenchen.de/wms-2/rgu/behindertenheime?version=1.1.1&service=WMS&request=GetLegendGraphic&layer=l0&format=image/png&STYLE=default > > and mapserver 6.4.1 gives this one: > > http://kronos.muenchen.de/wms/rgu/behindertenheime?version=1.1.1&service=WMS&request=GetLegendGraphic&layer=l0&format=image/png&STYLE=default > > Have I missed something in the migration guide? Or are there parameter available > to increase the legend size? > > Best regards - Markus > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > From thomas.bonfort at gmail.com Mon Apr 27 23:11:42 2015 From: thomas.bonfort at gmail.com (thomas bonfort) Date: Tue, 28 Apr 2015 08:11:42 +0200 Subject: [mapserver-users] Legend difference in 5.6.1 and 6.4.1 In-Reply-To: <553F0A57.1000707@markus-spring.de> References: <5538A331.8010509@markus-spring.de> <553F0A57.1000707@markus-spring.de> Message-ID: Are you using the GD or AGG renderer? Do all truetype fonts exhibit this behavior? Can you test the 7.0 beta on this? Can you provide a self contained test-case to reproduce this? Lots of questions :) -- thomas On 28 April 2015 at 06:19, mapserver wrote: > Steve et. al., > this legend issue is a major showstopper and makes GetLegendGraphic quite > useless if you need utf-8 characters with truetype. > > Is there any solution for this? > > Best regards - Markus > > Am 23.04.2015 um 09:45 schrieb mapserver: >> >> I am migrating my mapserver application from 5.6.1 to 6.4.1 and have >> observed a >> difference in the created legend images, i.e. truncating of class names - >> which >> makes the legend image unusable in the end >> >> The legend definition on both platforms is as such: >> >> LEGEND >> KEYSIZE 22 12 >> LABEL >> TYPE TRUETYPE >> FONT arial >> SIZE 8 >> COLOR 0 0 0 >> WRAP "@" >> END >> STATUS ON >> END # legend >> >> Mapfile: Umlauts in html-encoding like >> CLASS NAME "Öffentlicher Träger" >> >> I have to use a truetype font, otherwise I can't render the German >> umlauts. >> >> mapserver 5.6.1 gives this result: >> >> >> http://maps.muenchen.de/wms-2/rgu/behindertenheime?version=1.1.1&service=WMS&request=GetLegendGraphic&layer=l0&format=image/png&STYLE=default >> >> and mapserver 6.4.1 gives this one: >> >> >> http://kronos.muenchen.de/wms/rgu/behindertenheime?version=1.1.1&service=WMS&request=GetLegendGraphic&layer=l0&format=image/png&STYLE=default >> >> Have I missed something in the migration guide? Or are there parameter >> available >> to increase the legend size? >> >> Best regards - Markus >> _______________________________________________ >> 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 tom_price at yahoo.com Tue Apr 28 14:02:54 2015 From: tom_price at yahoo.com (Tom Price) Date: Tue, 28 Apr 2015 21:02:54 +0000 (UTC) Subject: [mapserver-users] How to put a label on a legend? Message-ID: <1349922014.7698775.1430254974821.JavaMail.yahoo@mail.yahoo.com> Using C# Mapscript to produce a thematic map. Map including the legend renders fine but I can't seem to put a label on the legend. Shouldn't this work? _map.legend.label.setText("foo"); Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard.greenwood at gmail.com Tue Apr 28 18:36:14 2015 From: richard.greenwood at gmail.com (Richard Greenwood) Date: Tue, 28 Apr 2015 19:36:14 -0600 Subject: [mapserver-users] permission denied on Trac Message-ID: There is a link on this page http://mapserver.org/mapfile/outputformat.htm to this page http://trac.osgeo.org/mapserver/ticket/2436 but I get a permission denied even when I am logged into Trac. Thanks -- Richard W. Greenwood, PLS www.greenwoodmap.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From hal at mobilegeographics.com Tue Apr 28 20:47:26 2015 From: hal at mobilegeographics.com (Hal Mueller) Date: Tue, 28 Apr 2015 20:47:26 -0700 Subject: [mapserver-users] mapcache config troubles, "Tile parameter not set" Message-ID: I have MapServer set up, rendering PostGIS into tiles for a Leaflet.js project. I want to cache a couple of the layers. I think I have something misconfigured in mapcache.xml. Mapcache is passing MapServer a BBOX instead of a tile reference. Here?s the raw MapServer request, generated by Leaflet.js if I configure Leaflet to hit MapServer directly. This works fine. GET /cgi-bin/mapserv?map=/data/web/www/mapserver/sitesTest.map&layers=property_pt%20property_poly&mode=tile&tilemode=gmap&tile=131+190+9 Here?s a sample request if I configure Leaflet to hit Mapcache. This is what Leaflet asks my server for: GET /mapcache/tms/1.0.0/hpsites/4/2/4.png That request generates the following internal request, from Mapcache to Mapserver. It?s pretty close; the layers are right, but not the SERVICE, BBOX, WIDTH, and HEIGHT parameters. GET /cgi-bin/mapserv?mode=tile&VERSION=1.1.1&REQUEST=GetMap&SERVICE=WMS&STYLES=&BBOX=-20135347.738994,-7611905.024751,-7416226.232341,5107216.481902&WIDTH=1300&HEIGHT=1300&FORMAT=image/png&SRS=EPSG:3857&MAP=/data/web/www/mapserver/sites.map&LAYERS=property_pt%20property_poly Mapcache.xml: /var/www/mapcache/cache image/png /data/web/www/mapserver/sites.map property_pt%20property_poly http://a.historypointer.com/cgi-bin/mapserv?mode=tile& hpsites disk WGS84 PNG 5 5 10 10 PNG assemble bilinear PNG 4096 report /var/www/mapcache/cache Error log from Apache (note msTileSetup()?Tile parameter not set.) [Tue Apr 28 18:12:11 2015] [error] [client 162.17.176.230] wms request for tileset hpsites returned an unsupported format:\n\nMapServer Message\n\n\nmsTileSetup(): Web application error. Tile parameter not set.\n, referer: http://www.historypointer.com/resourcesTest.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From Andreas.Eichner at sid.sachsen.de Wed Apr 29 00:23:38 2015 From: Andreas.Eichner at sid.sachsen.de (Eichner, Andreas - SID) Date: Wed, 29 Apr 2015 07:23:38 +0000 Subject: [mapserver-users] mapcache config troubles, "Tile parameter not set" In-Reply-To: References: Message-ID: <6F331135492B944D90731CE93743D5681D46C9@FS-EX-DB101.fs.sachsen.de> I guess you're using an older version which doesn't check the "type" attribute and defaults to WMS. The "mode=tile" parameter is part of your URL and not build by MapCache. Everything else is an ordinary WMS request for a 5x5 metatile with 10px buffer: 5*256 + 2*10 = 1300. So simly omit the mode parameter from the URL and let MapCache do it's WMS request. It will then itself respond using the requested tile service interface. HTH Von: mapserver-users-bounces at lists.osgeo.org [mapserver-users-bounces at lists.osgeo.org]" im Auftrag von "Hal Mueller [hal at mobilegeographics.com] Gesendet: Mittwoch, 29. April 2015 05:47 An: mapserver-users at lists.osgeo.org Betreff: [mapserver-users] mapcache config troubles, "Tile parameter not set" That request generates the following internal request, from Mapcache to Mapserver. It?s pretty close; the layers are right, but not the SERVICE, BBOX, WIDTH, and HEIGHT parameters. GET /cgi-bin/mapserv?mode=tile&VERSION=1.1.1&REQUEST=GetMap&SERVICE=WMS&STYLES=&BBOX=-20135347.738994,-7611905.024751,-7416226.232341,5107216.481902&WIDTH=1300&HEIGHT=1300&FORMAT=image/png&SRS=EPSG:3857&MAP=/data/web/www/mapserver/sites.map&LAYERS=property_pt%20property_poly Mapcache.xml: image/png /data/web/www/mapserver/sites.map property_pt%20property_poly http://a.historypointer.com/cgi-bin/mapserv?mode=tile& From hal at mobilegeographics.com Wed Apr 29 02:18:30 2015 From: hal at mobilegeographics.com (Hal Mueller) Date: Wed, 29 Apr 2015 02:18:30 -0700 Subject: [mapserver-users] mapcache config troubles, "Tile parameter not set" In-Reply-To: <6F331135492B944D90731CE93743D5681D46C9@FS-EX-DB101.fs.sachsen.de> References: <6F331135492B944D90731CE93743D5681D46C9@FS-EX-DB101.fs.sachsen.de> Message-ID: I don?t understand how to do that. It looks to me like I?m (erroneously) requesting a BBOX bounded tile instead of a gridded one. Does that jive with your read of my mistakes? H > On Apr 29, 2015, at 12:23 AM, Eichner, Andreas - SID wrote: > > I guess you're using an older version which doesn't check the "type" attribute and defaults to WMS. The "mode=tile" parameter is part of your URL and not build by MapCache. Everything else is an ordinary WMS request for a 5x5 metatile with 10px buffer: 5*256 + 2*10 = 1300. > So simly omit the mode parameter from the URL and let MapCache do it's WMS request. It will then itself respond using the requested tile service interface. > > HTH > > > Von: mapserver-users-bounces at lists.osgeo.org [mapserver-users-bounces at lists.osgeo.org]" im Auftrag von "Hal Mueller [hal at mobilegeographics.com] > > Gesendet: Mittwoch, 29. April 2015 05:47 > An: mapserver-users at lists.osgeo.org > Betreff: [mapserver-users] mapcache config troubles, "Tile parameter not set" > > That request generates the following internal request, from Mapcache to Mapserver. It?s pretty close; the layers are right, but not the SERVICE, BBOX, WIDTH, > and HEIGHT parameters. > > > GET /cgi-bin/mapserv?mode=tile&VERSION=1.1.1&REQUEST=GetMap&SERVICE=WMS&STYLES=&BBOX=-20135347.738994,-7611905.024751,-7416226.232341,5107216.481902&WIDTH=1300&HEIGHT=1300&FORMAT=image/png&SRS=EPSG:3857&MAP=/data/web/www/mapserver/sites.map&LAYERS=property_pt%20property_poly > > > Mapcache.xml: > > > > image/png > /data/web/www/mapserver/sites.map > property_pt%20property_poly > > > > > > > > > > http://a.historypointer.com/cgi-bin/mapserv?mode=tile& > > > From thomas.bonfort at gmail.com Wed Apr 29 02:21:12 2015 From: thomas.bonfort at gmail.com (thomas bonfort) Date: Wed, 29 Apr 2015 11:21:12 +0200 Subject: [mapserver-users] mapcache config troubles, "Tile parameter not set" In-Reply-To: References: <6F331135492B944D90731CE93743D5681D46C9@FS-EX-DB101.fs.sachsen.de> Message-ID: mapcache gets it's tile data from a WMS service, not a tiled one. Just remove the "mode=tile" part from your source->url, and make sure your mapfile is configured to allow wms getmap requests (namely, ows_srs and ows_enable_request metadatas are correctly set). -- thomas On 29 April 2015 at 11:18, Hal Mueller wrote: > I don?t understand how to do that. > > It looks to me like I?m (erroneously) requesting a BBOX bounded tile instead of a gridded one. Does that jive with your read of my mistakes? > > H > >> On Apr 29, 2015, at 12:23 AM, Eichner, Andreas - SID wrote: >> >> I guess you're using an older version which doesn't check the "type" attribute and defaults to WMS. The "mode=tile" parameter is part of your URL and not build by MapCache. Everything else is an ordinary WMS request for a 5x5 metatile with 10px buffer: 5*256 + 2*10 = 1300. >> So simly omit the mode parameter from the URL and let MapCache do it's WMS request. It will then itself respond using the requested tile service interface. >> >> HTH >> >> >> Von: mapserver-users-bounces at lists.osgeo.org [mapserver-users-bounces at lists.osgeo.org]" im Auftrag von "Hal Mueller [hal at mobilegeographics.com] >> >> Gesendet: Mittwoch, 29. April 2015 05:47 >> An: mapserver-users at lists.osgeo.org >> Betreff: [mapserver-users] mapcache config troubles, "Tile parameter not set" >> >> That request generates the following internal request, from Mapcache to Mapserver. It?s pretty close; the layers are right, but not the SERVICE, BBOX, WIDTH, >> and HEIGHT parameters. >> >> >> GET /cgi-bin/mapserv?mode=tile&VERSION=1.1.1&REQUEST=GetMap&SERVICE=WMS&STYLES=&BBOX=-20135347.738994,-7611905.024751,-7416226.232341,5107216.481902&WIDTH=1300&HEIGHT=1300&FORMAT=image/png&SRS=EPSG:3857&MAP=/data/web/www/mapserver/sites.map&LAYERS=property_pt%20property_poly >> >> >> Mapcache.xml: >> >> >> >> image/png >> /data/web/www/mapserver/sites.map >> property_pt%20property_poly >> >> >> >> >> >> >> >> >> >> http://a.historypointer.com/cgi-bin/mapserv?mode=tile& >> >> >> > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From thomas.bonfort at gmail.com Wed Apr 29 02:41:13 2015 From: thomas.bonfort at gmail.com (thomas bonfort) Date: Wed, 29 Apr 2015 11:41:13 +0200 Subject: [mapserver-users] permission denied on Trac In-Reply-To: References: Message-ID: we moved to github a little while ago.... https://github.com/mapserver/mapserver/issues/2436 On 29 April 2015 at 03:36, Richard Greenwood wrote: > There is a link on this page http://mapserver.org/mapfile/outputformat.htm > to this page http://trac.osgeo.org/mapserver/ticket/2436 but I get a > permission denied even when I am logged into Trac. > > Thanks > > -- > Richard W. Greenwood, PLS > www.greenwoodmap.com > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From havard.tveite at nmbu.no Wed Apr 29 05:26:13 2015 From: havard.tveite at nmbu.no (=?windows-1252?Q?H=E5vard_Tveite?=) Date: Wed, 29 Apr 2015 14:26:13 +0200 Subject: [mapserver-users] permission denied on Trac In-Reply-To: References: Message-ID: <5540CDE5.8040007@nmbu.no> I have created an issue: https://github.com/mapserver/docs/issues/118 On 29.04.2015 11:41, thomas bonfort wrote: > we moved to github a little while ago.... > https://github.com/mapserver/mapserver/issues/2436 > > On 29 April 2015 at 03:36, Richard Greenwood > wrote: >> There is a link on this page http://mapserver.org/mapfile/outputformat.htm >> to this page http://trac.osgeo.org/mapserver/ticket/2436 but I get a >> permission denied even when I am logged into Trac. >> >> Thanks >> >> -- >> Richard W. Greenwood, PLS >> www.greenwoodmap.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 > > -- H?vard Tveite Department of Mathematical Sciences and Technology, NMBU Dr?bakveien 31, POBox 5003, N-1432 ?s, NORWAY Phone: +47 64965483 Fax: +47 64965401 http://www.nmbu.no/imt/ From richard.greenwood at gmail.com Wed Apr 29 05:44:42 2015 From: richard.greenwood at gmail.com (Richard Greenwood) Date: Wed, 29 Apr 2015 06:44:42 -0600 Subject: [mapserver-users] permission denied on Trac In-Reply-To: <5540CDE5.8040007@nmbu.no> References: <5540CDE5.8040007@nmbu.no> Message-ID: Thanks. On https://github.com/mapserver/mapserver/issues/2436 there are also three links back to Trac that fail. Rich On Wed, Apr 29, 2015 at 6:26 AM, H?vard Tveite wrote: > I have created an issue: > https://github.com/mapserver/docs/issues/118 > > > On 29.04.2015 11:41, thomas bonfort wrote: > >> we moved to github a little while ago.... >> https://github.com/mapserver/mapserver/issues/2436 >> >> On 29 April 2015 at 03:36, Richard Greenwood >> wrote: >> >>> There is a link on this page >>> http://mapserver.org/mapfile/outputformat.htm >>> to this page http://trac.osgeo.org/mapserver/ticket/2436 but I get a >>> permission denied even when I am logged into Trac. >>> >>> Thanks >>> >>> -- >>> Richard W. Greenwood, PLS >>> www.greenwoodmap.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 >> >> >> > -- > H?vard Tveite > Department of Mathematical Sciences and Technology, NMBU > Dr?bakveien 31, POBox 5003, N-1432 ?s, NORWAY > Phone: +47 64965483 Fax: +47 64965401 http://www.nmbu.no/imt/ > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > -- Richard W. Greenwood, PLS www.greenwoodmap.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Steve.Lime at state.mn.us Wed Apr 29 06:25:20 2015 From: Steve.Lime at state.mn.us (Lime, Steve D (MNIT)) Date: Wed, 29 Apr 2015 13:25:20 +0000 Subject: [mapserver-users] How to put a label on a legend? In-Reply-To: <1349922014.7698775.1430254974821.JavaMail.yahoo@mail.yahoo.com> References: <1349922014.7698775.1430254974821.JavaMail.yahoo@mail.yahoo.com> Message-ID: A label above the legend itself or something else? The former isn't supported that I'm aware of. You might be able to work around the limitation by using a dummy layer to affect the first row in the legend. --Steve ________________________________________ From: mapserver-users-bounces at lists.osgeo.org [mapserver-users-bounces at lists.osgeo.org] on behalf of Tom Price [tom_price at yahoo.com] Sent: Tuesday, April 28, 2015 4:02 PM To: Mapserver-Users Subject: [mapserver-users] How to put a label on a legend? Using C# Mapscript to produce a thematic map. Map including the legend renders fine but I can't seem to put a label on the legend. Shouldn't this work? _map.legend.label.setText("foo"); Thanks in advance. From mccann at mbari.org Wed Apr 29 08:06:58 2015 From: mccann at mbari.org (Mike McCann) Date: Wed, 29 Apr 2015 08:06:58 -0700 Subject: [mapserver-users] PostGIS Connection Failure Message-ID: > On Wed, 6/25/14, Krishna Priya Patury wrote: > > > Subject: Re: [mapserver-users] PostGIS Connection Failure > > To: humberto at pastoraldacrianca.org.br > > Cc: "mapserver-users at lists.osgeo.org" > > Date: Wednesday, June 25, 2014, 10:13 AM > > > > Thanks for responding. Would you please tell > > me how to check that? When I go to Network Proxy on the VM, > > "Direct Connection to internet" is selected. > > > > > > Both Mapserver and Postgres on the > > same VM. Do you think something might still be blocking the > > port? I am able to open a psql connection just fine using > > the same port. What is even more confusing is a Mapserver > > application outside the VM is able to connect to the > > Database on the VM just fine. > > This is really weird. Are you sure the application outside of your VM that works has the same connection string as the one that doesn't works ? Both applications (the one that works and the one that doesn?t) are using the same version of Mapserver ? Both applications (the one that works and the one that doesn?t) are hosted in the same machine/VM ? > > > Mtro. Carlos Ruiz I encountered the same exact problem on 64-bit CentOS 6.5: mapserv is able to connect to the database except when executed by apache httpd. I saw a note that SELinux may be the cause, so I tried: echo 0 > /selinux/enforce and it fixed the problem. What are the implications of applying this fix? Does it impact system security in unfavorable ways? -Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From mapserver at markus-spring.de Wed Apr 29 13:34:42 2015 From: mapserver at markus-spring.de (mapserver) Date: Wed, 29 Apr 2015 22:34:42 +0200 Subject: [mapserver-users] Legend difference in 5.6.1 and 6.4.1 In-Reply-To: References: <5538A331.8010509@markus-spring.de> <553F0A57.1000707@markus-spring.de> Message-ID: <55414062.6040801@markus-spring.de> Am 28.04.2015 um 08:11 schrieb thomas bonfort: > Are you using the GD or AGG renderer? Do all truetype fonts exhibit > this behavior? Can you test the 7.0 beta on this? Can you provide a > self contained test-case to reproduce this? > Lots of questions :) > OK, to compare 5.6.7, 6.4.1 and 7.0.0beta, I compiled all three versions under centos 6.5 and created a simple mapfile: http://s.markus-spring.info/legend-agg.map Using the AGG renderer only because of its much better rendering, and got these results through the legend command: mapserver 5.6.7 (http://s.markus-spring.info/legend-agg-5.6.7.png) legend-agg-5.6.7.png mapserver 6.4.1 (http://s.markus-spring.info/legend-agg-6.4.1.png) legend-agg-6.4.1.png mapserver 7.0.0beta (http://s.markus-spring.info/legend-agg-7.0.0beta1.png) legend-agg-7.0.0beta1.png There are clear differences in the rendered font sizes, but 5.6.7 and 7.0.0beta1 do not truncate the text, only 6.4.1 does. For me the question is if (or when) 7.0.0 is production quality already, and not only the mapserver itself but also mapcache, as the internet map services of the City of Munich are going to use that for the background maps. Best regards Markus -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: legend-agg-5.6.7.png Type: image/png Size: 5782 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: legend-agg-6.4.1.png Type: image/png Size: 3597 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: legend-agg-7.0.0beta1.png Type: image/png Size: 9239 bytes Desc: not available URL: From cdhernandez at tenerife.es Wed Apr 29 23:49:34 2015 From: cdhernandez at tenerife.es (=?iso-8859-1?Q?Carmen_Delia_Hern=E1ndez_P=E9rez?=) Date: Thu, 30 Apr 2015 06:49:34 +0000 Subject: [mapserver-users] PostGIS Connection Failure In-Reply-To: References: Message-ID: Hello, You not have why disable SELINUX. you must allow Apache connects with Postgis. You can execute this command sudo setsebool -P httpd_can_network_connect_db 1 Carmen D. ________________________________ De: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] En nombre de Mike McCann Enviado el: mi?rcoles, 29 de abril de 2015 16:07 Para: mapserver-users at lists.osgeo.org Asunto: Re: [mapserver-users] PostGIS Connection Failure On Wed, 6/25/14, Krishna Priya Patury > wrote: > Subject: Re: [mapserver-users] PostGIS Connection Failure > To: humberto at pastoraldacrianca.org.br > Cc: "mapserver-users at lists.osgeo.org" > > Date: Wednesday, June 25, 2014, 10:13 AM > > Thanks for responding. Would you please tell > me how to check that? When I go to Network Proxy on the VM, > "Direct Connection to internet" is selected. > > > Both Mapserver and Postgres on the > same VM. Do you think something might still be blocking the > port? I am able to open a psql connection just fine using > the same port. What is even more confusing is a Mapserver > application outside the VM is able to connect to the > Database on the VM just fine. This is really weird. Are you sure the application outside of your VM that works has the same connection string as the one that doesn't works ? Both applications (the one that works and the one that doesn?t) are using the same version of Mapserver ? Both applications (the one that works and the one that doesn?t) are hosted in the same machine/VM ? Mtro. Carlos Ruiz I encountered the same exact problem on 64-bit CentOS 6.5: mapserv is able to connect to the database except when executed by apache httpd. I saw a note that SELinux may be the cause, so I tried: echo 0 > /selinux/enforce and it fixed the problem. What are the implications of applying this fix? Does it impact system security in unfavorable ways? -Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From havard.tveite at nmbu.no Thu Apr 30 04:21:48 2015 From: havard.tveite at nmbu.no (=?UTF-8?B?SMOldmFyZCBUdmVpdGU=?=) Date: Thu, 30 Apr 2015 13:21:48 +0200 Subject: [mapserver-users] permission denied on Trac In-Reply-To: References: <5540CDE5.8040007@nmbu.no> Message-ID: <5542104C.8050006@nmbu.no> I can't fix that, but issue 118 has now been fixed on github. The correction has not yet made it to mapserver.org. H?vard On 29.04.2015 14:44, Richard Greenwood wrote: > Thanks. > > On https://github.com/mapserver/mapserver/issues/2436 there are also three links back to Trac that fail. > > Rich > > > On Wed, Apr 29, 2015 at 6:26 AM, H?vard Tveite > wrote: > > I have created an issue: > https://github.com/mapserver/docs/issues/118 > > > On 29.04.2015 11:41, thomas bonfort wrote: > > we moved to github a little while ago.... > https://github.com/mapserver/mapserver/issues/2436 > > On 29 April 2015 at 03:36, Richard Greenwood > > wrote: > > There is a link on this page http://mapserver.org/mapfile/outputformat.htm > to this page http://trac.osgeo.org/mapserver/ticket/2436 but I get a > permission denied even when I am logged into Trac. > > Thanks > > -- > Richard W. Greenwood, PLS > www.greenwoodmap.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 > > > > -- > H?vard Tveite > Department of Mathematical Sciences and Technology, NMBU > Dr?bakveien 31, POBox 5003, N-1432 ?s, NORWAY > Phone: +47 64965483 Fax: +47 64965401 http://www.nmbu.no/imt/ > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > > > > -- > Richard W. Greenwood, PLS > www.greenwoodmap.com -- H?vard Tveite Department of Mathematical Sciences and Technology, NMBU Dr?bakveien 31, POBox 5003, N-1432 ?s, NORWAY Phone: +47 64965483 Fax: +47 64965401 http://www.nmbu.no/imt/ From thomas.bonfort at gmail.com Thu Apr 30 04:29:30 2015 From: thomas.bonfort at gmail.com (thomas bonfort) Date: Thu, 30 Apr 2015 13:29:30 +0200 Subject: [mapserver-users] Legend difference in 5.6.1 and 6.4.1 In-Reply-To: <55414062.6040801@markus-spring.de> References: <5538A331.8010509@markus-spring.de> <553F0A57.1000707@markus-spring.de> <55414062.6040801@markus-spring.de> Message-ID: Could you check if the issue in 6.4 is related to the RESOLUTION parameter in your mapfile (i.e. remove it and re-run)? Mapserver 7.0 should be production ready unless you're using its remaining blocking issue (TIME filters with MSSQL backends). -- thomas On 29 April 2015 at 22:34, mapserver wrote: > Am 28.04.2015 um 08:11 schrieb thomas bonfort: > > Are you using the GD or AGG renderer? Do all truetype fonts exhibit > this behavior? Can you test the 7.0 beta on this? Can you provide a > self contained test-case to reproduce this? > Lots of questions :) > > > OK, to compare 5.6.7, 6.4.1 and 7.0.0beta, I compiled all three versions > under centos 6.5 and > created a simple mapfile: > > http://s.markus-spring.info/legend-agg.map > > Using the AGG renderer only because of its much better rendering, and got > these results through the legend command: > > mapserver 5.6.7 (http://s.markus-spring.info/legend-agg-5.6.7.png) > [image: legend-agg-5.6.7.png] > > mapserver 6.4.1 (http://s.markus-spring.info/legend-agg-6.4.1.png) > [image: legend-agg-6.4.1.png] > > mapserver 7.0.0beta (http://s.markus-spring.info/legend-agg-7.0.0beta1.png > ) > [image: legend-agg-7.0.0beta1.png] > > There are clear differences in the rendered font sizes, but 5.6.7 and > 7.0.0beta1 do not truncate the text, only 6.4.1 does. > > For me the question is if (or when) 7.0.0 is production quality already, > and not only the mapserver itself but also mapcache, as the internet map > services of the City of Munich are going to use that for the background > maps. > > Best regards > > Markus > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: legend-agg-5.6.7.png Type: image/png Size: 5782 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: legend-agg-7.0.0beta1.png Type: image/png Size: 9239 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: legend-agg-6.4.1.png Type: image/png Size: 3597 bytes Desc: not available URL: From tech_dev at wildintellect.com Thu Apr 30 09:16:55 2015 From: tech_dev at wildintellect.com (Alex Mandel) Date: Thu, 30 Apr 2015 09:16:55 -0700 Subject: [mapserver-users] permission denied on Trac In-Reply-To: <5542104C.8050006@nmbu.no> References: <5540CDE5.8040007@nmbu.no> <5542104C.8050006@nmbu.no> Message-ID: <55425577.6050304@wildintellect.com> There was a recent upgrade to the Trac server, might have broke something. We'll look into it for archival purposes. Thanks, Alex On 04/30/2015 04:21 AM, H?vard Tveite wrote: > I can't fix that, but issue 118 has now been fixed on github. > The correction has not yet made it to mapserver.org. > > H?vard > > On 29.04.2015 14:44, Richard Greenwood wrote: >> Thanks. >> >> On https://github.com/mapserver/mapserver/issues/2436 there are also >> three links back to Trac that fail. >> >> Rich >> >> >> On Wed, Apr 29, 2015 at 6:26 AM, H?vard Tveite > > wrote: >> >> I have created an issue: >> https://github.com/mapserver/docs/issues/118 >> >> >> On 29.04.2015 11:41, thomas bonfort wrote: >> >> we moved to github a little while ago.... >> https://github.com/mapserver/mapserver/issues/2436 >> >> On 29 April 2015 at 03:36, Richard Greenwood >> > > wrote: >> >> There is a link on this page >> http://mapserver.org/mapfile/outputformat.htm >> to this page http://trac.osgeo.org/mapserver/ticket/2436 >> but I get a >> permission denied even when I am logged into Trac. >> >> Thanks >> >> -- >> Richard W. Greenwood, PLS >> www.greenwoodmap.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 >> >> >> >> -- >> H?vard Tveite >> Department of Mathematical Sciences and Technology, NMBU >> Dr?bakveien 31, POBox 5003, N-1432 ?s, NORWAY >> Phone: +47 64965483 Fax: +47 64965401 >> http://www.nmbu.no/imt/ >> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> >> >> >> -- >> Richard W. Greenwood, PLS >> www.greenwoodmap.com >