From aperi2007 at gmail.com Thu May 2 12:19:06 2013 From: aperi2007 at gmail.com (Andrea Peri) Date: Thu, 2 May 2013 21:19:06 +0200 Subject: [mapserver-users] WFS PropertyIsLike is case-insensitive ? Message-ID: Hi, In internal mapserver wfs (not tinyows) the PropertyIsLike filter is settable to be case-insensitive ? Thx, -- ----------------- Andrea Peri . . . . . . . . . qwerty ????? ----------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From Tom.Kralidis at ec.gc.ca Thu May 2 12:22:22 2013 From: Tom.Kralidis at ec.gc.ca (Kralidis,Tom [Ontario]) Date: Thu, 2 May 2013 15:22:22 -0400 Subject: [mapserver-users] WFS PropertyIsLike is case-insensitive ? References: Message-ID: Andrea: you can try setting the matchCase (true|false) attribute against the PropertyIsLike comparison filter. ..Tom -----Original Message----- From: mapserver-users-bounces at lists.osgeo.org on behalf of Andrea Peri Sent: Thu 02-May-13 15:19 To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] WFS PropertyIsLike is case-insensitive ? Hi, In internal mapserver wfs (not tinyows) the PropertyIsLike filter is settable to be case-insensitive ? Thx, -- ----------------- Andrea Peri . . . . . . . . . qwerty ????? ----------------- From lucadeluge at gmail.com Fri May 3 05:49:30 2013 From: lucadeluge at gmail.com (Luca Delucchi) Date: Fri, 3 May 2013 14:49:30 +0200 Subject: [mapserver-users] [TinyOWS] Unable to open config file Message-ID: Hi everybody, I'm just starting to play with TinyOWS for WFS-T. I installed TinyOWS on a ubuntu server and I'm using mapfile to configure TinyOWS. If I run "./tinyows --check" from command line it work well TinyOWS version: 1.0.0 administrator at webcrev3:/usr/lib/cgi-bin$ TinyOWS version: 1.0.0 PostGIS Version: 2.0.1 PostGIS dsn: dbname='gis_os' host=10.100.113.5 port=5432 user='sde' password='sde' sslmode=disable Output Encoding: UTF-8 Database Encoding: UTF8 Schema dir: /usr/share/tinyows/schema Display bbox: Yes Estimated extent: No Check schema: Yes Check valid geoms: Yes Available layers: - public.sitiwgs84 (4326) -> .sitiwgs84 [RW] but when I try from web browser it doesn't work and return "Unable to open config file" Do you have any advice to help me? Thanks -- ciao Luca http://gis.cri.fmach.it/delucchi/ www.lucadelu.org From jmckenna at gatewaygeomatics.com Fri May 3 07:12:21 2013 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Fri, 03 May 2013 11:12:21 -0300 Subject: [mapserver-users] New Google+ community Message-ID: <5183C5C5.4020804@gatewaygeomatics.com> Hi all, I noticed that GeoServer now has a Google+ community, and so hey, I created a MapServer one: https://plus.google.com/u/0/communities/103841604654304099367 Join and share! By the way, in doing my latest MapServer Status Report presentation (linked in that community) I did a count of mailing list use for MapServer (see slides). One of the big takeaways I got from FOSS4G-Buenos Aires is that the way Open Source communities/users/developers are interacting is changing (new avenues of communication). So, to make sure we catch some of these new ways, I created this new community. But let's make sure to keep on top of these, it will take a group effort. If you would like to help with moderating ping me directly. Thanks everyone! -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ From aperi2007 at gmail.com Fri May 3 09:06:53 2013 From: aperi2007 at gmail.com (Andrea Peri) Date: Fri, 3 May 2013 18:06:53 +0200 Subject: [mapserver-users] Mapserver and gdal 1.10 Message-ID: Hi, I see was relased gdal 1.10. Is it compatible with mapserver 6.2 and spatialite ? thx -- ----------------- Andrea Peri . . . . . . . . . qwerty ????? ----------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From aboudreault at mapgears.com Fri May 3 09:12:39 2013 From: aboudreault at mapgears.com (Alan Boudreault) Date: Fri, 03 May 2013 12:12:39 -0400 Subject: [mapserver-users] Mapserver and gdal 1.10 In-Reply-To: References: Message-ID: <5183E1F7.8050500@mapgears.com> Andrea, I'm using the GDAL development version since a while. So, everything should be compatible with MS 6.2 and GDAL 1.10. Alan On 13-05-03 12:06 PM, Andrea Peri wrote: > Hi, > > I see was relased gdal 1.10. > Is it compatible with mapserver 6.2 and spatialite ? > > thx > > > -- > ----------------- > Andrea Peri > . . . . . . . . . > qwerty ????? > ----------------- > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > -- Alan Boudreault http://www.mapgears.com/ From Weisbend at WAPA.GOV Fri May 3 13:55:33 2013 From: Weisbend at WAPA.GOV (Weisbender, Eric) Date: Fri, 3 May 2013 20:55:33 +0000 Subject: [mapserver-users] MapServer ArcSDE on Unix 64bit Message-ID: <9FE7B20682D2EE4CB9F40163E1EB4F0896C3C4@afovsml1m.WAPA.INT> Hello, We have MapServer installed on a 64bit Unix box and are trying to recompile with ArcSDE support. As far as I know ArcSDE only supports 32bit. Has anyone had success compiling MapServer with ArcSDE in a 64bit environment? If so, is it the same as documented on mapserver.org or are there special instructions or even examples somewhere. Thanks in advance. Eric -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.bonfort at gmail.com Fri May 3 13:59:35 2013 From: thomas.bonfort at gmail.com (thomas bonfort) Date: Fri, 3 May 2013 22:59:35 +0200 Subject: [mapserver-users] MapServer ArcSDE on Unix 64bit In-Reply-To: <9FE7B20682D2EE4CB9F40163E1EB4F0896C3C4@afovsml1m.WAPA.INT> References: <9FE7B20682D2EE4CB9F40163E1EB4F0896C3C4@afovsml1m.WAPA.INT> Message-ID: Eric, https://github.com/mapserver/mapserver/issues/4521 might be relevant. regards, thomas On 3 May 2013 22:55, Weisbender, Eric wrote: > Hello,**** > > ** ** > > We have MapServer installed on a 64bit Unix box and are trying to > recompile with ArcSDE support. As far as I know ArcSDE only supports > 32bit. Has anyone had success compiling MapServer with ArcSDE in a 64bit > environment? If so, is it the same as documented on mapserver.org or are > there special instructions or even examples somewhere. Thanks in advance. > **** > > ** ** > > Eric**** > > _______________________________________________ > 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 aperi2007 at gmail.com Fri May 3 23:13:06 2013 From: aperi2007 at gmail.com (Andrea Peri) Date: Sat, 4 May 2013 08:13:06 +0200 Subject: [mapserver-users] Mapserver and gdal 1.10 In-Reply-To: <5183E1F7.8050500@mapgears.com> References: <5183E1F7.8050500@mapgears.com> Message-ID: Thx to everyone for informations I take this week-end to install GDAL 1.10 , Geos 3.3.8 and Spatialite 4.0 on my server. Regards. 2013/5/3 Alan Boudreault > Andrea, > > I'm using the GDAL development version since a while. So, everything > should be compatible with MS 6.2 and GDAL 1.10. > > Alan > > > On 13-05-03 12:06 PM, Andrea Peri wrote: > >> Hi, >> >> I see was relased gdal 1.10. >> Is it compatible with mapserver 6.2 and spatialite ? >> >> thx >> >> >> -- >> ----------------- >> Andrea Peri >> . . . . . . . . . >> qwerty ????? >> ----------------- >> >> >> ______________________________**_________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.**org >> http://lists.osgeo.org/**mailman/listinfo/mapserver-**users >> >> > > -- > Alan Boudreault > http://www.mapgears.com/ > ______________________________**_________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.**org > http://lists.osgeo.org/**mailman/listinfo/mapserver-**users > -- ----------------- Andrea Peri . . . . . . . . . qwerty ????? ----------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From Wernher.Rotenhanvon at suedzucker.de Mon May 6 08:11:40 2013 From: Wernher.Rotenhanvon at suedzucker.de (Rotenhan von, Wernher) Date: Mon, 6 May 2013 17:11:40 +0200 Subject: [mapserver-users] Mapserver-- Opracle --SDO_relate function very slow via Mapserver Message-ID: Hello List Im Running Mapsrever 6.0.2 on Oracle 11g Database I want to get all geometries that interact with a geometry I clicked within So I have todo two encapsulated sdo_relate calls : --The inner one to get the geometry ic clicked in --The outer one to get the geometries which touch the clicked geometries This runs very fast within my oracle developer ( 0.09 sec): SELECT identnolong, gresult.geodata GEODATA FROM rms.zrgeo gresult WHERE gresult.GEOTYPECODE = '49' AND SDO_RELATE ( gresult.geodata , (SELECT gtouching.geodata FROM rms.zrgeo gtouching WHERE gtouching.geotypecode = '49' AND gtouching.IDENTNOLONG = (SELECT MAX(gwithin.IDENTNOLONG) FROM rms.zrgeo gwithin WHERE SDO_RELATE ( gwithin.geodata , MDSYS.SDO_GEOMETRY(2001,8307,MDSYS.SDO_POINT_TYPE(10.31423,49.692,NULL),NULL,NULL) , 'mask=ANYINTERACT') = 'TRUE' AND gtouching.geotypecode ='49' ) ) , 'mask=ANYINTERACT') = 'TRUE'; But if I include it into my Map file the Query becomes very slow 17 sec If I force Oracle not to make use of ths spacial index I get nearly the same response time So is there any possibility to force the use of the spatial indexes ? "USING SRID 8307" etc does not Work !!! because the resultset is a query and I have to add "Using NONE" Would be very nice if you could hepl me ! Regard Wernher The information contained in this email is confidential. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any form of disclosure, reproduction, distribution or any action taken or refrained from in reliance on it, is prohibited and may be unlawful. Please notify the sender immediately. -------------- next part -------------- An HTML attachment was scrubbed... URL: From aperi2007 at gmail.com Mon May 6 11:40:46 2013 From: aperi2007 at gmail.com (Andrea Peri) Date: Mon, 6 May 2013 20:40:46 +0200 Subject: [mapserver-users] Different definition of fieldtype in describe Message-ID: Hi, I'm try to use the DescribefeatureType from mapserver (not tiny). I notice that is return different fildtype in layers that should be equals. As example: This url get the describe from a layer (from a view of postgres) http://www502.regione.toscana.it/wmsraster/com.rt.wms.RTmap/wms?map=wmsricerche&service=wfs&version=1.1.0&request=DescribeFeatureType&typename=lista_comuni.rt.poly As can see the "nprov" field is defined of type "Character" and the "min_x" is a "Real" type. Instead with this url I get the describe from another layer (always a view of postgres). http://www502.regione.toscana.it/wmsraster/com.rt.wms.RTmap/wms?map=wmsricerche&service=wfs&version=1.1.0&request=DescribeFeatureType&typename=lista_province.rt.poly now the "nprov" is a "string" and the "min_x" is a "string". But both are view where the field "nprov" come in both layers from the same field of the same table table, and the min_x is always retrieve using: ST_XMin(a.geometry) as min_x The only structural difference is that the first layer come from a join of three tables and the second layer come from a join of two tables. I don't see any other significant difference to explain this difference. Perhaps this is a bug, but I'm not really sure of it. -- ----------------- Andrea Peri . . . . . . . . . qwerty ????? ----------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From boesiii at yahoo.com Mon May 6 12:55:25 2013 From: boesiii at yahoo.com (boesiii) Date: Mon, 6 May 2013 12:55:25 -0700 (PDT) Subject: [mapserver-users] Question about Mapserver, WMS and Mapcache Message-ID: <1367870125070-5051711.post@n6.nabble.com> I am developing a mapping application using Openlayers, Mapserver and Mapcache and I am trying to understand all the terminology. Mapserver without any WMS parameters in the MAP file will return an image based on the url request. Mapserver becomes a WMS server when you add the necessary WMS parameters in the MAP file and will return an image similar to a plain Mapserver setup. When Mapcache is added to the mix, it can generate image tiles and serve those tiles to users as needed. What is the quickest way to serve image tiles using Mapserver? The image tiles will act as a custom background which displays buildings, roads, road names, parcel boundaries, and contours. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Question-about-Mapserver-WMS-and-Mapcache-tp5051711.html Sent from the Mapserver - User mailing list archive at Nabble.com. From smercier at mapgears.com Mon May 6 13:16:48 2013 From: smercier at mapgears.com (Simon Mercier) Date: Mon, 06 May 2013 16:16:48 -0400 Subject: [mapserver-users] Mapserver-- Opracle --SDO_relate function very slow via Mapserver In-Reply-To: References: Message-ID: <51880FB0.4090608@mapgears.com> Hi Rotenhan You should try to add DEBUG 5 in your layer to log the SQL build by Mapserver and try to see what going wrong with spatial index (explain plan in psql). Simon Le 13-05-06 11:11 AM, Rotenhan von, Wernher a ?crit : > > Hello List > > Im Running Mapsrever 6.0.2 on Oracle 11g Database > > I want to get all geometries that interact with a geometry I clicked > within > > So I have todo two encapsulated sdo_relate calls : > > --The inner one to get the geometry ic clicked in > > --The outer one to get the geometries which touch the clicked geometries > > This runs very fast within my oracle developer ( 0.09 sec): > > SELECT identnolong, > > gresult.geodata GEODATA > > FROM rms.zrgeo gresult > > WHERE gresult.GEOTYPECODE = '49' > > AND SDO_RELATE ( gresult.geodata , > > (SELECT gtouching.geodata > > FROM rms.zrgeo gtouching > > WHERE gtouching.geotypecode = '49' > > AND gtouching.IDENTNOLONG = > > (SELECT MAX(gwithin.IDENTNOLONG) > > FROM rms.zrgeo gwithin > > WHERE SDO_RELATE ( > > gwithin.geodata , > > MDSYS.SDO_GEOMETRY(2001,8307,MDSYS.SDO_POINT_TYPE(10.31423,49.692,NULL),NULL,NULL) > > > , 'mask=ANYINTERACT') = 'TRUE' > > AND gtouching.geotypecode ='49' > > ) > > ) > > , 'mask=ANYINTERACT') = 'TRUE'; > > But if I include it into my Map file > > the Query becomes very slow 17 sec > > If I force Oracle not to make use of ths spacial index I get nearly > the same response time > > So is there any possibility to force the use of the spatial indexes ? > > "USING SRID 8307" etc does not Work !!! because the resultset is a > query and I have to add > > "Using NONE" > > Would be very nice if you could hepl me ! > > Regard Wernher > > The information contained in this email is confidential. It is > intended solely for the addressee. Access to this email by anyone else > is unauthorized. If you are not the intended recipient, any form of > disclosure, reproduction, distribution or any action taken or > refrained from in reliance on it, is prohibited and may be unlawful. > Please notify the sender immediately. > > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users -- simon mercier co-fondateur solutions mapgears 2383 che ste-Foy bur 202 qu?bec, qc canada G1V1T1 t_418_476_7139#101 m_418_559_7139 simonmercier.net / mapgears.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Steve.Lime at state.mn.us Mon May 6 13:37:38 2013 From: Steve.Lime at state.mn.us (Lime, Steve D (MNIT)) Date: Mon, 6 May 2013 20:37:38 +0000 Subject: [mapserver-users] Question about Mapserver, WMS and Mapcache In-Reply-To: <1367870125070-5051711.post@n6.nabble.com> References: <1367870125070-5051711.post@n6.nabble.com> Message-ID: Easiest path is: 1) install mapserver and mapcache 2) configure a mapfile for WMS 3) configure mapcache to access that WMS server (e.g. MapServer) 4) configure your app to access the tile cache (e.g. MapCache) MapServer has mode=tile that can be useful for super quick testing but MapCache will produce much superior output. Steve -----Original Message----- From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of boesiii Sent: Monday, May 06, 2013 2:55 PM To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] Question about Mapserver, WMS and Mapcache I am developing a mapping application using Openlayers, Mapserver and Mapcache and I am trying to understand all the terminology. Mapserver without any WMS parameters in the MAP file will return an image based on the url request. Mapserver becomes a WMS server when you add the necessary WMS parameters in the MAP file and will return an image similar to a plain Mapserver setup. When Mapcache is added to the mix, it can generate image tiles and serve those tiles to users as needed. What is the quickest way to serve image tiles using Mapserver? The image tiles will act as a custom background which displays buildings, roads, road names, parcel boundaries, and contours. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Question-about-Mapserver-WMS-and-Mapcache-tp5051711.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 no-reply at neogeo-online.net Tue May 7 00:21:44 2013 From: no-reply at neogeo-online.net (Guillaume Sueur) Date: Tue, 07 May 2013 09:21:44 +0200 Subject: [mapserver-users] SHAPEZIP gives bad .PRJ Message-ID: <5188AB88.7020404@neogeo-online.net> Hi list, I'm currently working with MapServer Outputformat SHAPEZIP which gives great results. But, I noticed the generated .prj file doesn't match exactly with what can be found on spatialreference.org. Would someone know why and how to fix this ? Best regards Guillaume From jayzee.smith at gmail.com Tue May 7 13:08:17 2013 From: jayzee.smith at gmail.com (John Smith) Date: Tue, 7 May 2013 16:08:17 -0400 Subject: [mapserver-users] wms and labels (and google earth) Message-ID: guys, 1. i am troubleshooting a wms server (1.0.8) on mapserver (4.8) - i know but i can't upgrade either :( anyway, srs=epsg:4326 returns a map with out labels, but crs=crs:84 returns a map and labels - i can live with that. but when i overlay the map on google maps, no labels are shown with either srs or crs. 2. also, i can't add it as a network link in google earth - no data is shown. at my wit's end - any help with either? thks, jzs From luis.a.de.sousa at gmail.com Wed May 8 07:39:52 2013 From: luis.a.de.sousa at gmail.com (=?UTF-8?Q?Lu=C3=ADs_de_Sousa?=) Date: Wed, 8 May 2013 07:39:52 -0700 (PDT) Subject: [mapserver-users] MAXSIZE on Windows Message-ID: <1368023992034-5052107.post@n6.nabble.com> Dear all, I have set up MapServer for the first time on Windows using MS4W, and the installation itself went well. I then tried to set up a map file and retrieve the data with QGis. No matter what I always get an error like this: msWMSLoadGetMapParams(): WMS server error. Image size out of range, WIDTH and HEIGHT must be between 1 and 32736 pixels. I'm using map files that I use in Linux without needing to set MAXSIZE. On Windows not only it seems to be necessary, it seems also to require a large figure. Anyone knows what size should be set? Or is this error being caused by something else? Thank you, Luis -- View this message in context: http://osgeo-org.1560.x6.nabble.com/MAXSIZE-on-Windows-tp5052107.html Sent from the Mapserver - User mailing list archive at Nabble.com. From sakaroyban at yahoo.com Wed May 8 08:01:32 2013 From: sakaroyban at yahoo.com (saka royban) Date: Wed, 8 May 2013 08:01:32 -0700 (PDT) Subject: [mapserver-users] WFS in MapServer? In-Reply-To: <1367326404.28338.YahooMailNeo@web125906.mail.ne1.yahoo.com> References: <1367068601.89260.YahooMailNeo@web125902.mail.ne1.yahoo.com> <84446DEF76453C439E9E97E438E13A63A0296F@suutari.haapa.mmm.fi> <1367326404.28338.YahooMailNeo@web125906.mail.ne1.yahoo.com> Message-ID: <1368025292288-5052119.post@n6.nabble.com> I was nearly going mad. I couldn't understand why mapserver (=MS4W) does not understands MAXFEATURES parameter correctly. No matter MAXFEATURES specified by client or in map file and no matter what number specified for MAXFEATURES , mapserver always returns less features than MAXFEATURES (in response to GetFeature request). If i use MAXFEATURES without any filter, mapserver acts correctly and returned features exactly equals MAXFEATURES. But when i specify a filter, the problem shows up. If i don't use MAXFEATURES parameter, mapserver returns all records which satisfy the filter. If i use a MAXFEATURES in client request (wheter it's a direct GET request or a request made by OpenLayers), or if i use MAXFEATURES in Layer level, or if i use wfs_MAXFEATURES in Web object (in Map level or Layer level), the returned result by mapserver always is less than the number specified for MAXFEATURES (I'm sure that more features satisfy the filter). There is no error in debug file. I've also changed the data source (to another shapefile) but again no help. Then, i decided to test prevoius versions of MSW. I transfered my app from MS4W 3.0.6 (mapserver 6.0.2) to MS4W 3.0.1 (mapserver 5.6.6) and IT WORKED. It takes me a long time to understand that the problem goes back to windows version of mapserver, not my configurations. It sounds a bug for MS4W. I'm a novince and unaware of procedures for bug submitting. So, someone professional inform those guys (maybe Jeff Mckenna) at mapTools about it instead, please. Best Regards -- View this message in context: http://osgeo-org.1560.x6.nabble.com/WFS-in-MapServer-tp5050005p5052119.html Sent from the Mapserver - User mailing list archive at Nabble.com. From David.Fawcett at state.mn.us Wed May 8 07:54:50 2013 From: David.Fawcett at state.mn.us (Fawcett, David (MNIT)) Date: Wed, 8 May 2013 14:54:50 +0000 Subject: [mapserver-users] MAXSIZE on Windows In-Reply-To: <1368023992034-5052107.post@n6.nabble.com> References: <1368023992034-5052107.post@n6.nabble.com> Message-ID: Louis, I am guessing that QGIS is requesting an image that is too large. You might try enabling debugging to see the WMS request that QGIS is sending. I think that with a high debug level it should log the request. http://mapserver.org/optimization/debugging.html David. -----Original Message----- From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Lu?s de Sousa Sent: Wednesday, May 08, 2013 9:40 AM To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] MAXSIZE on Windows Dear all, I have set up MapServer for the first time on Windows using MS4W, and the installation itself went well. I then tried to set up a map file and retrieve the data with QGis. No matter what I always get an error like this: msWMSLoadGetMapParams(): WMS server error. Image size out of range, WIDTH and HEIGHT must be between 1 and 32736 pixels. I'm using map files that I use in Linux without needing to set MAXSIZE. On Windows not only it seems to be necessary, it seems also to require a large figure. Anyone knows what size should be set? Or is this error being caused by something else? Thank you, Luis -- View this message in context: http://osgeo-org.1560.x6.nabble.com/MAXSIZE-on-Windows-tp5052107.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 hishanm at gmail.com Wed May 8 08:10:17 2013 From: hishanm at gmail.com (Hishan Melanga) Date: Wed, 8 May 2013 20:40:17 +0530 Subject: [mapserver-users] Connecting custom MAPSERVER using OSM droid help. Message-ID: Hello, I'm trying to connect my android application to a mapserver installed in a Window OS. I know how to connect to Mapnik and render tiles from there and update my location using OSMDROID. Please help me to accomplish this task. It is really helpful if anybody can give me a sample code. Thanks in advance. -- ?????? ????? | Hishan Melanga From jmckenna at gatewaygeomatics.com Wed May 8 08:22:38 2013 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Wed, 08 May 2013 12:22:38 -0300 Subject: [mapserver-users] WFS in MapServer? In-Reply-To: <1368025292288-5052119.post@n6.nabble.com> References: <1367068601.89260.YahooMailNeo@web125902.mail.ne1.yahoo.com> <84446DEF76453C439E9E97E438E13A63A0296F@suutari.haapa.mmm.fi> <1367326404.28338.YahooMailNeo@web125906.mail.ne1.yahoo.com> <1368025292288-5052119.post@n6.nabble.com> Message-ID: <518A6DBE.8000104@gatewaygeomatics.com> Hello, You can also test with the latest MapServer/MS4W beta release (see http://lists.maptools.org/pipermail/ms4w-users/2013-April/002230.html). Enjoy, -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ On 2013-05-08 12:01 PM, saka royban wrote: > I was nearly going mad. I couldn't understand why mapserver (=MS4W) does not > understands MAXFEATURES parameter correctly. > No matter MAXFEATURES specified by client or in map file and no matter what > number specified for MAXFEATURES , mapserver always returns less features > than MAXFEATURES (in response to GetFeature request). > If i use MAXFEATURES without any filter, mapserver acts correctly and > returned features exactly equals MAXFEATURES. But when i specify a filter, > the problem shows up. If i don't use MAXFEATURES parameter, mapserver > returns all records which satisfy the filter. If i use a MAXFEATURES in > client request (wheter it's a direct GET request or a request made by > OpenLayers), or if i use MAXFEATURES in Layer level, or if i use > wfs_MAXFEATURES in Web object (in Map level or Layer level), the returned > result by mapserver always is less than the number specified for MAXFEATURES > (I'm sure that more features satisfy the filter). There is no error in debug > file. I've also changed the data source (to another shapefile) but again no > help. > Then, i decided to test prevoius versions of MSW. I transfered my app from > MS4W 3.0.6 (mapserver 6.0.2) to MS4W 3.0.1 (mapserver 5.6.6) and IT WORKED. > It takes me a long time to understand that the problem goes back to windows > version of mapserver, not my configurations. > It sounds a bug for MS4W. I'm a novince and unaware of procedures for bug > submitting. So, someone professional inform those guys (maybe Jeff Mckenna) > at mapTools about it instead, please. > > Best Regards > > From luismy01 at gmail.com Wed May 8 08:55:45 2013 From: luismy01 at gmail.com (Luis Mejia) Date: Wed, 8 May 2013 10:55:45 -0500 Subject: [mapserver-users] Fwd: Tools for automatically generate mapfiles In-Reply-To: References: Message-ID: Hello all, I'm newbie in this mailing list and I'm interested to know what tools automatically generate mapfiles. So far, only I know two, gvSIG and Quantum GIS. anyone knows other? anyone knows some web site? I am interested in develop a web site for automatically generate mapfiles. it's something similiar to online css's code generators Thanks in advance PD: Excuse me my poor english. -- Luis Miguel Mej?a Mart?nez Estudiante Ing. de Sistemas Universidad de Cartagena -------------- next part -------------- An HTML attachment was scrubbed... URL: From sakaroyban at yahoo.com Wed May 8 11:39:16 2013 From: sakaroyban at yahoo.com (saka royban) Date: Wed, 8 May 2013 11:39:16 -0700 (PDT) Subject: [mapserver-users] WFS in MapServer? In-Reply-To: <518A6DBE.8000104@gatewaygeomatics.com> References: <1367068601.89260.YahooMailNeo@web125902.mail.ne1.yahoo.com> <84446DEF76453C439E9E97E438E13A63A0296F@suutari.haapa.mmm.fi> <1367326404.28338.YahooMailNeo@web125906.mail.ne1.yahoo.com> <1368025292288-5052119.post@n6.nabble.com> <518A6DBE.8000104@gatewaygeomatics.com> Message-ID: <1368038356503-5052163.post@n6.nabble.com> Jeff I tested MS4W 3.1.0 beta and it works fine regarding my issue, i.e. no problem. I'm gonna continue using this version. Regards -- View this message in context: http://osgeo-org.1560.x6.nabble.com/WFS-in-MapServer-tp5050005p5052163.html Sent from the Mapserver - User mailing list archive at Nabble.com. From jukka.rahkonen at mmmtike.fi Wed May 8 12:36:33 2013 From: jukka.rahkonen at mmmtike.fi (Rahkonen Jukka) Date: Wed, 8 May 2013 19:36:33 +0000 Subject: [mapserver-users] MAXSIZE on Windows In-Reply-To: References: <1368023992034-5052107.post@n6.nabble.com>, Message-ID: <84446DEF76453C439E9E97E438E13A63A0553D@suutari.haapa.mmm.fi> Hi, First thing to do is really to check the GetMap request which is sent by QGis. Setting DEBUG on is good general suggestion, but all the WMS requests from the clients go always directly into Apache access log in \ms4w\Apache\logs\access.log and you can find them from there. Check the WIDTH and HEIGHT values from the failing request. I guess that the problem is in how QGis detects the extents of the WMS layer. I also guess that if you'll make a try with OpenJUMP you will not face the same error. -Jukka Rahkonen- ________________________________________ Fawcett, David wrote: > Louis, > I am guessing that QGIS is requesting an image that is too large. You might try enabling debugging to see the WMS request that QGIS is sending. I think that with a high debug level it should log the request. > http://mapserver.org/optimization/debugging.html > David. -----Original Message----- From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Lu?s de Sousa Sent: Wednesday, May 08, 2013 9:40 AM To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] MAXSIZE on Windows Dear all, I have set up MapServer for the first time on Windows using MS4W, and the installation itself went well. I then tried to set up a map file and retrieve the data with QGis. No matter what I always get an error like this: msWMSLoadGetMapParams(): WMS server error. Image size out of range, WIDTH and HEIGHT must be between 1 and 32736 pixels. I'm using map files that I use in Linux without needing to set MAXSIZE. On Windows not only it seems to be necessary, it seems also to require a large figure. Anyone knows what size should be set? Or is this error being caused by something else? Thank you, Luis -- View this message in context: http://osgeo-org.1560.x6.nabble.com/MAXSIZE-on-Windows-tp5052107.html Sent from the Mapserver - User mailing list archive at Nabble.com. _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From randre at gmail.com Wed May 8 15:45:43 2013 From: randre at gmail.com (=?UTF-8?B?Um9nZXIgQW5kcsOp?=) Date: Wed, 8 May 2013 15:45:43 -0700 Subject: [mapserver-users] Is there still a 2GB size limit on shapefiles? Message-ID: Pretty sure I just hit this problem in my 6.0.3 local stack. I haven't tested it in the current release, but does anyone know for sure that a shapefile with any component larger than 2GB works in 6.2? Roger -------------- next part -------------- An HTML attachment was scrubbed... URL: From aperi2007 at gmail.com Wed May 8 16:38:30 2013 From: aperi2007 at gmail.com (Andrea Peri) Date: Thu, 9 May 2013 01:38:30 +0200 Subject: [mapserver-users] Is there still a 2GB size limit on shapefiles? In-Reply-To: References: Message-ID: If it don't work you should evalute the option to use spatialite. It work well with dataset greater than 2GB . I use it with mapserver 6.3dev and gdal 1.10. 2013/5/9 Roger Andr? > Pretty sure I just hit this problem > in my 6.0.3 local stack. I haven't tested it in the current release, but > does anyone know for sure that a shapefile with any component larger than > 2GB works in 6.2? > > Roger > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > -- ----------------- Andrea Peri . . . . . . . . . qwerty ????? ----------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmorissette at mapgears.com Wed May 8 18:13:04 2013 From: dmorissette at mapgears.com (Daniel Morissette) Date: Wed, 08 May 2013 21:13:04 -0400 Subject: [mapserver-users] Fwd: Tools for automatically generate mapfiles In-Reply-To: References: Message-ID: <518AF820.3000302@mapgears.com> Hi Luis, For your information we (Mapgears) have worked internally on a web-based GUI to edit and maintain mapfiles called ScribeUI. This tool allows editing mapfiles in three different syntax: - regular/raw mapfile syntax - basemaps generate_style.py syntax (https://github.com/mapserver/basemaps) - and Scribe syntax (http://www.mapgears.com/en/blog/archive/2013-03-12-scribe) Unfortunately it is still an internal tool and needs some work before we can publish it. However, a student has submitted a Google Summer of Code (GSoC) proposal to take this internal project, polish and finish it, test and package it and make it available as an open source component to the MapServer community. The GSoC proposals are currently being evaluated, and the final decision date is May 27. If the project is selected the you can expect some news on this list about the plans in early June. The goal is to make this a collaborative project in order to help make it more sustainable in the long run, so contributors such as you would be much welcome. Best Regards Daniel On 13-05-08 11:55 AM, Luis Mejia wrote: > Hello all, > I'm newbie in this mailing list and I'm interested to know what tools > automatically generate mapfiles. So far, only I know two, gvSIG and > Quantum GIS. anyone knows other? anyone knows some web site? > > I am interested in develop a web site for automatically generate > mapfiles. it's something similiar to online css's code generators > > Thanks in advance > PD: Excuse me my poor english. > > -- > Luis Miguel Mej?a Mart?nez > Estudiante Ing. de Sistemas > Universidad de Cartagena > > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > -- Daniel Morissette http://www.mapgears.com/ Provider of Professional MapServer Support since 2000 From jukka.rahkonen at mmmtike.fi Wed May 8 21:32:16 2013 From: jukka.rahkonen at mmmtike.fi (Rahkonen Jukka) Date: Thu, 9 May 2013 04:32:16 +0000 Subject: [mapserver-users] Is there still a 2GB size limit on shapefiles? In-Reply-To: References: , Message-ID: <84446DEF76453C439E9E97E438E13A63A055FA@suutari.haapa.mmm.fi> Hi, I am not sure either if reading >2GB shapefiles works with the native shp reader on all platforms, but as the ticket says, you should be able to use OGR connection in the mapfile even with your current version. If you use OGR you can also split the shapefile into pieces and read them through the ogr tileindex system which may be faster sometimes. -Jukka Rahkonen- ________________________________ Andrea Peri wrote: > If it don't work you should evalute the option to use spatialite. > It work well with dataset greater than 2GB . > I use it with mapserver 6.3dev and gdal 1.10. 2013/5/9 Roger Andr? > Pretty sure I just hit this problem in my 6.0.3 local stack. I haven't tested it in the current release, but does anyone know for sure that a shapefile with any component larger than 2GB works in 6.2? Roger _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- ----------------- Andrea Peri . . . . . . . . . qwerty ????? ----------------- From woodbri at swoodbridge.com Wed May 8 21:49:44 2013 From: woodbri at swoodbridge.com (Stephen Woodbridge) Date: Thu, 09 May 2013 00:49:44 -0400 Subject: [mapserver-users] Is there still a 2GB size limit on shapefiles? In-Reply-To: <84446DEF76453C439E9E97E438E13A63A055FA@suutari.haapa.mmm.fi> References: , <84446DEF76453C439E9E97E438E13A63A055FA@suutari.haapa.mmm.fi> Message-ID: <518B2AE8.1030101@swoodbridge.com> In general the shapefile spec is owned by ERSI and unless they change the spec you will have a problem. Last I knew, there are pointers/offsets inside the shapefile that are only 32bits wide per the spec. it is because of these that you are limited to 2GB. At some point I thought Frank W or someone was working on a version of shapelib that could support greater than 2GB, but only programs that used that version would be able to read/write these larger files. I have not heard anything on that front in a while so I don't know if that was just talk, or code ever materialized. -Steve W On 5/9/2013 12:32 AM, Rahkonen Jukka wrote: > Hi, > > I am not sure either if reading >2GB shapefiles works with the native > shp reader on all platforms, but as the ticket says, you should be > able to use OGR connection in the mapfile even with your current > version. If you use OGR you can also split the shapefile into pieces > and read them through the ogr tileindex system which may be faster > sometimes. > > -Jukka Rahkonen- > > ________________________________ Andrea Peri wrote: > >> If it don't work you should evalute the option to use spatialite. >> It work well with dataset greater than 2GB . I use it with >> mapserver 6.3dev and gdal 1.10. > > > > 2013/5/9 Roger Andr? > > Pretty sure I just hit > this problem in my 6.0.3 > local stack. I haven't tested it in the current release, but does > anyone know for sure that a shapefile with any component larger than > 2GB works in 6.2? > > Roger > > _______________________________________________ mapserver-users > mailing list > mapserver-users at lists.osgeo.org > > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > > > > -- ----------------- Andrea Peri . . . . . . . . . qwerty ????? > ----------------- _______________________________________________ > mapserver-users mailing list mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > From randre at gmail.com Wed May 8 22:39:38 2013 From: randre at gmail.com (=?UTF-8?B?Um9nZXIgQW5kcsOp?=) Date: Wed, 8 May 2013 22:39:38 -0700 Subject: [mapserver-users] Is there still a 2GB size limit on shapefiles? In-Reply-To: <518B2AE8.1030101@swoodbridge.com> References: <84446DEF76453C439E9E97E438E13A63A055FA@suutari.haapa.mmm.fi> <518B2AE8.1030101@swoodbridge.com> Message-ID: Very interesting to know this. Thank you all for the feedback. I did use the OGR connector and it worked fine, but I assumed the native reader was faster. On May 8, 2013 9:53 PM, "Stephen Woodbridge" wrote: > In general the shapefile spec is owned by ERSI and unless they change the > spec you will have a problem. Last I knew, there are pointers/offsets > inside the shapefile that are only 32bits wide per the spec. it is because > of these that you are limited to 2GB. > > At some point I thought Frank W or someone was working on a version of > shapelib that could support greater than 2GB, but only programs that used > that version would be able to read/write these larger files. I have not > heard anything on that front in a while so I don't know if that was just > talk, or code ever materialized. > > -Steve W > > On 5/9/2013 12:32 AM, Rahkonen Jukka wrote: > >> Hi, >> >> I am not sure either if reading >2GB shapefiles works with the native >> shp reader on all platforms, but as the ticket says, you should be >> able to use OGR connection in the mapfile even with your current >> version. If you use OGR you can also split the shapefile into pieces >> and read them through the ogr tileindex system which may be faster >> sometimes. >> >> -Jukka Rahkonen- >> >> ______________________________**__ Andrea Peri wrote: >> >> If it don't work you should evalute the option to use spatialite. >>> It work well with dataset greater than 2GB . I use it with >>> mapserver 6.3dev and gdal 1.10. >>> >> >> >> >> 2013/5/9 Roger Andr? >> >> >> Pretty sure I just hit >> this> >> problem in my 6.0.3 >> local stack. I haven't tested it in the current release, but does >> anyone know for sure that a shapefile with any component larger than >> 2GB works in 6.2? >> >> Roger >> >> ______________________________**_________________ mapserver-users >> mailing list >> mapserver-users at lists.osgeo.**org >> >> > >> >> >> http://lists.osgeo.org/**mailman/listinfo/mapserver-**users > >> >> >> >> >> -- ----------------- Andrea Peri . . . . . . . . . qwerty ????? >> ----------------- ______________________________**_________________ >> 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From luismy01 at gmail.com Thu May 9 01:58:18 2013 From: luismy01 at gmail.com (Luis Mejia) Date: Thu, 9 May 2013 03:58:18 -0500 Subject: [mapserver-users] Fwd: Tools for automatically generate mapfiles In-Reply-To: <518AF820.3000302@mapgears.com> References: <518AF820.3000302@mapgears.com> Message-ID: Hi Daniel, Thank you very much for the information, I hope news about this project. Best Regards 2013/5/8 Daniel Morissette > Hi Luis, > > For your information we (Mapgears) have worked internally on a web-based > GUI to edit and maintain mapfiles called ScribeUI. This tool allows editing > mapfiles in three different syntax: > - regular/raw mapfile syntax > - basemaps generate_style.py syntax (https://github.com/mapserver/** > basemaps ) > - and Scribe syntax (http://www.mapgears.com/en/** > blog/archive/2013-03-12-scribe > **) > > Unfortunately it is still an internal tool and needs some work before we > can publish it. However, a student has submitted a Google Summer of Code > (GSoC) proposal to take this internal project, polish and finish it, test > and package it and make it available as an open source component to the > MapServer community. > > The GSoC proposals are currently being evaluated, and the final decision > date is May 27. If the project is selected the you can expect some news on > this list about the plans in early June. The goal is to make this a > collaborative project in order to help make it more sustainable in the long > run, so contributors such as you would be much welcome. > > Best Regards > > Daniel > > > > On 13-05-08 11:55 AM, Luis Mejia wrote: > >> Hello all, >> I'm newbie in this mailing list and I'm interested to know what tools >> automatically generate mapfiles. So far, only I know two, gvSIG and >> Quantum GIS. anyone knows other? anyone knows some web site? >> >> I am interested in develop a web site for automatically generate >> mapfiles. it's something similiar to online css's code generators >> >> Thanks in advance >> PD: Excuse me my poor english. >> >> -- >> Luis Miguel Mej?a Mart?nez >> Estudiante Ing. de Sistemas >> Universidad de Cartagena >> >> >> >> ______________________________**_________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.**org >> http://lists.osgeo.org/**mailman/listinfo/mapserver-**users >> >> > > -- > Daniel Morissette > http://www.mapgears.com/ > Provider of Professional MapServer Support since 2000 > > ______________________________**_________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.**org > http://lists.osgeo.org/**mailman/listinfo/mapserver-**users > -- **Luis Miguel Mej?a Mart?nez Estudiante Ing. de Sistemas -------------- next part -------------- An HTML attachment was scrubbed... URL: From lucadeluge at gmail.com Thu May 9 03:10:49 2013 From: lucadeluge at gmail.com (Luca Delucchi) Date: Thu, 9 May 2013 12:10:49 +0200 Subject: [mapserver-users] [TinyOWS] Unable to open config file In-Reply-To: References: Message-ID: Sorry for boring you, someone can help me with this problem? On 3 May 2013 14:49, Luca Delucchi wrote: > Hi everybody, > I'm just starting to play with TinyOWS for WFS-T. I installed TinyOWS > on a ubuntu server and I'm using mapfile to configure TinyOWS. > If I run "./tinyows --check" from command line it work well > > TinyOWS version: 1.0.0 > administrator at webcrev3:/usr/lib/cgi-bin$ TinyOWS version: 1.0.0 > PostGIS Version: 2.0.1 > PostGIS dsn: dbname='gis_os' host=10.100.113.5 port=5432 > user='sde' password='sde' sslmode=disable > Output Encoding: UTF-8 > Database Encoding: UTF8 > Schema dir: /usr/share/tinyows/schema > Display bbox: Yes > Estimated extent: No > Check schema: Yes > Check valid geoms: Yes > Available layers: > - public.sitiwgs84 (4326) -> .sitiwgs84 [RW] > > but when I try from web browser it doesn't work and return "Unable to > open config file" > Do you have any advice to help me? > > Thanks > > -- > ciao > Luca > > http://gis.cri.fmach.it/delucchi/ > www.lucadelu.org -- ciao Luca http://gis.cri.fmach.it/delucchi/ www.lucadelu.org From jmckenna at gatewaygeomatics.com Thu May 9 05:30:47 2013 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Thu, 09 May 2013 09:30:47 -0300 Subject: [mapserver-users] Is there still a 2GB size limit on shapefiles? In-Reply-To: References: <84446DEF76453C439E9E97E438E13A63A055FA@suutari.haapa.mmm.fi> <518B2AE8.1030101@swoodbridge.com> Message-ID: <518B96F7.2030401@gatewaygeomatics.com> Hi Roger, It would be great if you could make available your test shp, possibly point to it [or upload it to a shared OSGeo server] and your tiny mapfile directly in a comment in the ticket ( https://github.com/mapserver/mapserver/issues/3514). Once you do that I'll test your mapfile with master/trunk. Thanks, -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ On 2013-05-09 2:39 AM, Roger Andr? wrote: > Very interesting to know this. Thank you all for the feedback. > > I did use the OGR connector and it worked fine, but I assumed the native > reader was faster. > > On May 8, 2013 9:53 PM, "Stephen Woodbridge" > wrote: > > In general the shapefile spec is owned by ERSI and unless they > change the spec you will have a problem. Last I knew, there are > pointers/offsets inside the shapefile that are only 32bits wide per > the spec. it is because of these that you are limited to 2GB. > > At some point I thought Frank W or someone was working on a version > of shapelib that could support greater than 2GB, but only programs > that used that version would be able to read/write these larger > files. I have not heard anything on that front in a while so I don't > know if that was just talk, or code ever materialized. > > -Steve W > > On 5/9/2013 12:32 AM, Rahkonen Jukka wrote: > > Hi, > > I am not sure either if reading >2GB shapefiles works with the > native > shp reader on all platforms, but as the ticket says, you should be > able to use OGR connection in the mapfile even with your current > version. If you use OGR you can also split the shapefile into pieces > and read them through the ogr tileindex system which may be faster > sometimes. > > -Jukka Rahkonen- > > __________________________________ Andrea Peri wrote: > > If it don't work you should evalute the option to use > spatialite. > It work well with dataset greater than 2GB . I use it with > mapserver 6.3dev and gdal 1.10. > > > > > 2013/5/9 Roger Andr? >> > Pretty sure I just hit > this > problem in my 6.0.3 > local stack. I haven't tested it in the current release, but does > anyone know for sure that a shapefile with any component larger than > 2GB works in 6.2? > > Roger From jmckenna at gatewaygeomatics.com Thu May 9 05:47:36 2013 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Thu, 09 May 2013 09:47:36 -0300 Subject: [mapserver-users] Is there still a 2GB size limit on shapefiles? In-Reply-To: <518B96F7.2030401@gatewaygeomatics.com> References: <84446DEF76453C439E9E97E438E13A63A055FA@suutari.haapa.mmm.fi> <518B2AE8.1030101@swoodbridge.com> <518B96F7.2030401@gatewaygeomatics.com> Message-ID: <518B9AE8.4010501@gatewaygeomatics.com> Very very offtopic, but it may help someone else someday... Using CONNECTIONTYPE OGR for shapefile connections is a power user trick that comes in handy more times than you think. During my Advanced MapServer workshop at FOSS4G-BA, we tackled international character labeling ("international" not for them, for local users there if they want labeling in Spanish some characters will cause grief), and the quick solution for labeling was: make sure the mapfile is saved as UTF8 encoding [especially if you plan to refer to special characters in EXPRESSIONs), and then make sure for the LAYER to set CONNECTIONTYPE OGR. Bingo, that easy. (attendees saw me sweat for a few minutes, but this trick saved me) So keep that in your back pocket always. -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ On 2013-05-09 9:30 AM, Jeff McKenna wrote: > Hi Roger, > > It would be great if you could make available your test shp, possibly > point to it [or upload it to a shared OSGeo server] and your tiny > mapfile directly in a comment in the ticket ( > https://github.com/mapserver/mapserver/issues/3514). Once you do that > I'll test your mapfile with master/trunk. > > Thanks, > > -jeff > > From warmerdam at pobox.com Thu May 9 10:35:25 2013 From: warmerdam at pobox.com (Frank Warmerdam) Date: Thu, 9 May 2013 10:35:25 -0700 Subject: [mapserver-users] Is there still a 2GB size limit on shapefiles? In-Reply-To: <518B2AE8.1030101@swoodbridge.com> References: <84446DEF76453C439E9E97E438E13A63A055FA@suutari.haapa.mmm.fi> <518B2AE8.1030101@swoodbridge.com> Message-ID: Folks, The changes I made were mostly focused on supporting large DBF files which don't have the 32bit offsets issue. The offsets for shapefiles are actually to 16bit words, so in theory if the offsets were treated as unsigned 32bit values they could address up to 8GB .shp files. I don't recall however, if I ever got that working. Even if it was done it is not clear to me these files would work smoothly with other applications. I'd been hoping someone else might have authoritative comment in this thread. :-) Best regards, Frank On Wed, May 8, 2013 at 9:49 PM, Stephen Woodbridge wrote: > In general the shapefile spec is owned by ERSI and unless they change the > spec you will have a problem. Last I knew, there are pointers/offsets > inside the shapefile that are only 32bits wide per the spec. it is because > of these that you are limited to 2GB. > > At some point I thought Frank W or someone was working on a version of > shapelib that could support greater than 2GB, but only programs that used > that version would be able to read/write these larger files. I have not > heard anything on that front in a while so I don't know if that was just > talk, or code ever materialized. > > -Steve W > > > On 5/9/2013 12:32 AM, Rahkonen Jukka wrote: > >> Hi, >> >> I am not sure either if reading >2GB shapefiles works with the native >> shp reader on all platforms, but as the ticket says, you should be >> able to use OGR connection in the mapfile even with your current >> version. If you use OGR you can also split the shapefile into pieces >> and read them through the ogr tileindex system which may be faster >> sometimes. >> >> -Jukka Rahkonen- >> >> ______________________________**__ Andrea Peri wrote: >> >> If it don't work you should evalute the option to use spatialite. >>> It work well with dataset greater than 2GB . I use it with >>> mapserver 6.3dev and gdal 1.10. >>> >> >> >> >> 2013/5/9 Roger Andr? >> >> >> Pretty sure I just hit >> this> >> problem in my 6.0.3 >> local stack. I haven't tested it in the current release, but does >> anyone know for sure that a shapefile with any component larger than >> 2GB works in 6.2? >> >> Roger >> >> ______________________________**_________________ mapserver-users >> mailing list >> mapserver-users at lists.osgeo.**org >> >> > >> >> >> http://lists.osgeo.org/**mailman/listinfo/mapserver-**users > >> >> >> >> >> -- ----------------- Andrea Peri . . . . . . . . . qwerty ????? >> ----------------- ______________________________**_________________ >> 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 > -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Software Developer -------------- next part -------------- An HTML attachment was scrubbed... URL: From woodbri at swoodbridge.com Thu May 9 12:43:54 2013 From: woodbri at swoodbridge.com (Stephen Woodbridge) Date: Thu, 09 May 2013 15:43:54 -0400 Subject: [mapserver-users] Is there still a 2GB size limit on shapefiles? In-Reply-To: References: <84446DEF76453C439E9E97E438E13A63A055FA@suutari.haapa.mmm.fi> <518B2AE8.1030101@swoodbridge.com> Message-ID: <518BFC7A.6020606@swoodbridge.com> I think it would be interesting to see how/if ESRI responded to a change in shapelib that allow it to detect standard files or large files and allow application built on it to work with both. If enough FOSS application supported that then ESRI might be forced to deal with it or have a lot of clients with files that they can not read. From my usage, I almost always have a problem with the DBF getting too large mostly because of a lot of attribute columns. A lot of my data processing script have an option to split the output into numbered parts like: file-01.* file-02.* etc and then I use a tileindex to reassemble the parts in mapserver or ogr. If would be nice if we didn't have to worry about this and could just make large files. Personally, shapefiles are a convenient and fast format to work with and only on rare occasions do I have to deal with an ESRI client. Since I have a work around for them, that is not a problem. -Steve W On 5/9/2013 1:35 PM, Frank Warmerdam wrote: > Folks, > > The changes I made were mostly focused on supporting large DBF files > which don't have the 32bit offsets issue. > > The offsets for shapefiles are actually to 16bit words, so in theory if > the offsets were treated as unsigned 32bit values they could address up > to 8GB .shp files. I don't recall however, if I ever got that working. > Even if it was done it is not clear to me these files would work > smoothly with other applications. > > I'd been hoping someone else might have authoritative comment in this > thread. :-) > > Best regards, > Frank > > > On Wed, May 8, 2013 at 9:49 PM, Stephen Woodbridge > > wrote: > > In general the shapefile spec is owned by ERSI and unless they > change the spec you will have a problem. Last I knew, there are > pointers/offsets inside the shapefile that are only 32bits wide per > the spec. it is because of these that you are limited to 2GB. > > At some point I thought Frank W or someone was working on a version > of shapelib that could support greater than 2GB, but only programs > that used that version would be able to read/write these larger > files. I have not heard anything on that front in a while so I don't > know if that was just talk, or code ever materialized. > > -Steve W > > > On 5/9/2013 12:32 AM, Rahkonen Jukka wrote: > > Hi, > > I am not sure either if reading >2GB shapefiles works with the > native > shp reader on all platforms, but as the ticket says, you should be > able to use OGR connection in the mapfile even with your current > version. If you use OGR you can also split the shapefile into pieces > and read them through the ogr tileindex system which may be faster > sometimes. > > -Jukka Rahkonen- > > __________________________________ Andrea Peri wrote: > > If it don't work you should evalute the option to use > spatialite. > It work well with dataset greater than 2GB . I use it with > mapserver 6.3dev and gdal 1.10. > > > > > 2013/5/9 Roger Andr? >> > Pretty sure I just hit > this > problem in my 6.0.3 > local stack. I haven't tested it in the current release, but does > anyone know for sure that a shapefile with any component larger than > 2GB works in 6.2? > > Roger > > _________________________________________________ mapserver-users > mailing list > mapserver-users at lists.osgeo.__org > > > > > http://lists.osgeo.org/__mailman/listinfo/mapserver-__users > > > > > > > -- ----------------- Andrea Peri . . . . . . . . . qwerty ????? > ----------------- _________________________________________________ > 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 > > > > > > -- > ---------------------------------------+-------------------------------------- > I set the clouds in motion - turn up | Frank Warmerdam, > warmerdam at pobox.com > light and sound - activate the windows | http://pobox.com/~warmerdam > > and watch the world go round - Rush | Geospatial Software Developer From lucadeluge at gmail.com Mon May 13 00:29:06 2013 From: lucadeluge at gmail.com (Luca Delucchi) Date: Mon, 13 May 2013 09:29:06 +0200 Subject: [mapserver-users] [TinyOWS] Unable to open config file In-Reply-To: <5AD90691146C44D28E58B57FB7F7D6C7@worthlaptop> References: <5AD90691146C44D28E58B57FB7F7D6C7@worthlaptop> Message-ID: On 9 May 2013 17:19, Worth Lutz wrote: > I have not used TinyOWS but it sounds like a permission problem on the > config file. > > Is it readable by the web user (www-data in ubuntu) > Yes it is readable... > Worth > thanks -- ciao Luca http://gis.cri.fmach.it/delucchi/ www.lucadelu.org From jean.somers at cocopaq.com Mon May 13 00:41:39 2013 From: jean.somers at cocopaq.com (Jean Somers) Date: Mon, 13 May 2013 09:41:39 +0200 Subject: [mapserver-users] Display of a layer with a HATCH STYLE Message-ID: Hi, I want a hatch style for a polygons layer. I used that code: CLASS NAME 'Protection des eaux potables et min?rales(AS1)- p?rim?tre imm?diat' EXPRESSION /^AS1_I$/ STYLE SYMBOL "hachure" COLOR 0 0 0 SIZE 10 WIDTH 3 ANGLE 45 PATTERN 20 10 10 10 END #SYMBOL ./etc/symboles/plu_as1_A.png END but it displays nothing. The code works when used with a standard style, but fails when I use a hatchsymbol style. Could you tell me where I fail? PS: You can find the whole failing code as attachment in the PLU_SUP_AS_new.map file. The PLU_SUP_AS_old.map file is working. Jean Somers - SIG Communaut? de Communes du Pays de Quimperl? (COCOPAQ) 3, rue Eric Tabarly - Kervidanou 4 - 29394 Quimperl? Cedex Tel : 02.98.35.09.40 (09.49) - Fax : 02.98.35.09.41 e-mail : jean.somers at cocopaq.com www.cocopaq.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: plu_SUP_AS_new.map Type: application/octet-stream Size: 2217 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: plu_SUP_AS_old.map Type: application/octet-stream Size: 2122 bytes Desc: not available URL: From jukka.rahkonen at mmmtike.fi Mon May 13 01:01:09 2013 From: jukka.rahkonen at mmmtike.fi (Rahkonen Jukka) Date: Mon, 13 May 2013 08:01:09 +0000 Subject: [mapserver-users] [TinyOWS] Unable to open config file Message-ID: <84446DEF76453C439E9E97E438E13A63A07428@suutari.haapa.mmm.fi> Hi, I have always used tinyows.xml configuration file, but in http://mapserver.org/trunk/tinyows/mapfileconfig.html there reads "To indicate where your Mapfile is located, to TinyOWS binary, use the ''TINYOWS_MAPFILE'' environment variable." Perhaps the environment is set for you when you run tinyows --check but not for the web user? -Jukka Rahkonen- Luca Delucchi wrote: > On 9 May 2013 17:19, Worth Lutz wrote: > > I have not used TinyOWS but it sounds like a permission problem on the > > config file. > > > > Is it readable by the web user (www-data in ubuntu) > > > > Yes it is readable... > > > Worth > > > > thanks > > -- > ciao > Luca > > http://gis.cri.fmach.it/delucchi/ > www.lucadelu.org > _______________________________________________ > 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 May 13 01:11:24 2013 From: thomas.bonfort at gmail.com (thomas bonfort) Date: Mon, 13 May 2013 10:11:24 +0200 Subject: [mapserver-users] Display of a layer with a HATCH STYLE In-Reply-To: References: Message-ID: what's your "hachure" symbol like ? On 13 May 2013 09:41, Jean Somers wrote: > Hi, > > I want a hatch style for a polygons layer. > > I used that code: > > CLASS > NAME 'Protection des eaux potables et min?rales(AS1)- p?rim?tre imm?diat' > EXPRESSION /^AS1_I$/ > STYLE > SYMBOL "hachure" > COLOR 0 0 0 > SIZE 10 > WIDTH 3 > ANGLE 45 > PATTERN 20 10 10 10 END > #SYMBOL ./etc/symboles/plu_as1_A.png > END > > but it displays nothing. > > The code works when used with a standard style, but fails when I use a > hatchsymbol style. > > Could you tell me where I fail? > > PS: You can find the whole failing code as attachment in the > PLU_SUP_AS_new.map file. > The PLU_SUP_AS_old.map file is working. > > *Jean Somers - SIG * > * Communaut? de Communes du Pays de Quimperl? (COCOPAQ) * > 3, rue Eric Tabarly - Kervidanou 4 - 29394 Quimperl? Cedex > Tel : 02.98.35.09.40 (09.49) - Fax : 02.98.35.09.41 > e-mail : jean.somers at cocopaq.com > www.cocopaq.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 ian.walberg at airborne.aero Mon May 13 08:43:43 2013 From: ian.walberg at airborne.aero (Ian Walberg) Date: Mon, 13 May 2013 11:43:43 -0400 Subject: [mapserver-users] UTF8 - direction control characters Message-ID: Folks, We are trying to display labels with UTF8 direction control characters in them and we are seeing boxes in the text. For example inserting a RLE code does seem to change the rendering order as expected but also displays a box. Our guess is that the control character has not been removed when the text is rendered so gets rendered as an unknown character. We are happy to look into this in more detail but could do with some guidance on where to look. Thanks Ian -------------- next part -------------- An HTML attachment was scrubbed... URL: From ahmettemiz88 at gmail.com Tue May 14 04:34:01 2013 From: ahmettemiz88 at gmail.com (Ahmet Temiz) Date: Tue, 14 May 2013 14:34:01 +0300 Subject: [mapserver-users] increase resolution programmatically Message-ID: hello I was wondering how I could increase resolution (size) programmatically (in java or python). regards -- Ahmet Temiz Jeoloji M?h. Afet ve Acil Durum Y?netimi Ba?kanl??? Planlama ve Zarar Azaltma Dairesi Ba?kanl??? ________________________ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency -------------- next part -------------- An HTML attachment was scrubbed... URL: From boesiii at yahoo.com Tue May 14 08:57:48 2013 From: boesiii at yahoo.com (boesiii) Date: Tue, 14 May 2013 08:57:48 -0700 (PDT) Subject: [mapserver-users] Problem with mapserver & python mapscript Message-ID: <1368547067908-5053188.post@n6.nabble.com> I have mapserver setup and working on Ubuntu 12.04 and I need to be able to use python mapscript so that I can use Tilecache. How do I configure python mapscript on an existing setup of Mapserver? Do I need to recompile mapserver? I read the readme file in the python folder and tried to install using python setup.py install but received an error stating "Has mapserver been made?". -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Problem-with-mapserver-python-mapscript-tp5053188.html Sent from the Mapserver - User mailing list archive at Nabble.com. From punk.kish at gmail.com Tue May 14 09:01:33 2013 From: punk.kish at gmail.com (Puneet Kishor) Date: Tue, 14 May 2013 09:01:33 -0700 Subject: [mapserver-users] Problem with mapserver & python mapscript In-Reply-To: <1368547067908-5053188.post@n6.nabble.com> References: <1368547067908-5053188.post@n6.nabble.com> Message-ID: <7F4ACD32-27D8-4FF7-95F6-189BE9D3E6F0@gmail.com> On May 14, 2013, at 8:57 AM, boesiii wrote: > I have mapserver setup and working on Ubuntu 12.04 and I need to be able to > use python mapscript so that I can use Tilecache. You do not need to use any MapScript to use TileCache. They are two separate things. TileCache uses Python cgi in its basic set up and that works just fine with MapServer cgi. I have a fairly compute intensive mapping application that is running happily with the above arrangement. -- Puneet Kishor Policy Coordinator for Science and Data Creative Commons From boesiii at yahoo.com Tue May 14 10:24:34 2013 From: boesiii at yahoo.com (boesiii) Date: Tue, 14 May 2013 10:24:34 -0700 (PDT) Subject: [mapserver-users] Problem with mapserver & python mapscript In-Reply-To: <7F4ACD32-27D8-4FF7-95F6-189BE9D3E6F0@gmail.com> References: <1368547067908-5053188.post@n6.nabble.com> <7F4ACD32-27D8-4FF7-95F6-189BE9D3E6F0@gmail.com> Message-ID: <1368552274561-5053204.post@n6.nabble.com> When I try to test tilecache on Firefox using: http://localhost/tilecache-2.11/tilecache.cgi?LAYERS=basic&SERVICE=WMS%20&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=-180,-90,0,90%20&WIDTH=256&HEIGHT=256 The output on my screen shows the contents of tilecache.cgi, see below: #!/usr/bin python from TileCache import Service, cgiHandler, cfgfiles if __name__ == '__main__': svc = Service.load(*cfgfiles) cgiHandler(svc) -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Problem-with-mapserver-python-mapscript-tp5053188p5053204.html Sent from the Mapserver - User mailing list archive at Nabble.com. From punk.kish at gmail.com Tue May 14 10:29:49 2013 From: punk.kish at gmail.com (Puneet Kishor) Date: Tue, 14 May 2013 10:29:49 -0700 Subject: [mapserver-users] Problem with mapserver & python mapscript In-Reply-To: <1368552274561-5053204.post@n6.nabble.com> References: <1368547067908-5053188.post@n6.nabble.com> <7F4ACD32-27D8-4FF7-95F6-189BE9D3E6F0@gmail.com> <1368552274561-5053204.post@n6.nabble.com> Message-ID: <7E669000-6CE9-4355-A821-F1104CF7CF4B@gmail.com> On May 14, 2013, at 10:24 AM, boesiii wrote: > When I try to test tilecache on Firefox using: > > http://localhost/tilecache-2.11/tilecache.cgi?LAYERS=basic&SERVICE=WMS%20&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=-180,-90,0,90%20&WIDTH=256&HEIGHT=256 > > The output on my screen shows the contents of tilecache.cgi, see below: > > #!/usr/bin python > > from TileCache import Service, cgiHandler, cfgfiles > > if __name__ == '__main__': > svc = Service.load(*cfgfiles) > cgiHandler(svc) > > You need set up your web server to handle cgi. Check your web server documentation. -- Puneet Kishor From boesiii at yahoo.com Tue May 14 10:41:46 2013 From: boesiii at yahoo.com (boesiii) Date: Tue, 14 May 2013 10:41:46 -0700 (PDT) Subject: [mapserver-users] Problem with mapserver & python mapscript In-Reply-To: <7E669000-6CE9-4355-A821-F1104CF7CF4B@gmail.com> References: <1368547067908-5053188.post@n6.nabble.com> <7F4ACD32-27D8-4FF7-95F6-189BE9D3E6F0@gmail.com> <1368552274561-5053204.post@n6.nabble.com> <7E669000-6CE9-4355-A821-F1104CF7CF4B@gmail.com> Message-ID: <1368553306735-5053210.post@n6.nabble.com> I added the following: AddHandler cgi-script .cgi Options +ExecCGI to apache2.conf -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Problem-with-mapserver-python-mapscript-tp5053188p5053210.html Sent from the Mapserver - User mailing list archive at Nabble.com. From aperi2007 at gmail.com Wed May 15 08:35:53 2013 From: aperi2007 at gmail.com (Andrea Peri) Date: Wed, 15 May 2013 17:35:53 +0200 Subject: [mapserver-users] Apply a label on a corner of rectangles Message-ID: Hi, I have a dataset of rectangles with various angles. These rectangles are cartography photogram. As reported me from our users, seem that these are usually labelled in the top left point. Is possible to set the point of application of a label forward the top left point of the polygon with mapserver ? thx, -- ----------------- Andrea Peri . . . . . . . . . qwerty ????? ----------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.bonfort at gmail.com Wed May 15 10:21:56 2013 From: thomas.bonfort at gmail.com (thomas bonfort) Date: Wed, 15 May 2013 19:21:56 +0200 Subject: [mapserver-users] Apply a label on a corner of rectangles In-Reply-To: References: Message-ID: No, I don't think this is possible -- thomas On 15 May 2013 17:35, Andrea Peri wrote: > Hi, > I have a dataset of rectangles with various angles. These rectangles are > cartography photogram. > As reported me from our users, seem that these are usually labelled in the > top left point. > > Is possible to set the point of application of a label forward the top > left point of the polygon with mapserver ? > > thx, > > -- > ----------------- > Andrea Peri > . . . . . . . . . > qwerty ????? > ----------------- > > _______________________________________________ > 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 havard.tveite at umb.no Thu May 16 00:51:20 2013 From: havard.tveite at umb.no (Havard Tveite) Date: Thu, 16 May 2013 09:51:20 +0200 Subject: [mapserver-users] Apply a label on a corner of rectangles In-Reply-To: References: Message-ID: <51948FF8.5070506@umb.no> I am not sure where the "Upper left corner" would be for a rotated rectangle, but if you have a criterion for it, a lot can be done with PostGIS (if that is your data source). Mapscript might also be an option. H?vard On 5/15/2013 7:21 PM, thomas bonfort wrote: > No, I don't think this is possible > > -- > thomas > > > On 15 May 2013 17:35, Andrea Peri > wrote: > > Hi, > I have a dataset of rectangles with various angles. These rectangles are cartography photogram. > As reported me from our users, seem that these are usually labelled in the top left point. > > Is possible to set the point of application of a label forward the top left point of the polygon with mapserver ? > > thx, > > -- > ----------------- > Andrea Peri > . . . . . . . . . > qwerty ????? > ----------------- > > _______________________________________________ > 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, UMB Dr?bakveien 31, POBox 5003, N-1432 ?s, NORWAY Phone: +47 64965483 Fax: +47 64965401 http://www.umb.no/imt/ From hishanm at gmail.com Thu May 16 01:44:17 2013 From: hishanm at gmail.com (Hishan Melanga) Date: Thu, 16 May 2013 14:14:17 +0530 Subject: [mapserver-users] loadHashTable(): error Message-ID: I am trying to render a map by looking at the https://github.com/mapserver/mapserver/wiki/RenderingOsmDataOnUbuntuv2tutorial. But I am getting loadHashTable(): Unknown identifier. Parsing error near (IMAGEPATH):(line 15) in the browser when I issue the URL. http://localhost/cgi-bin/mapserv?map=/home/mwh/osm-demo/basemaps/osm-google.map&mode=browse&template=openlayers&layers=all In my osm-google.map file I have mentioned Line15 IMAGEPATH "/tmp/ms_tmp/" Line16 IMAGEURL "/ms_tmp/" as requested in the tutorial. What is the problem? I did exactly as the tutorial said. -- ?????? ????? | Hishan Melanga -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.bonfort at gmail.com Thu May 16 01:50:43 2013 From: thomas.bonfort at gmail.com (thomas bonfort) Date: Thu, 16 May 2013 10:50:43 +0200 Subject: [mapserver-users] loadHashTable(): error In-Reply-To: References: Message-ID: You have a syntax error in your mapfile, probably a missing END somewhere above line 15 -- tb On 16 May 2013 10:44, Hishan Melanga wrote: > I am trying to render a map by looking at the > https://github.com/mapserver/mapserver/wiki/RenderingOsmDataOnUbuntuv2tutorial. But I am getting > > loadHashTable(): Unknown identifier. Parsing error near (IMAGEPATH):(line > 15) > > in the browser when I issue the URL. > > > http://localhost/cgi-bin/mapserv?map=/home/mwh/osm-demo/basemaps/osm-google.map&mode=browse&template=openlayers&layers=all > > In my osm-google.map file I have mentioned > > Line15 IMAGEPATH "/tmp/ms_tmp/" > Line16 IMAGEURL "/ms_tmp/" > > as requested in the tutorial. > > What is the problem? I did exactly as the tutorial said. > > > -- > ?????? ????? | Hishan Melanga > > > _______________________________________________ > 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 aperi2007 at gmail.com Fri May 17 00:02:20 2013 From: aperi2007 at gmail.com (Andrea Peri) Date: Fri, 17 May 2013 09:02:20 +0200 Subject: [mapserver-users] Apply a label on a corner of rectangles In-Reply-To: References: Message-ID: ok, thx for response. I guess as a workaround I could use a hidden and full transparent point layer with the application point in the corner of rectangle. Regards, 2013/5/15 thomas bonfort > No, I don't think this is possible > > -- > thomas > > > On 15 May 2013 17:35, Andrea Peri wrote: > >> Hi, >> I have a dataset of rectangles with various angles. These rectangles are >> cartography photogram. >> As reported me from our users, seem that these are usually labelled in >> the top left point. >> >> Is possible to set the point of application of a label forward the top >> left point of the polygon with mapserver ? >> >> thx, >> >> -- >> ----------------- >> Andrea Peri >> . . . . . . . . . >> qwerty ????? >> ----------------- >> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> > -- ----------------- Andrea Peri . . . . . . . . . qwerty ????? ----------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From MarkVolz at co.lyon.mn.us Fri May 17 06:18:24 2013 From: MarkVolz at co.lyon.mn.us (Mark Volz) Date: Fri, 17 May 2013 13:18:24 +0000 Subject: [mapserver-users] MapCache 256 or 512 performance Message-ID: <36CA828A36E29F45B7CF0A1766E5DFA31DA724@swmail01.r8nssis.local> Hello, I was just wondering if I should use 256*256 tiles or 512*512 tiles in MapCache. In the deployment that I am considering MapCache serve both ArcGIS and internet mapping users. In both cases I expect that users will have desktop sized screens. I am under the impression that 256*256 tiles are common. However, I have also seen 512*512 tiles, which I am assuming could be faster as there will be less requests to the server. What are the current tile size recommendations for MapCache? Thanks Mark Volz GIS Specialist -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.bonfort at gmail.com Fri May 17 06:28:32 2013 From: thomas.bonfort at gmail.com (thomas bonfort) Date: Fri, 17 May 2013 15:28:32 +0200 Subject: [mapserver-users] MapCache 256 or 512 performance In-Reply-To: <36CA828A36E29F45B7CF0A1766E5DFA31DA724@swmail01.r8nssis.local> References: <36CA828A36E29F45B7CF0A1766E5DFA31DA724@swmail01.r8nssis.local> Message-ID: Unless you have very specific constraints (the only one I can imagine being on a very high latency network), I can see no reason to favor 512 over 256. With 512 you have less tiles to transfer, however on average you will be tranferring more data that with 256 ones (as the area outside a map view covered by 512 tiles is greater than that area when using 256 ones). -- thomas On 17 May 2013 15:18, Mark Volz wrote: > Hello,**** > > ** ** > > I was just wondering if I should use 256*256 tiles or 512*512 tiles in > MapCache. In the deployment that I am considering MapCache serve both > ArcGIS and internet mapping users. In both cases I expect that users will > have desktop sized screens. I am under the impression that 256*256 tiles > are common. However, I have also seen 512*512 tiles, which I am assuming > could be faster as there will be less requests to the server. **** > > ** ** > > What are the current tile size recommendations for MapCache? **** > > ** ** > > Thanks**** > > ** ** > > Mark Volz**** > > GIS Specialist**** > > ** ** > > _______________________________________________ > 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 hishanm at gmail.com Fri May 17 06:36:22 2013 From: hishanm at gmail.com (Hishan Melanga) Date: Fri, 17 May 2013 19:06:22 +0530 Subject: [mapserver-users] Can not execute "make ./configure" command in mapcache downloaded folder Message-ID: I downlaoded mapcache folder from the given link git clone git://github.com/mapserver/mapcache.git But I could not find a way to do the ./configure as specified in the INSTALL file included inside that directory. Please help me to install this and tell me how to make the configure file. Currently I am using osgeo-6.5. Thanks in advance. -- ?????? ????? | Hishan Melanga -------------- next part -------------- An HTML attachment was scrubbed... URL: From hishanm at gmail.com Fri May 17 07:36:27 2013 From: hishanm at gmail.com (Hishan Melanga) Date: Fri, 17 May 2013 20:06:27 +0530 Subject: [mapserver-users] Can not execute "make ./configure" command in mapcache downloaded folder In-Reply-To: References: Message-ID: Is the configure script file missing? On Fri, May 17, 2013 at 7:06 PM, Hishan Melanga wrote: > > I downlaoded mapcache folder from the given link > > git clone git://github.com/mapserver/mapcache.git > > But I could not find a way to do the ./configure as specified in the > INSTALL file included inside that directory. Please help me to install this > and tell me how to make the configure file. Currently I am using osgeo-6.5. > > Thanks in advance. > -- > ?????? ????? | Hishan Melanga > -- ?????? ????? | Hishan Melanga -------------- next part -------------- An HTML attachment was scrubbed... URL: From osgeo.mailinglist at gmail.com Fri May 17 10:09:07 2013 From: osgeo.mailinglist at gmail.com (Thomas Gratier) Date: Fri, 17 May 2013 19:09:07 +0200 Subject: [mapserver-users] Can not execute "make ./configure" command in mapcache downloaded folder In-Reply-To: References: Message-ID: Hello, Read the INSTALL file https://github.com/mapserver/mapcache/blob/master/INSTALL that say run autoconf when compiling using code from git Regards Thomas Gratier 2013/5/17 Hishan Melanga > Is the configure script file missing? > > > On Fri, May 17, 2013 at 7:06 PM, Hishan Melanga wrote: > >> >> I downlaoded mapcache folder from the given link >> >> git clone git://github.com/mapserver/mapcache.git >> >> >> >> But I could not find a way to do the ./configure as specified in the >> INSTALL file included inside that directory. Please help me to install this >> and tell me how to make the configure file. Currently I am using osgeo-6.5. >> >> Thanks in advance. >> -- >> ?????? ????? | Hishan Melanga >> > > > > -- > ?????? ????? | Hishan Melanga > > _______________________________________________ > 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 thomas.bonfort at gmail.com Fri May 17 10:19:02 2013 From: thomas.bonfort at gmail.com (thomas bonfort) Date: Fri, 17 May 2013 19:19:02 +0200 Subject: [mapserver-users] Can not execute "make ./configure" command in mapcache downloaded folder In-Reply-To: References: Message-ID: Sorry, missed this one earlier... mapcache now builds with cmake mkdir build cd build cmake .. # follow instructions if missing a dependency make sudo make install (and yes, the docs need updating ...) -- thomas On 17 May 2013 19:09, Thomas Gratier wrote: > Hello, > > Read the INSTALL file > https://github.com/mapserver/mapcache/blob/master/INSTALL that say run > autoconf > when compiling using code from git > > Regards > > Thomas Gratier > > > > 2013/5/17 Hishan Melanga > >> Is the configure script file missing? >> >> >> On Fri, May 17, 2013 at 7:06 PM, Hishan Melanga wrote: >> >>> >>> I downlaoded mapcache folder from the given link >>> >>> git clone git://github.com/mapserver/mapcache.git >>> >>> >>> >>> >>> But I could not find a way to do the ./configure as specified in the >>> INSTALL file included inside that directory. Please help me to install this >>> and tell me how to make the configure file. Currently I am using osgeo-6.5. >>> >>> Thanks in advance. >>> -- >>> ?????? ????? | Hishan Melanga >>> >> >> >> >> -- >> ?????? ????? | Hishan Melanga >> >> _______________________________________________ >> 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aperi2007 at gmail.com Fri May 17 12:55:29 2013 From: aperi2007 at gmail.com (Andrea Peri) Date: Fri, 17 May 2013 21:55:29 +0200 Subject: [mapserver-users] GetFeatureInfo text/gml with dataset simplified Message-ID: Hi, I need to simplify the dataset retrieved using the GetFeatureInfo (text/gml option) to reduce the vertex number (too many). I read of the new simplify option in the GeomTransform. Is this acting also on the text/gml returned from a getFeatureInfo request ? thx, -- ----------------- Andrea Peri . . . . . . . . . qwerty ????? ----------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From donald.kerr at dkerr.co.uk Sun May 19 12:35:36 2013 From: donald.kerr at dkerr.co.uk (Donald Kerr) Date: Sun, 19 May 2013 20:35:36 +0100 Subject: [mapserver-users] Mapserver WMS Reprojection Message-ID: <003401ce54c8$0c3e6090$24bb21b0$@dkerr.co.uk> Hi List, I am trying to reproject a WMS request from 27700 (UK Ordnance Survey) to 900913 (OSM OpenStreetMap) without success. There no issue with the map file map or layer definitions in terms of serving up the WMS in 27700 but reprojection seems to fail. There appears to be very little online and I cannot find a solution; hence this request for help or advice. Relevant parts of map file (some parts removed): PROJECTION "init=epsg:27700" END WEB METADATA "wms_title" "My WMS" "wms_onlineresource" "http://localhost/mapserver/mapserv.asp?" "wms_srs" "EPSG:27700 EPSG:900913" "wms_enable_request" "*" "wms_abstract" "My WMS" "wms_extent" "0 0 670000 1230000" "wms_feature_info_mime_type" "text/plain" "wms_feature_info_mime_type" "text/html" "wms_feature_info_mime_type" "application/vnd.ogc.gml" # &info_format=application/vnd.ogc.gml ... Layer: METADATA "wms_title" "CME" "wms_extent" "0 0 670000 1230000" # "wms_srs" "EPSG:27700 EPSG:900913" "wms_include_items" "all" # No spaces "gml_include_items" "all" # No spaces "gml_featureid" "ID" END PROJECTION "init=EPSG:27700" END # PROJECTION Openlayers request: http://maps1/cgi-bin/mapserv.exe?MAP=D:\MyMapFile.map&LAYERS=CME&TRANSPARENT =TRUE&FORMAT=png&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG%3 A900913&BBOX=-484682.60504583,7512726.3043776,-415889.27960147,7547122.96709 97&WIDTH=900&HEIGHT=450 The result is a transparent image with no data showing. :( The same map file works correctly and serves an image if used with Openlayers and a map on EPSG 27700 so it's pointing at the reprojection of the BBOX maybe. What am I doing wrong? Any help greatly appreciated. Many thanks. Regards, Donald From donald.kerr at dkerr.co.uk Sun May 19 12:57:01 2013 From: donald.kerr at dkerr.co.uk (Donald Kerr) Date: Sun, 19 May 2013 20:57:01 +0100 Subject: [mapserver-users] Mapserver WMS Reprojection In-Reply-To: <003401ce54c8$0c3e6090$24bb21b0$@dkerr.co.uk> References: <003401ce54c8$0c3e6090$24bb21b0$@dkerr.co.uk> Message-ID: <003801ce54cb$0a147450$1e3d5cf0$@dkerr.co.uk> Slight mistake below; the projection definition in the layer is as follows with "epsg" in lowercase as I am led to believe that it should be so: "init=epsg:27700" -----Original Message----- From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Donald Kerr Sent: 19 May 2013 20:36 To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] Mapserver WMS Reprojection Hi List, I am trying to reproject a WMS request from 27700 (UK Ordnance Survey) to 900913 (OSM OpenStreetMap) without success. There no issue with the map file map or layer definitions in terms of serving up the WMS in 27700 but reprojection seems to fail. There appears to be very little online and I cannot find a solution; hence this request for help or advice. Relevant parts of map file (some parts removed): PROJECTION "init=epsg:27700" END WEB METADATA "wms_title" "My WMS" "wms_onlineresource" "http://localhost/mapserver/mapserv.asp?" "wms_srs" "EPSG:27700 EPSG:900913" "wms_enable_request" "*" "wms_abstract" "My WMS" "wms_extent" "0 0 670000 1230000" "wms_feature_info_mime_type" "text/plain" "wms_feature_info_mime_type" "text/html" "wms_feature_info_mime_type" "application/vnd.ogc.gml" # &info_format=application/vnd.ogc.gml ... Layer: METADATA "wms_title" "CME" "wms_extent" "0 0 670000 1230000" # "wms_srs" "EPSG:27700 EPSG:900913" "wms_include_items" "all" # No spaces "gml_include_items" "all" # No spaces "gml_featureid" "ID" END PROJECTION "init=EPSG:27700" END # PROJECTION Openlayers request: http://maps1/cgi-bin/mapserv.exe?MAP=D:\MyMapFile.map&LAYERS=CME&TRANSPARENT =TRUE&FORMAT=png&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG%3 A900913&BBOX=-484682.60504583,7512726.3043776,-415889.27960147,7547122.96709 97&WIDTH=900&HEIGHT=450 The result is a transparent image with no data showing. :( The same map file works correctly and serves an image if used with Openlayers and a map on EPSG 27700 so it's pointing at the reprojection of the BBOX maybe. What am I doing wrong? Any help greatly appreciated. Many thanks. Regards, Donald _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2013.0.3336 / Virus Database: 3162/6338 - Release Date: 05/19/13 From jukka.rahkonen at mmmtike.fi Sun May 19 21:52:49 2013 From: jukka.rahkonen at mmmtike.fi (Rahkonen Jukka) Date: Mon, 20 May 2013 04:52:49 +0000 Subject: [mapserver-users] Mapserver WMS Reprojection In-Reply-To: <003801ce54cb$0a147450$1e3d5cf0$@dkerr.co.uk> References: <003401ce54c8$0c3e6090$24bb21b0$@dkerr.co.uk>, <003801ce54cb$0a147450$1e3d5cf0$@dkerr.co.uk> Message-ID: <84446DEF76453C439E9E97E438E13A63C05B43@suutari.haapa.mmm.fi> Hi, I do not see obvious error and the 900913 BBOX hit UK somewhere in Scotland so I guess that you have data there. I was thinking that the fake 900913 code is perhaps not included in the EPSG file and you should use EPSG:3785 instead but that case that would propably lead to some error message. Have still a try with 3785, and add DEBUG 5 into your layer setting and see what you get into your MS_ERRORFILE. -Jukka Rahkonen- Donald Kerr wrote: > Slight mistake below; the projection definition in the layer is as follows > with "epsg" in lowercase as I am led to believe that it should be so: > "init=epsg:27700" -----Original Message----- From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Donald Kerr Sent: 19 May 2013 20:36 To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] Mapserver WMS Reprojection > Hi List, > I am trying to reproject a WMS request from 27700 (UK Ordnance Survey) to 900913 (OSM OpenStreetMap) without success. There no issue with the map file map or layer definitions in terms of serving up the WMS in 27700 but reprojection seems to fail. There appears to be very little online and I cannot find a solution; hence this request for help or advice. > Relevant parts of map file (some parts removed): >PROJECTION "init=epsg:27700" END WEB METADATA "wms_title" "My WMS" "wms_onlineresource" "http://localhost/mapserver/mapserv.asp?" "wms_srs" "EPSG:27700 EPSG:900913" "wms_enable_request" "*" "wms_abstract" "My WMS" "wms_extent" "0 0 670000 1230000" "wms_feature_info_mime_type" "text/plain" "wms_feature_info_mime_type" "text/html" "wms_feature_info_mime_type" "application/vnd.ogc.gml" # &info_format=application/vnd.ogc.gml ... Layer: METADATA "wms_title" "CME" "wms_extent" "0 0 670000 1230000" # "wms_srs" "EPSG:27700 EPSG:900913" "wms_include_items" "all" # No spaces "gml_include_items" "all" # No spaces "gml_featureid" "ID" END PROJECTION "init=EPSG:27700" END # PROJECTION > Openlayers request: > http://maps1/cgi-bin/mapserv.exe?MAP=D:\MyMapFile.map&LAYERS=CME&TRANSPARENT =TRUE&FORMAT=png&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG%3 A900913&BBOX=-484682.60504583,7512726.3043776,-415889.27960147,7547122.96709 97&WIDTH=900&HEIGHT=450 > The result is a transparent image with no data showing. :( The same map file works correctly and serves an image if used with Openlayers and a map on EPSG 27700 so it's pointing at the reprojection of the BBOX maybe. > What am I doing wrong? Any help greatly appreciated. > Many thanks. > Regards, Donald _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2013.0.3336 / Virus Database: 3162/6338 - Release Date: 05/19/13 _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From raffaele.morelli at gmail.com Sun May 19 23:26:45 2013 From: raffaele.morelli at gmail.com (Raffaele Morelli) Date: Mon, 20 May 2013 08:26:45 +0200 Subject: [mapserver-users] Mapserver WMS Reprojection In-Reply-To: <003401ce54c8$0c3e6090$24bb21b0$@dkerr.co.uk> References: <003401ce54c8$0c3e6090$24bb21b0$@dkerr.co.uk> Message-ID: 2013/5/19 Donald Kerr > Hi List, > > I am trying to reproject a WMS request from 27700 (UK Ordnance Survey) to > 900913 (OSM OpenStreetMap) without success. There no issue with the map > file > map or layer definitions in terms of serving up the WMS in 27700 but > reprojection seems to fail. There appears to be very little online and I > cannot find a solution; hence this request for help or advice. > Be sure you have this line in your epsg file: <900913> +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs -------------- next part -------------- An HTML attachment was scrubbed... URL: From jukka.rahkonen at mmmtike.fi Mon May 20 00:12:39 2013 From: jukka.rahkonen at mmmtike.fi (Rahkonen Jukka) Date: Mon, 20 May 2013 07:12:39 +0000 Subject: [mapserver-users] Mapserver WMS Reprojection Message-ID: <84446DEF76453C439E9E97E438E13A63C09BD8@suutari.haapa.mmm.fi> Hi, The Web Mercator projection is in meters too and your map will be switched off also with EPSG:27700 if you zoom far enough. Due to differences in projection settings the turn on/off may not happen in exactly same visible scale. Play with the MAXSCALEDENOM value and perhaps you will find something that works for both of your projections. If not, you can always copy the whole LAYER with a different name and edit the new layer to be optimal for OpenLayers. -Jukka Rahkonen- Donald Kerr wrote: > > Jukka, > > Got it! DEBUG 5 spotted the error: > > "Skipping layer (CME) because LAYER.MAXSCALE is too small for this MAP > scale" > > I have the following: > > MINSCALEDENOM 1 > MAXSCALEDENOM 36000 > SYMBOLSCALEDENOM 24000 > > If I comment them out then all is well and the required image is created and > served. > > Now, the issue would appear to be that these figures are relevant to 27700 > and work with that in metres but do not work with 900913 which I assume is > in degrees. The request SRS for a WMS is controlled by Openlayers so this is > fixed as 90013 and I do have the map set for metres. The BBOX must be sent > from Openlayers in degrees so I am think that this is where the problem is. > Maybe I cannot use MAXSCALEDENOM in these circumstances where I need > to serve in two projections. > > Many thanks. > > Regards, > > Donald > > > > -----Original Message----- > From: Rahkonen Jukka [mailto:jukka.rahkonen at mmmtike.fi] > Sent: 20 May 2013 05:53 > To: Donald Kerr; mapserver-users at lists.osgeo.org > Subject: Re: [mapserver-users] Mapserver WMS Reprojection > > Hi, > > I do not see obvious error and the 900913 BBOX hit UK somewhere in > Scotland so I guess that you have data there. I was thinking that the fake > 900913 code is perhaps not included in the EPSG file and you should use > EPSG:3785 instead but that case that would propably lead to some error > message. Have still a try with 3785, and add DEBUG 5 into your layer setting > and see what you get into your MS_ERRORFILE. > > -Jukka Rahkonen- > > > Donald Kerr wrote: > > > Slight mistake below; the projection definition in the layer is as > > follows with "epsg" in lowercase as I am led to believe that it should > > be > so: > > "init=epsg:27700" > > -----Original Message----- > From: mapserver-users-bounces at lists.osgeo.org > [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Donald Kerr > Sent: 19 May 2013 20:36 > To: mapserver-users at lists.osgeo.org > Subject: [mapserver-users] Mapserver WMS Reprojection > > > Hi List, > > > I am trying to reproject a WMS request from 27700 (UK Ordnance Survey) > > to > 900913 (OSM OpenStreetMap) without success. There no issue with the map > file map or layer definitions in terms of serving up the WMS in 27700 but > reprojection seems to fail. There appears to be very little online and I cannot > find a solution; hence this request for help or advice. > > > Relevant parts of map file (some parts removed): > > >PROJECTION > "init=epsg:27700" > END > > WEB > METADATA > "wms_title" "My WMS" > "wms_onlineresource" "http://localhost/mapserver/mapserv.asp?" > "wms_srs" "EPSG:27700 EPSG:900913" > "wms_enable_request" "*" > "wms_abstract" "My WMS" > "wms_extent" "0 0 670000 1230000" > "wms_feature_info_mime_type" "text/plain" > "wms_feature_info_mime_type" "text/html" > "wms_feature_info_mime_type" "application/vnd.ogc.gml" # > &info_format=application/vnd.ogc.gml > .. > > Layer: > > METADATA > "wms_title" "CME" > "wms_extent" "0 0 670000 1230000" > # "wms_srs" "EPSG:27700 EPSG:900913" > "wms_include_items" "all" # No spaces > "gml_include_items" "all" # No spaces > "gml_featureid" "ID" > END > > PROJECTION > "init=EPSG:27700" > END # PROJECTION > > > Openlayers request: > > > http://maps1/cgi- > bin/mapserv.exe?MAP=D:\MyMapFile.map&LAYERS=CME&TRANS > > PARENT > =TRUE&FORMAT=png&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap > &STYLES=&SRS=EPSG%3 > A900913&BBOX=-484682.60504583,7512726.3043776,- > 415889.27960147,7547122.96709 > 97&WIDTH=900&HEIGHT=450 > > > The result is a transparent image with no data showing. :( The same > > map file > works correctly and serves an image if used with Openlayers and a map on > EPSG 27700 so it's pointing at the reprojection of the BBOX maybe. > > > What am I doing wrong? Any help greatly appreciated. > > > Many thanks. > > > Regards, > > Donald > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2013.0.3336 / Virus Database: 3162/6338 - Release Date: 05/19/13 > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2013.0.3336 / Virus Database: 3162/6338 - Release Date: 05/19/13 > From richard.greenwood at gmail.com Tue May 21 14:24:49 2013 From: richard.greenwood at gmail.com (Richard Greenwood) Date: Tue, 21 May 2013 15:24:49 -0600 Subject: [mapserver-users] FOSS4G NA Message-ID: Anyone drinking a beer tonight? Where? Sent from my mobile -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmorissette at mapgears.com Tue May 21 15:43:27 2013 From: dmorissette at mapgears.com (Daniel Morissette) Date: Tue, 21 May 2013 17:43:27 -0500 Subject: [mapserver-users] FOSS4G NA In-Reply-To: References: Message-ID: <13ec942ee8e.2769.44c968e94424373698ba4ebfffd2f720@mapgears.com> Hi Rich We' re a small group upstairs at Brit's Pub on Nicolet Mall ( between 11th and 12th strert ) Daniel Le 21 mai 2013 16:24:49 Richard Greenwood a ?crit : > Anyone drinking a beer tonight? Where? > > Sent from my mobile -------------- next part -------------- An HTML attachment was scrubbed... URL: From cheung.jackey at gmail.com Tue May 21 23:37:57 2013 From: cheung.jackey at gmail.com (Jackey Cheung) Date: Wed, 22 May 2013 14:37:57 +0800 Subject: [mapserver-users] ORACLE_HOME problem when using spawn-fcgi + mapserver Message-ID: Hi, I'm setting up a nginx + spawn-fcgi + mapserver centos box.I've installed everything. The web site (nginx) is working, Oracle is working fine and returning spatial data, shp2img generates pictures from Oracle data well, and everything just seem working well. Unless I put them all together. Requesting map image from the box in browser and I get this: msDrawMap(): Image handling error. Failed to draw layer named 'BLD_BLDG'. msOracleSpatialLayerOpen(): OracleSpatial error. Cannot create OCI Handlers. Connection failure. Check the connection string. Error: . I've tried strace and checked the oracle trace log, and found this in the oracle log: Unable to find environment variable: ORACLE_HOME I've change the mapserver process to use oracle user, and I've then checked the spawn-fcgi process environment at /proc/ directory and see that there are variables in it. I've even tried adding ORACLE_HOME variable to /etc/profile, but still can't get it working. What is wrong? Or what have I missed? P.S. I could have post the whole strace log here, but it's too long so if anyone really need it to get a clue, just give a mail to me. -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard.suematsu at syncadd.com Wed May 22 05:14:54 2013 From: richard.suematsu at syncadd.com (richard.suematsu at syncadd.com) Date: Wed, 22 May 2013 12:14:54 +0000 Subject: [mapserver-users] ORACLE_HOME problem when using spawn-fcgi + mapserver In-Reply-To: References: Message-ID: I could be wrong but I believe /etc/profile is only loaded when you spawn a shell. You can try force the issue and set the oracle home in your startup script for nginx and work backwards from there. Sent from my iPhone On May 22, 2013, at 1:38 AM, "Jackey Cheung" > wrote: Hi, I'm setting up a nginx + spawn-fcgi + mapserver centos box.I've installed everything. The web site (nginx) is working, Oracle is working fine and returning spatial data, shp2img generates pictures from Oracle data well, and everything just seem working well. Unless I put them all together. Requesting map image from the box in browser and I get this: msDrawMap(): Image handling error. Failed to draw layer named 'BLD_BLDG'. msOracleSpatialLayerOpen(): OracleSpatial error. Cannot create OCI Handlers. Connection failure. Check the connection string. Error: . I've tried strace and checked the oracle trace log, and found this in the oracle log: Unable to find environment variable: ORACLE_HOME I've change the mapserver process to use oracle user, and I've then checked the spawn-fcgi process environment at /proc/ directory and see that there are variables in it. I've even tried adding ORACLE_HOME variable to /etc/profile, but still can't get it working. What is wrong? Or what have I missed? P.S. I could have post the whole strace log here, but it's too long so if anyone really need it to get a clue, just give a mail to me. _______________________________________________ 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 cheung.jackey at gmail.com Wed May 22 18:34:15 2013 From: cheung.jackey at gmail.com (Jackey Cheung) Date: Thu, 23 May 2013 09:34:15 +0800 Subject: [mapserver-users] ORACLE_HOME problem when using spawn-fcgi + mapserver In-Reply-To: References: Message-ID: Thanks for your reply. Nginx doesn't have control on that. I've set the environment variable in spawn-fcgi (mapserver) startup script right from the beginning, and it's always there. As I said, I've checked spawn-fcgi's process environment, and can see the ORACLE_HOME is there. On Wed, May 22, 2013 at 8:14 PM, richard.suematsu at syncadd.com < richard.suematsu at syncadd.com> wrote: > I could be wrong but I believe /etc/profile is only loaded when you > spawn a shell. You can try force the issue and set the oracle home in your > startup script for nginx and work backwards from there. > > Sent from my iPhone > > On May 22, 2013, at 1:38 AM, "Jackey Cheung" > wrote: > > Hi, > > I'm setting up a nginx + spawn-fcgi + mapserver centos box.I've > installed everything. The web site (nginx) is working, Oracle is working > fine and returning spatial data, shp2img generates pictures from Oracle > data well, and everything just seem working well. Unless I put them all > together. > > Requesting map image from the box in browser and I get this: > msDrawMap(): Image handling error. Failed to draw layer named 'BLD_BLDG'. > msOracleSpatialLayerOpen(): OracleSpatial error. Cannot create OCI > Handlers. Connection failure. Check the connection string. Error: . > > I've tried strace and checked the oracle trace log, and found this in > the oracle log: > comp_id='clients' > type='UNKNOWN' level='16' host_id='55.gz.rd.mapking.com' > host_addr='127.0.0.1'> > Unable to find environment variable: ORACLE_HOME > > > > I've change the mapserver process to use oracle user, and I've then > checked the spawn-fcgi process environment at /proc/ directory and see that > there are variables in it. I've even tried adding ORACLE_HOME variable to > /etc/profile, but still can't get it working. > > What is wrong? Or what have I missed? > > P.S. I could have post the whole strace log here, but it's too long so > if anyone really need it to get a clue, just give a mail to me. > > _______________________________________________ > 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 cheung.jackey at gmail.com Thu May 23 00:53:30 2013 From: cheung.jackey at gmail.com (Jackey Cheung) Date: Thu, 23 May 2013 15:53:30 +0800 Subject: [mapserver-users] STYLEITEM AUTO or similar for other connection types? Message-ID: Hi all, Just a short question, does the STYLEITEM supported only for OGR? Say I have a column that stores OGR style definitions in Oracle. Must I use OGR connection type to utilize those styles? I've tried use ORACLESPATIAL, but can't seem to use those styles. -------------- next part -------------- An HTML attachment was scrubbed... URL: From szekerest at gmail.com Thu May 23 01:39:08 2013 From: szekerest at gmail.com (Tamas Szekeres) Date: Thu, 23 May 2013 10:39:08 +0200 Subject: [mapserver-users] STYLEITEM AUTO or similar for other connection types? In-Reply-To: References: Message-ID: Hi, Assuming the style definition exists in OGR style format or in MapServer STYLE or CLASS definitions, you can use STYLEITEM "attributename" which should work with all drivers (not just with OGR) When using the OGR driver (and not using the MapInfo driver), you should use OGR_STYLE as the attribute name to have the feature style set up by OGR automatically. In this case the style attribute should contain OGR style strings. Best regards, Tamas 2013/5/23 Jackey Cheung > Hi all, > > Just a short question, does the STYLEITEM supported only for OGR? > > Say I have a column that stores OGR style definitions in Oracle. Must I > use OGR connection type to utilize those styles? I've tried use > ORACLESPATIAL, but can't seem to use those styles. > > _______________________________________________ > 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 Weisbend at WAPA.GOV Thu May 23 12:37:57 2013 From: Weisbend at WAPA.GOV (Weisbender, Eric) Date: Thu, 23 May 2013 19:37:57 +0000 Subject: [mapserver-users] Compile MapServer with ArcServer 10 support Message-ID: <9FE7B20682D2EE4CB9F40163E1EB4F0898061F@afovsml1m.WAPA.INT> Steve, I Trying to MapServer with ArcServer 10 support using an EDN License. First off, is this possible and secondly do you have an Idea of what disks I might find the include header and lib files on? Thanks, Eric Weisbender -----Original Message----- From: Lime, Steve D (MNIT) [mailto:Steve.Lime at state.mn.us] Sent: March 18, 2013 2:04 PM To: Weisbender, Eric; Smith, Michael ERDC-CRREL-NH; mapserver-users at lists.osgeo.org Subject: RE: [mapserver-users] Compile MapServer with ArcServer 10 support (UNCLASSIFIED) I've successfully compiled against 10.0 on SuSE 11 (64-bit). Files were part of an SDE client DVD I had access to. Looks like: root at maps:/opt/sde/sdeexe100> ls * etc: services.sde include: pe_coordsys_from_prj.h pedef.h pef.h pe_names.h sderaster.h sgerr.h sqlerr.h pe_database.h pe_errno.h pe.h sdeerno.h sdetype.h sg.h sqlerrors.h lib: concurrent.jar libgsrvrora11g100.so libicuuc.so.40.1 libsdedb2srvr100.so libsg.a icu4j_3_2.jar libgsrvrpg100.so libpe.a libsdeinfsrvr100.so libsg.so jpe_sdk.jar libicudata.so libpe.so libsdejavautil.so libxerces-c.so jsde_sdk.jar libicudata.so.40 libpq.so libsdeora10gsrvr100.so libxerces-c.so.27 libgsrvrdb2100.so libicudata.so.40.1 libpq.so.5 libsdeora11gsrvr100.so libxerces-c.so.27.0 libgsrvrinf100.so libicuuc.so libpq.so.5.1 libsdepgsrvr100.so libgsrvrora10g100.so libicuuc.so.40 libsde.a libsde.so Compiling was pretty straight forward. I used the following SDE-related options: ./configure [lots of options removed] --with-sde=/opt/sde/sdeexe100 --with-sde-version=100 CFLAGS=-DSDE64 Took a while to figure out the CFLAGS. Steve ________________________________________ From: mapserver-users-bounces at lists.osgeo.org [mapserver-users-bounces at lists.osgeo.org] on behalf of Weisbender, Eric [Weisbend at WAPA.GOV] Sent: Monday, March 18, 2013 2:44 PM To: Smith, Michael ERDC-CRREL-NH; mapserver-users at lists.osgeo.org Subject: Re: [mapserver-users] Compile MapServer with ArcServer 10 support (UNCLASSIFIED) Thanks Mike, We are on linux. Can you give me an idea of what the development headers look like and where in the sde file structure I might find them? MapServer Documentation on references arcsde 9.2. Thanks, Eric Weisbender GIS Program Lead Western Area Power Administration Corporate Service Office U.S. Dept. of Energy 12155 W. Alameda Parkway Lakewood, CO office: (720) 962-7280 fax: (720) 962-7269 email: weisbend at wapa.gov 39?42'25.06"N 105? 8'13.61"W -----Original Message----- From: Smith, Michael ERDC-CRREL-NH [mailto:Michael.Smith at usace.army.mil] Sent: March 18, 2013 1:32 PM To: Weisbender, Eric; mapserver-users at lists.osgeo.org Subject: RE: Compile MapServer with ArcServer 10 support (UNCLASSIFIED) Classification: UNCLASSIFIED Caveats: NONE Eric, I assume you mean ArcSDE support? If so, on windows, the ms4w release includes ArcSDE support. Find it at http://www.maptools.org/ms4w/ For linux, you just need to reference the arcsde development headers path in the ./configure path for --with-arcsde. Mike Michael Smith Remote Sensing/GIS Center US Army Corps of Engineers -----Original Message----- From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Weisbender, Eric Sent: Monday, March 18, 2013 3:22 PM To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] Compile MapServer with ArcServer 10 support Hello, Is there any documentation on how to compile MapServer with ArcServer 10 support? Any help is greatly appreciated. Thanks, Eric Weisbender Classification: UNCLASSIFIED Caveats: NONE _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From Weisbend at WAPA.GOV Thu May 23 13:06:08 2013 From: Weisbend at WAPA.GOV (Weisbender, Eric) Date: Thu, 23 May 2013 20:06:08 +0000 Subject: [mapserver-users] MapServer and SDE Message-ID: <9FE7B20682D2EE4CB9F40163E1EB4F08980658@afovsml1m.WAPA.INT> I apologize for that last email being so garbled. I'm trying to do several things at once. Anyway, here is what I was meaning to ask. I am trying to compile MapServer with ArcServer 10 support using an EDN License. First off, is this possible with just EDN and secondly do you have an Idea of what disks I might find the include header and lib files on? Thanks, Eric Weisbender -------------- next part -------------- An HTML attachment was scrubbed... URL: From cheung.jackey at gmail.com Thu May 23 18:15:34 2013 From: cheung.jackey at gmail.com (Jackey Cheung) Date: Fri, 24 May 2013 09:15:34 +0800 Subject: [mapserver-users] STYLEITEM AUTO or similar for other connection types? In-Reply-To: References: Message-ID: Hi Tamas, Thanks for your reply. I've made the OGR part right, and can generate maps. However, the work I have on hand is not satisfied yet. Basically, the project uses MapInfo+Oracle. So in order to make it work on both MapInfo and MapServer, I have to populate two style columns, MI_STYLE populated by MapInfo automatically, and the OGR_STYLE populated by hand or extra program (or script). I have used ogr2ogr to convert data originally. But ogr2ogr can only populate the OGR_STYLE column. Whilst MapInfo can only populate the MI_STYLE column. I still figuring out a solution to this. On Thu, May 23, 2013 at 4:39 PM, Tamas Szekeres wrote: > Hi, > > Assuming the style definition exists in OGR style format or in MapServer > STYLE or CLASS definitions, you can use STYLEITEM "attributename" which > should work with all drivers (not just with OGR) > > When using the OGR driver (and not using the MapInfo driver), you should > use OGR_STYLE as the attribute name to have the feature style set up by OGR > automatically. In this case the style attribute should contain OGR style > strings. > > > Best regards, > > Tamas > > > > 2013/5/23 Jackey Cheung > >> Hi all, >> >> Just a short question, does the STYLEITEM supported only for OGR? >> >> Say I have a column that stores OGR style definitions in Oracle. Must I >> use OGR connection type to utilize those styles? I've tried use >> ORACLESPATIAL, but can't seem to use those styles. >> >> _______________________________________________ >> 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 hishanm at gmail.com Fri May 24 19:06:12 2013 From: hishanm at gmail.com (Hishan Melanga) Date: Sat, 25 May 2013 07:36:12 +0530 Subject: [mapserver-users] How to configure mapserver as a tile server? Message-ID: I have a working mapserver and I can view my map using http://localhost/cgi-bin/mapserv?map=/path/to/map&mode=browse&template=openlayers&layers=all. Now I want to give out those data to public as tiles giving a single URL such as tile.myserver.org . How can I achieve this using Mapserver? What is the place to start? What tutorials I have to read? I've read that Mapserver has a tile mode. Thanks in advance. -- ?????? ????? | Hishan Melanga -------------- next part -------------- An HTML attachment was scrubbed... URL: From woodbri at swoodbridge.com Fri May 24 19:37:59 2013 From: woodbri at swoodbridge.com (Stephen Woodbridge) Date: Fri, 24 May 2013 22:37:59 -0400 Subject: [mapserver-users] How to configure mapserver as a tile server? In-Reply-To: References: Message-ID: <51A02407.4040101@swoodbridge.com> On 5/24/2013 10:06 PM, Hishan Melanga wrote: > I have a working mapserver and I can view my map using > http://localhost/cgi-bin/mapserv?map=/path/to/map&mode=browse&template=openlayers&layers=all. > Now I want to give out those data to public as tiles giving a single URL > such as tile.myserver.org . How can I achieve > this using Mapserver? What is the place to start? What tutorials I have > to read? I've read that Mapserver has a tile mode > . > Thanks in advance. mapcache it the tile server for mapserver. So you will want to look at that. The basic scenario is this: 1. setup mapserver as a WMS server 2. build and install mapcache as an apache module 3. setup a mapcache.xml to describe you WMS server, and your cache. make sure you configure the demo service initially for testing you can disable it later if you want 4. restart apache 5. http://example.com/mapcache/demo whenever you change your mapcache.xml you need to start apache so it reads your changes. -Steve W From hishanm at gmail.com Fri May 24 21:57:53 2013 From: hishanm at gmail.com (Hishan Melanga) Date: Sat, 25 May 2013 10:27:53 +0530 Subject: [mapserver-users] Can not execute "make ./configure" command in mapcache downloaded folder In-Reply-To: References: Message-ID: Thanks Thomas. On Fri, May 17, 2013 at 10:49 PM, thomas bonfort wrote: > Sorry, missed this one earlier... > > mapcache now builds with cmake > > mkdir build > cd build > cmake .. > # follow instructions if missing a dependency > make > sudo make install > > (and yes, the docs need updating ...) > > -- > thomas > > > > On 17 May 2013 19:09, Thomas Gratier wrote: > >> Hello, >> >> Read the INSTALL file >> https://github.com/mapserver/mapcache/blob/master/INSTALL that say run >> autoconf >> when compiling using code from git >> >> Regards >> >> Thomas Gratier >> >> >> >> 2013/5/17 Hishan Melanga >> >>> Is the configure script file missing? >>> >>> >>> On Fri, May 17, 2013 at 7:06 PM, Hishan Melanga wrote: >>> >>>> >>>> I downlaoded mapcache folder from the given link >>>> >>>> git clone git://github.com/mapserver/mapcache.git >>>> >>>> >>>> >>>> >>>> >>>> But I could not find a way to do the ./configure as specified in the >>>> INSTALL file included inside that directory. Please help me to install this >>>> and tell me how to make the configure file. Currently I am using osgeo-6.5. >>>> >>>> Thanks in advance. >>>> -- >>>> ?????? ????? | Hishan Melanga >>>> >>> >>> >>> >>> -- >>> ?????? ????? | Hishan Melanga >>> >>> _______________________________________________ >>> 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 >> >> > -- ?????? ????? | Hishan Melanga -------------- next part -------------- An HTML attachment was scrubbed... URL: From hishanm at gmail.com Fri May 24 22:12:13 2013 From: hishanm at gmail.com (Hishan Melanga) Date: Sat, 25 May 2013 10:42:13 +0530 Subject: [mapserver-users] How to configure mapserver as a tile server? In-Reply-To: <51A02407.4040101@swoodbridge.com> References: <51A02407.4040101@swoodbridge.com> Message-ID: Thanks. I installed mapcahe and started to learn about the xml configuration file. Reading http://mapserver.org/mapcache/config.html as a start. Hope it is the first thing that I should do. On Sat, May 25, 2013 at 8:07 AM, Stephen Woodbridge wrote: > On 5/24/2013 10:06 PM, Hishan Melanga wrote: > >> I have a working mapserver and I can view my map using >> http://localhost/cgi-bin/**mapserv?map=/path/to/map&mode=** >> browse&template=openlayers&**layers=all >> . >> Now I want to give out those data to public as tiles giving a single URL >> such as tile.myserver.org . How can I achieve >> >> this using Mapserver? What is the place to start? What tutorials I have >> to read? I've read that Mapserver has a tile mode >> >> >. >> Thanks in advance. >> > > mapcache it the tile server for mapserver. So you will want to look at > that. The basic scenario is this: > > 1. setup mapserver as a WMS server > 2. build and install mapcache as an apache module > 3. setup a mapcache.xml to describe you WMS server, and your cache. > make sure you configure the demo service initially for testing > you can disable it later if you want > 4. restart apache > 5. http://example.com/mapcache/**demo > > whenever you change your mapcache.xml you need to start apache so it reads > your changes. > > -Steve W > ______________________________**_________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.**org > http://lists.osgeo.org/**mailman/listinfo/mapserver-**users > -- ?????? ????? | Hishan Melanga -------------- next part -------------- An HTML attachment was scrubbed... URL: From hishanm at gmail.com Sat May 25 06:47:32 2013 From: hishanm at gmail.com (Hishan Melanga) Date: Sat, 25 May 2013 19:17:32 +0530 Subject: [mapserver-users] How to configure mapserver as a tile server? In-Reply-To: References: <51A02407.4040101@swoodbridge.com> Message-ID: ok. Now I have http://example.com/mapcache/demo working. But how can I get my mapserver's wms connect to it. On Sat, May 25, 2013 at 10:42 AM, Hishan Melanga wrote: > Thanks. I installed mapcahe and started to learn about the xml > configuration file. Reading http://mapserver.org/mapcache/config.html as > a start. Hope it is the first thing that I should do. > > > On Sat, May 25, 2013 at 8:07 AM, Stephen Woodbridge < > woodbri at swoodbridge.com> wrote: > >> On 5/24/2013 10:06 PM, Hishan Melanga wrote: >> >>> I have a working mapserver and I can view my map using >>> http://localhost/cgi-bin/**mapserv?map=/path/to/map&mode=** >>> browse&template=openlayers&**layers=all >>> . >>> Now I want to give out those data to public as tiles giving a single URL >>> such as tile.myserver.org . How can I achieve >>> >>> this using Mapserver? What is the place to start? What tutorials I have >>> to read? I've read that Mapserver has a tile mode >>> >>> >. >>> Thanks in advance. >>> >> >> mapcache it the tile server for mapserver. So you will want to look at >> that. The basic scenario is this: >> >> 1. setup mapserver as a WMS server >> 2. build and install mapcache as an apache module >> 3. setup a mapcache.xml to describe you WMS server, and your cache. >> make sure you configure the demo service initially for testing >> you can disable it later if you want >> 4. restart apache >> 5. http://example.com/mapcache/**demo >> >> whenever you change your mapcache.xml you need to start apache so it >> reads your changes. >> >> -Steve W >> ______________________________**_________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.**org >> http://lists.osgeo.org/**mailman/listinfo/mapserver-**users >> > > > > -- > ?????? ????? | Hishan Melanga > -- ?????? ????? | Hishan Melanga -------------- next part -------------- An HTML attachment was scrubbed... URL: From woodbri at swoodbridge.com Sat May 25 07:17:05 2013 From: woodbri at swoodbridge.com (Stephen Woodbridge) Date: Sat, 25 May 2013 10:17:05 -0400 Subject: [mapserver-users] How to configure mapserver as a tile server? In-Reply-To: References: <51A02407.4040101@swoodbridge.com> Message-ID: <51A0C7E1.3010300@swoodbridge.com> So the way this works is: browser <----> mapcache <----> mapserver_wms So look at the demo page if you have mapcache.xml configured then you should see a simple OpenLayers application that pulls tiles from mapcache. your mapcache.xml needs look something like this. The referrences in the source block are explicit references to names in my mapfile. Obviously parameter values need to be change for your server and mapfile. -Steve iMaptools mapcache service Contains various services for iMaptools maps /u/mapcache image/png agg_qn Tiger_2011 /u/data/tiger2011-maps/tiger2011-mc.map http://localhost/cgi-bin/mapserv-60 fast 256 tiger2011 disk WGS84 g PNGQ_FAST 5 5 20 3600 PNGQ_FAST assemble bilinear PNGQ_FAST 4096 report /tmp On 5/25/2013 9:47 AM, Hishan Melanga wrote: > ok. Now I have http://example.com/mapcache/demo working. But how can I > get my mapserver's wms connect to it. > > > On Sat, May 25, 2013 at 10:42 AM, Hishan Melanga > wrote: > > Thanks. I installed mapcahe and started to learn about the xml > configuration file. Reading > http://mapserver.org/mapcache/config.html as a start. Hope it is the > first thing that I should do. > > > On Sat, May 25, 2013 at 8:07 AM, Stephen Woodbridge > > wrote: > > On 5/24/2013 10:06 PM, Hishan Melanga wrote: > > I have a working mapserver and I can view my map using > http://localhost/cgi-bin/__mapserv?map=/path/to/map&mode=__browse&template=openlayers&__layers=all > . > Now I want to give out those data to public as tiles giving > a single URL > such as tile.myserver.org > . How can I achieve > > this using Mapserver? What is the place to start? What > tutorials I have > to read? I've read that Mapserver has a tile mode > >. > Thanks in advance. > > > mapcache it the tile server for mapserver. So you will want to > look at that. The basic scenario is this: > > 1. setup mapserver as a WMS server > 2. build and install mapcache as an apache module > 3. setup a mapcache.xml to describe you WMS server, and your cache. > make sure you configure the demo service initially for testing > you can disable it later if you want > 4. restart apache > 5. http://example.com/mapcache/__demo > > > whenever you change your mapcache.xml you need to start apache > so it reads your changes. > > -Steve W > _________________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.__org > > http://lists.osgeo.org/__mailman/listinfo/mapserver-__users > > > > > > -- > ?????? ????? | Hishan Melanga > > > > > -- > ?????? ????? | Hishan Melanga > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > From hishanm at gmail.com Sat May 25 20:08:36 2013 From: hishanm at gmail.com (Hishan Melanga) Date: Sun, 26 May 2013 08:38:36 +0530 Subject: [mapserver-users] How to configure mapserver as a tile server? In-Reply-To: <51A0C7E1.3010300@swoodbridge.com> References: <51A02407.4040101@swoodbridge.com> <51A0C7E1.3010300@swoodbridge.com> Message-ID: What is the link to access the tiles in web browser if I used your .xml as the configuration? Is it still http://example.com/mapcache/demo or something else. On Sat, May 25, 2013 at 7:47 PM, Stephen Woodbridge wrote: > So the way this works is: > > browser <----> mapcache <----> mapserver_wms > > So look at the demo page if you have mapcache.xml configured then you > should see a simple OpenLayers application that pulls tiles from mapcache. > > your mapcache.xml needs look something like this. The referrences in the > source block are explicit references to names in my mapfile. Obviously > parameter values need to be change for your server and mapfile. > > -Steve > > > > > iMaptools mapcache service > Contains various services for iMaptools maps > > > > /u/mapcache > > > > > > > image/png > agg_qn > Tiger_2011 > /u/data/tiger2011-maps/**tiger2011-mc.map > > > > > http://localhost/cgi-bin/**mapserv-60 > > > > > > fast > 256 > > > > tiger2011 > disk > WGS84 > g > PNGQ_FAST > 5 5 > > 20 > 3600 > > > PNGQ_FAST > > > assemble > bilinear > PNGQ_FAST > 4096 > > > > > > > > > report > /tmp > > > > > > On 5/25/2013 9:47 AM, Hishan Melanga wrote: > >> ok. Now I have http://example.com/mapcache/**demoworking. But how can I >> get my mapserver's wms connect to it. >> >> >> On Sat, May 25, 2013 at 10:42 AM, Hishan Melanga > > wrote: >> >> Thanks. I installed mapcahe and started to learn about the xml >> configuration file. Reading >> http://mapserver.org/mapcache/**config.htmlas a start. Hope it is the >> first thing that I should do. >> >> >> On Sat, May 25, 2013 at 8:07 AM, Stephen Woodbridge >> >> >> wrote: >> >> On 5/24/2013 10:06 PM, Hishan Melanga wrote: >> >> I have a working mapserver and I can view my map using >> http://localhost/cgi-bin/__**mapserv?map=/path/to/map&mode=** >> __browse&template=openlayers&_**_layers=all >> > browse&template=openlayers&**layers=all >> >. >> >> Now I want to give out those data to public as tiles giving >> a single URL >> such as tile.myserver.org >> >> . How can I achieve >> >> this using Mapserver? What is the place to start? What >> tutorials I have >> to read? I've read that Mapserver has a tile mode >> >> >> >> >>. >> Thanks in advance. >> >> >> mapcache it the tile server for mapserver. So you will want to >> look at that. The basic scenario is this: >> >> 1. setup mapserver as a WMS server >> 2. build and install mapcache as an apache module >> 3. setup a mapcache.xml to describe you WMS server, and your >> cache. >> make sure you configure the demo service initially for testing >> you can disable it later if you want >> 4. restart apache >> 5. http://example.com/mapcache/__**demo >> >> >> > >> >> whenever you change your mapcache.xml you need to start apache >> so it reads your changes. >> >> -Steve W >> ______________________________**___________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.__**org >> >> > >> http://lists.osgeo.org/__**mailman/listinfo/mapserver-__**users >> >> > >> >> >> >> >> -- >> ?????? ????? | Hishan Melanga >> > >> >> >> >> >> -- >> ?????? ????? | Hishan Melanga >> > >> >> >> >> ______________________________**_________________ >> 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 > -- ?????? ????? | Hishan Melanga -------------- next part -------------- An HTML attachment was scrubbed... URL: From woodbri at swoodbridge.com Sat May 25 20:51:50 2013 From: woodbri at swoodbridge.com (Stephen Woodbridge) Date: Sat, 25 May 2013 23:51:50 -0400 Subject: [mapserver-users] How to configure mapserver as a tile server? In-Reply-To: References: <51A02407.4040101@swoodbridge.com> <51A0C7E1.3010300@swoodbridge.com> Message-ID: <51A186D6.8060806@swoodbridge.com> On 5/25/2013 11:08 PM, Hishan Melanga wrote: > What is the link to access the tiles in web browser if I used your .xml > as the configuration? Is it still http://example.com/mapcache/demo or > something else. You would replace example.com with your host name. Also note the blue (+] buttom in the upper right of the demo map page, open this is you have multiple services or tilesets defined and you can select that one you want to view. Here is my demo page that has data for the US and is pulling tiles from my mapcache instance. http://imaptools.com:8080/demo/tiger-demo2.html -Steve > On Sat, May 25, 2013 at 7:47 PM, Stephen Woodbridge > > wrote: > > So the way this works is: > > browser <----> mapcache <----> mapserver_wms > > So look at the demo page if you have mapcache.xml configured then > you should see a simple OpenLayers application that pulls tiles from > mapcache. > > your mapcache.xml needs look something like this. The referrences in > the source block are explicit references to names in my mapfile. > Obviously parameter values need to be change for your server and > mapfile. > > -Steve > > > > > iMaptools mapcache service > Contains various services for iMaptools maps > > > > /u/mapcache > > > > > > > image/png > agg_qn > Tiger_2011 > /u/data/tiger2011-maps/__tiger2011-mc.map > > > > > http://localhost/cgi-bin/__mapserv-60 > > > > > > fast > 256 > > > > tiger2011 > disk > WGS84 > g > PNGQ_FAST > 5 5 > > 20 > 3600 > > > PNGQ_FAST > > > assemble > bilinear > PNGQ_FAST > 4096 > > > > > > > > > report > /tmp > > > > > > On 5/25/2013 9:47 AM, Hishan Melanga wrote: > > ok. Now I have http://example.com/mapcache/__demo > working. But how can I > get my mapserver's wms connect to it. > > > On Sat, May 25, 2013 at 10:42 AM, Hishan Melanga > > >> wrote: > > Thanks. I installed mapcahe and started to learn about the xml > configuration file. Reading > http://mapserver.org/mapcache/__config.html > as a start. Hope it > is the > first thing that I should do. > > > On Sat, May 25, 2013 at 8:07 AM, Stephen Woodbridge > > >> wrote: > > On 5/24/2013 10:06 PM, Hishan Melanga wrote: > > I have a working mapserver and I can view my map using > http://localhost/cgi-bin/____mapserv?map=/path/to/map&mode=____browse&template=openlayers&____layers=all > > > >. > > Now I want to give out those data to public as > tiles giving > a single URL > such as tile.myserver.org > > > . How can I achieve > > this using Mapserver? What is the place to start? What > tutorials I have > to read? I've read that Mapserver has a tile mode > > > >>. > Thanks in advance. > > > mapcache it the tile server for mapserver. So you will > want to > look at that. The basic scenario is this: > > 1. setup mapserver as a WMS server > 2. build and install mapcache as an apache module > 3. setup a mapcache.xml to describe you WMS server, and > your cache. > make sure you configure the demo service initially > for testing > you can disable it later if you want > 4. restart apache > 5. http://example.com/mapcache/____demo > > > > > > whenever you change your mapcache.xml you need to start > apache > so it reads your changes. > > -Steve W > ___________________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.____org > > > http://lists.osgeo.org/____mailman/listinfo/mapserver-____users > > > > > > > > > -- > ?????? ????? | Hishan Melanga > > > > > > > -- > ?????? ????? | Hishan Melanga > > > > > > _________________________________________________ > 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 > > > > > > -- > ?????? ????? | Hishan Melanga > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > From hishanm at gmail.com Sun May 26 00:14:57 2013 From: hishanm at gmail.com (Hishan Melanga) Date: Sun, 26 May 2013 12:44:57 +0530 Subject: [mapserver-users] How to configure mapserver as a tile server? In-Reply-To: <51A186D6.8060806@swoodbridge.com> References: <51A02407.4040101@swoodbridge.com> <51A0C7E1.3010300@swoodbridge.com> <51A186D6.8060806@swoodbridge.com> Message-ID: Can you take a look at my mapcache.xmland my osm-google.mapfile? I don't know what I have done wrong. It's not producing the tiles. On Sun, May 26, 2013 at 9:21 AM, Stephen Woodbridge wrote: > On 5/25/2013 11:08 PM, Hishan Melanga wrote: > >> What is the link to access the tiles in web browser if I used your .xml >> as the configuration? Is it still http://example.com/mapcache/**demoor >> something else. >> > > You would replace example.com with your host name. > > Also note the blue (+] buttom in the upper right of the demo map page, > open this is you have multiple services or tilesets defined and you can > select that one you want to view. > > Here is my demo page that has data for the US and is pulling tiles from my > mapcache instance. > > http://imaptools.com:8080/**demo/tiger-demo2.html > > -Steve > > > On Sat, May 25, 2013 at 7:47 PM, Stephen Woodbridge >> >> >> wrote: >> >> So the way this works is: >> >> browser <----> mapcache <----> mapserver_wms >> >> So look at the demo page if you have mapcache.xml configured then >> you should see a simple OpenLayers application that pulls tiles from >> mapcache. >> >> your mapcache.xml needs look something like this. The referrences in >> the source block are explicit references to names in my mapfile. >> Obviously parameter values need to be change for your server and >> mapfile. >> >> -Steve >> >> >> >> >> iMaptools mapcache service >> Contains various services for iMaptools maps >> >> >> >> /u/mapcache >> >> >> >> >> >> >> image/png >> agg_qn >> Tiger_2011 >> /u/data/tiger2011-maps/__**tiger2011-mc.map >> >> >> >> >> http://localhost/cgi-bin/**__mapserv-60 >> >> >> > >> >> >> >> >> fast >> >> 256 >> >> >> >> tiger2011 >> disk >> WGS84 >> g >> PNGQ_FAST >> 5 5 >> >> 20 >> 3600 >> >> >> PNGQ_FAST >> >> >> >> assemble >> bilinear >> >> PNGQ_FAST >> 4096 >> >> >> >> >> >> >> >> >> report >> /tmp >> >> >> >> >> >> On 5/25/2013 9:47 AM, Hishan Melanga wrote: >> >> ok. Now I have http://example.com/mapcache/__**demo >> >> > >> working. But how can I >> get my mapserver's wms connect to it. >> >> >> On Sat, May 25, 2013 at 10:42 AM, Hishan Melanga >> >> >> wrote: >> >> Thanks. I installed mapcahe and started to learn about the >> xml >> configuration file. Reading >> http://mapserver.org/mapcache/**__config.html >> >> > >> as a start. Hope it >> is the >> first thing that I should do. >> >> >> On Sat, May 25, 2013 at 8:07 AM, Stephen Woodbridge >> >> > >> > >> >>> >> wrote: >> >> On 5/24/2013 10:06 PM, Hishan Melanga wrote: >> >> I have a working mapserver and I can view my map >> using >> http://localhost/cgi-bin/____**mapserv?map=/path/to/map&mode=** >> ____browse&template=**openlayers&____layers=all >> > __browse&template=openlayers&_**_layers=all >> > >> >> >> > __browse&template=openlayers&_**_layers=all >> > browse&template=openlayers&**layers=all >> >>. >> >> Now I want to give out those data to public as >> tiles giving >> a single URL >> such as tile.myserver.org >> >> >> >> . How can I achieve >> >> this using Mapserver? What is the place to start? >> What >> tutorials I have >> to read? I've read that Mapserver has a tile mode >> >> >> > >> >> >> >> >> >>>. >> Thanks in advance. >> >> >> mapcache it the tile server for mapserver. So you will >> want to >> look at that. The basic scenario is this: >> >> 1. setup mapserver as a WMS server >> 2. build and install mapcache as an apache module >> 3. setup a mapcache.xml to describe you WMS server, and >> your cache. >> make sure you configure the demo service initially >> for testing >> you can disable it later if you want >> 4. restart apache >> 5. http://example.com/mapcache/__**__demo >> >> > >> >> >> >> >> >> >> >> whenever you change your mapcache.xml you need to start >> apache >> so it reads your changes. >> >> -Steve W >> ______________________________**_____________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.__**__org >> > >> >> >> http://lists.osgeo.org/____**mailman/listinfo/mapserver-___** >> _users >> >> > >> >> >> >> >> >> >> >> >> >> >> -- >> ?????? ????? | Hishan Melanga >> >> >> >> >> >> >> >> >> >> -- >> ?????? ????? | Hishan Melanga >> >> >> >> >> >> >> >> >> ______________________________**___________________ >> 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 >> >> > >> >> >> >> >> -- >> ?????? ????? | Hishan Melanga >> > >> >> >> ______________________________**_________________ >> 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 > -- ?????? ????? | Hishan Melanga -------------- next part -------------- An HTML attachment was scrubbed... URL: From woodbri at swoodbridge.com Sun May 26 06:48:32 2013 From: woodbri at swoodbridge.com (Stephen Woodbridge) Date: Sun, 26 May 2013 09:48:32 -0400 Subject: [mapserver-users] How to configure mapserver as a tile server? In-Reply-To: References: <51A02407.4040101@swoodbridge.com> <51A0C7E1.3010300@swoodbridge.com> <51A186D6.8060806@swoodbridge.com> Message-ID: <51A212B0.6090006@swoodbridge.com> For one thing Your mapcache.xml is requesting an image type agg_qn and that is not defined in your mapfile. It can be defined like: OUTPUTFORMAT NAME "agg_qn" DRIVER "AGG/PNG" EXTENSION "png" MIMETYPE "image/png" IMAGEMODE RGB FORMATOPTION "INTERLACE=false" FORMATOPTION "QUANTIZE_NEW=ON" FORMATOPTION "QUANTIZE_FORCE=ON" FORMATOPTION "QUANTIZE_DITHER=OFF" FORMATOPTION "QUANTIZE_COLORS=256" #TRANSPARENT ON #FORMATOPTION "TRANSPARENT=ON" END Have you checked /var/log/apache2/error.log for error messages and checked your /tmp/ms_tmp/ms_error files? /tmp/mapcache. is where you will be putting your tiles, this needs to be read/writable by the apache2 service and it needs to have enough space for all your tiles. Also I believe you HAVE to make the top level cache directory so in your case: mkdir /tmp/mapcache/ms-base chmod 777 /tmp/mapcache/ms-base -Steve W On 5/26/2013 3:14 AM, Hishan Melanga wrote: > Can you take a look at my mapcache.xml > > and my osm-google.map > > file? I don't know what I have done wrong. It's not producing the tiles. > > > On Sun, May 26, 2013 at 9:21 AM, Stephen Woodbridge > > wrote: > > On 5/25/2013 11:08 PM, Hishan Melanga wrote: > > What is the link to access the tiles in web browser if I used > your .xml > as the configuration? Is it still > http://example.com/mapcache/__demo > or > something else. > > > You would replace example.com with your host name. > > Also note the blue (+] buttom in the upper right of the demo map > page, open this is you have multiple services or tilesets defined > and you can select that one you want to view. > > Here is my demo page that has data for the US and is pulling tiles > from my mapcache instance. > > http://imaptools.com:8080/__demo/tiger-demo2.html > > > -Steve > > > On Sat, May 25, 2013 at 7:47 PM, Stephen Woodbridge > > >> wrote: > > So the way this works is: > > browser <----> mapcache <----> mapserver_wms > > So look at the demo page if you have mapcache.xml > configured then > you should see a simple OpenLayers application that pulls > tiles from > mapcache. > > your mapcache.xml needs look something like this. The > referrences in > the source block are explicit references to names in my > mapfile. > Obviously parameter values need to be change for your > server and > mapfile. > > -Steve > > > > > iMaptools mapcache service > Contains various services for iMaptools > maps > > > > /u/mapcache > > > > > > > image/png > agg_qn > Tiger_2011 > /u/data/tiger2011-maps/____tiger2011-mc.map > > > > > http://localhost/cgi-bin/____mapserv-60 > > > > > > > > > fast > > 256 > > > > tiger2011 > disk > WGS84 > g > PNGQ_FAST > 5 5 > > 20 > 3600 > > > PNGQ_FAST > > > > assemble > bilinear > > PNGQ_FAST > 4096 > > > > > > > > > report > /tmp > > > > > > On 5/25/2013 9:47 AM, Hishan Melanga wrote: > > ok. Now I have http://example.com/mapcache/____demo > > > > working. But how can I > get my mapserver's wms connect to it. > > > On Sat, May 25, 2013 at 10:42 AM, Hishan Melanga > > > > > >>> wrote: > > Thanks. I installed mapcahe and started to learn > about the xml > configuration file. Reading > http://mapserver.org/mapcache/____config.html > > > > as a start. Hope it > is the > first thing that I should do. > > > On Sat, May 25, 2013 at 8:07 AM, Stephen Woodbridge > > > > ____com > > >>> wrote: > > On 5/24/2013 10:06 PM, Hishan Melanga wrote: > > I have a working mapserver and I can view > my map using > http://localhost/cgi-bin/______mapserv?map=/path/to/map&mode=______browse&template=__openlayers&____layers=all > > > > > > > > > > >>. > > Now I want to give out those data to public as > tiles giving > a single URL > such as tile.myserver.org > > > > > . How can I achieve > > this using Mapserver? What is the place to > start? What > tutorials I have > to read? I've read that Mapserver has a > tile mode > > > > > > > > > >>>. > Thanks in advance. > > > mapcache it the tile server for mapserver. So > you will > want to > look at that. The basic scenario is this: > > 1. setup mapserver as a WMS server > 2. build and install mapcache as an apache module > 3. setup a mapcache.xml to describe you WMS > server, and > your cache. > make sure you configure the demo service > initially > for testing > you can disable it later if you want > 4. restart apache > 5. http://example.com/mapcache/______demo > > > > > > > >> > > whenever you change your mapcache.xml you need > to start > apache > so it reads your changes. > > -Steve W > > _____________________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.______org > ____osgeo.org > >> > http://lists.osgeo.org/______mailman/listinfo/mapserver-______users > > > > > > > > > > >> > > > > > -- > ?????? ????? | Hishan Melanga > > > >> > > > > > -- > ?????? ????? | Hishan Melanga > > >> > > > > > ___________________________________________________ > 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 > > > > > > > > > -- > ?????? ????? | Hishan Melanga > > > > > _________________________________________________ > 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 > > > > > > -- > ?????? ????? | Hishan Melanga > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > From nmoyroud at free.fr Sun May 26 07:19:57 2013 From: nmoyroud at free.fr (nmoyroud) Date: Sun, 26 May 2013 07:19:57 -0700 (PDT) Subject: [mapserver-users] Unable to activate cache template in mapcache Message-ID: <1369577997033-5055805.post@n6.nabble.com> Hello, In mapcache when I use a template for my cache, and restart apache2 it doesn't work. I get the following message : "disk cache media has no base directory or template". Here is my mapcache.xml file : When I change for instead of