From support at geo6.be Tue Sep 1 03:08:07 2015 From: support at geo6.be (Geo-6) Date: Tue, 01 Sep 2015 12:08:07 +0200 Subject: [mapserver-users] PHP MapScript - Remove Layer labelitem/classitem Message-ID: <1ea35e52389354719c941d2d269f3999@geo6.be> Hi everyone, Probably a stupid question but I can't figure it out : I open a Layer through " $map->getLayer() " and I want to remove " labelitem " and " classitem" parameters. I tried to set these parameters to NULL " $layer->labelitem = NULL; " or " $layer->set('labelitem', NULL); " and to empty " $layer->labelitem = ''; " or " $layer->set('labelitem', ''); " but it doesn't remove the " LABELITEM " in the " LAYER " in the MapFile when I save the MapFile " $map->save() ". I found that setting an int/double parameter to -1 value removes it (like " maxscaledenom " or " minscaledenom "). How can I remove " labelitem " / " classitem " parameters ? Thanks a lot for your help ! MapFile before MapScript : LAYER NAME "test" CLASSITEM "myclasscolumn" LABELITEM "mylabelcolumn" ... END # LAYER MapFile after MapScript " $layer->set('labelitem', NULL); " and " $layer->set('classitem', NULL); " : LAYER NAME "test" CLASSITEM "" LABELITEM "" ... END # LAYER -- Jonathan Beli?n -------------- next part -------------- An HTML attachment was scrubbed... URL: From wal3 at mindspring.com Tue Sep 1 04:01:55 2015 From: wal3 at mindspring.com (Worth Lutz) Date: Tue, 1 Sep 2015 07:01:55 -0400 Subject: [mapserver-users] PHP MapScript - Remove Layer labelitem/classitem In-Reply-To: <1ea35e52389354719c941d2d269f3999@geo6.be> References: <1ea35e52389354719c941d2d269f3999@geo6.be> Message-ID: <55E585A3.1070608@mindspring.com> Have you tried unset($layer->labelitem); *Worth Lutz* On 9/1/2015 6:08 AM, Geo-6 wrote: > > Hi everyone, > > Probably a stupid question but I can't figure it out : > > I open a Layer through " $map->getLayer() " and I want to remove " > labelitem " and " classitem" parameters. > > I tried to set these parameters to NULL " $layer->labelitem = NULL; " > or " $layer->set('labelitem', NULL); " and to empty " > $layer->labelitem = ''; " or " $layer->set('labelitem', ''); " but it > doesn't remove the " LABELITEM " in the " LAYER " in the MapFile when > I save the MapFile " $map->save() ". > > I found that setting an int/double parameter to -1 value removes it > (like " maxscaledenom " or " minscaledenom "). > > How can I remove " labelitem " / " classitem " parameters ? > > Thanks a lot for your help ! > > MapFile before MapScript : > > LAYER > NAME "test" CLASSITEM "myclasscolumn" LABELITEM "mylabelcolumn" ... > END # LAYER > MapFile after MapScript " $layer->set('labelitem', NULL); " and " > $layer->set('classitem', NULL); " : > LAYER > NAME "test" CLASSITEM "" LABELITEM "" ... END # LAYER > -- > Jonathan Beli?n > > > > _______________________________________________ > 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 support at geo6.be Tue Sep 1 05:25:33 2015 From: support at geo6.be (Geo-6) Date: Tue, 01 Sep 2015 14:25:33 +0200 Subject: [mapserver-users] PHP MapScript - Remove Layer labelitem/classitem In-Reply-To: <55E585A3.1070608@mindspring.com> References: <1ea35e52389354719c941d2d269f3999@geo6.be> <55E585A3.1070608@mindspring.com> Message-ID: Hi, Thanks for you answer. I did try " unset($layer->labelitem); " but it didn't work. The layer keep the previous value of " labelitem " when I "unset" it. I forgot to tell that I use the Version 6.4.1 of MapScript PHP dll. --- Jonathan Beli?n On 01.09.2015 13:01, Worth Lutz wrote: > Have you tried > >> unset($layer->labelitem); > > WORTH LUTZ > > On 9/1/2015 6:08 AM, Geo-6 wrote: > >> Hi everyone, >> >> Probably a stupid question but I can't figure it out : >> >> I open a Layer through " $map->getLayer() " and I want to remove " labelitem " and " classitem" parameters. >> >> I tried to set these parameters to NULL " $layer->labelitem = NULL; " or " $layer->set('labelitem', NULL); " and to empty " $layer->labelitem = ''; " or " $layer->set('labelitem', ''); " but it doesn't remove the " LABELITEM " in the " LAYER " in the MapFile when I save the MapFile " $map->save() ". >> >> I found that setting an int/double parameter to -1 value removes it (like " maxscaledenom " or " minscaledenom "). >> >> How can I remove " labelitem " / " classitem " parameters ? >> >> Thanks a lot for your help ! >> >> MapFile before MapScript : >> >> LAYER >> NAME "test" >> CLASSITEM "myclasscolumn" >> LABELITEM "mylabelcolumn" >> ... >> END # LAYER >> >> MapFile after MapScript " $layer->set('labelitem', NULL); " and " $layer->set('classitem', NULL); " : >> >> LAYER >> NAME "test" >> CLASSITEM "" >> LABELITEM "" >> ... >> END # LAYER >> >> -- >> >> Jonathan Beli?n >> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users [1] > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users [1] Links: ------ [1] http://lists.osgeo.org/mailman/listinfo/mapserver-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From aperi2007 at gmail.com Tue Sep 1 13:41:07 2015 From: aperi2007 at gmail.com (Andrea Peri) Date: Tue, 1 Sep 2015 22:41:07 +0200 Subject: [mapserver-users] How avoid to render the NULL value of rasters from maps. Message-ID: Hi, I have a catalog of some rasters float32 (geotiffs). I was not able to find how to avoid that the NULL values that are offsite of information area could cover the rasters nearest. I see the mapserver renderize the NULL values as a white color so I try to use the setting OFFSITE "#ffffff00" but unfortunaltelly it put also transparent also some pixel inside the information area. The capability to ignore the NULL values is a lack of feature of mapserver or I'm wrong something ? Thx. -- ----------------- Andrea Peri . . . . . . . . . qwerty ????? ----------------- From pasquale.regina at enea.it Fri Sep 4 07:54:15 2015 From: pasquale.regina at enea.it (Pasquale Regina) Date: Fri, 4 Sep 2015 16:54:15 +0200 Subject: [mapserver-users] URL redirection under Apache2-Difference WMS and WFS server Message-ID: <005d01d0e721$9d9a3350$d8ce99f0$@enea.it> Greetings to everyone on the user list. Sorry for my english. I have a problem to submit because I cannot frame it properly: I do not expect that you will solve it but you can provide guidance on how to deal with it and I move on. According with mapserver wms server howto at http://mapserver.org/ogc/wms_server.html, in section ?Changing the Online Resource URL? I follow the indication ?Apache environment variables ? MS_MAPFILE?. So I create a link in http cgi-bin folder named mywms which points to /usr/lib/cgi-bin/mapserv, the application/executable file. My http.conf file contain instruction: Alias /mywms /usr/lib/cgi-bin/mapserver SetHandler cgi-script Options ExecCGI SetEnv MS_MAPFILE /var/www/biss.org/public_html/pmapper/config/default/pmapper_demo_wms.map And the application correctly works and in a wms gis client I can connect to wms server with follow link www.biss.org/mywms. This is configuration to access to a single default mapfile (pmapper_demo_wms.map). In a similar way for a wfs server with pmapper_demo_wfs.map (mywfs link in cgi-bin folder, ) My project manager wants to change the settings of project by create individual mapfile (not only one, the default) for each registered user and so I need to access the individual mapfiles inserting different links: in other words in a wms gis client I put the link www.biss.org/mywms_123_45 to point to the file pmapper_demo_wms_123_45.map (123_45 represents a registered user id, one of actually 75 registered users!! So I don?t create 75 and on link ). The map files are created automatically by the database on user?s registration for both wms e wfs mapfile. So I changed in http.conf toward rewrite rule solution (and remove references to Alias /mywxx and for both mywms and mywfs) in . RewriteEngine on RewriteRule myw?(.)s(.*)$ /cgi-bin/mapserv?map=/var/www/biss.org/public_html/pmapper/config/default/pm apper_demo_w$1s$2.map&SERVICE=W$1S&REQUEST=GetCapabilities& So when I put http://www.biss.org/mywms_123_45 in QGIS --> add WMS layer it works because point to pmapper_demo_wms_123_45.map&SERVICE=WmS&REQUEST=GetCapabilities according to $1=m and $2=_123_45 variables. The problem arises with wfs request in QGIS ? add WFS vector. Putting http://www.biss.org/mywfs_123_45 QGIS (and other wfs client similar) sends the response in attached ?Il server WFS non supporta la versione WFS 1.0.0 oppure l? URL ? errato? (Italian language!!) while putting http://www.biss.org/cgi-bin/mapserv?map=/var/www/biss.org/public_html/pmappe r/config/default/pmapper_demo_wfs_123_45.map it works correctly (which demonstrate that mapfile is ok! and in the layer properties I read correctly &SERVICE=WFS&VERSION=1.0.0&REQ .) what it is due to the difference in behavior for mapserver when rewrite the url? Is it a feature of wfs server? Can you direct me? Thanks in advance. Pasquale. PS. Apache2 version 2.4.7 on Ubuntu 14.04 MapServer 6.4.1 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 45.png Type: image/png Size: 15530 bytes Desc: not available URL: From thomas.bonfort at gmail.com Fri Sep 4 09:59:47 2015 From: thomas.bonfort at gmail.com (thomas bonfort) Date: Fri, 4 Sep 2015 18:59:47 +0200 Subject: [mapserver-users] URL redirection under Apache2-Difference WMS and WFS server In-Reply-To: <005d01d0e721$9d9a3350$d8ce99f0$@enea.it> References: <005d01d0e721$9d9a3350$d8ce99f0$@enea.it> Message-ID: I'd avoid using the SERVICE= rewrites as the handling of capital letters may prove to be problematic. You should also not be adding the REQUEST= and other parts in your rewrite rule. Basically, just: RewriteEngine on RewriteRule mywms(.*)?(.*)$ /cgi-bin/mapserv?map=/var/www/biss.org/public_html/pmapper/config/default/pmapper_demo_wms$1.map&$2 RewriteRule mywfs(.*)?(.*)$ /cgi-bin/mapserv?map=/var/www/biss.org/public_html/pmapper/config/default/pmapper_demo_wfs$1.map&$2 -- thomas On 4 September 2015 at 16:54, Pasquale Regina wrote: > Greetings to everyone on the user list. > > Sorry for my english. > > I have a problem to submit because I cannot frame it properly: I do not > expect that you will solve it but you can provide guidance on how to deal > with it and I move on. > > According with mapserver wms server howto at > http://mapserver.org/ogc/wms_server.html, in section ?Changing the Online > Resource URL? I follow the indication ?Apache environment variables ? > MS_MAPFILE?. So I create a link in http cgi-bin folder named mywms which > points to /usr/lib/cgi-bin/mapserv, the application/executable file. > > My http.conf file contain instruction: > > Alias /mywms /usr/lib/cgi-bin/mapserver > > > > SetHandler cgi-script > > Options ExecCGI > > SetEnv MS_MAPFILE > /var/www/biss.org/public_html/pmapper/config/default/pmapper_demo_wms.map > > > > And the application correctly works and in a wms gis client I can connect to > wms server with follow link www.biss.org/mywms. > > This is configuration to access to a single default mapfile > (pmapper_demo_wms.map). > > In a similar way for a wfs server with pmapper_demo_wfs.map (mywfs link in > cgi-bin folder, ?) > > > > My project manager wants to change the settings of project by create > individual mapfile (not only one, the default) for each registered user and > so I need to access the individual mapfiles inserting different links: in > other words in a wms gis client I put the link www.biss.org/mywms_123_45 to > point to the file pmapper_demo_wms_123_45.map (123_45 represents a > registered user id, one of actually 75 registered users!! So I don?t create > 75 and on link?). The map files are created automatically by the database on > user?s registration for both wms e wfs mapfile. > > So I changed in http.conf toward rewrite rule solution (and remove > references to Alias /mywxx and for both mywms and mywfs) > > in > > > > ?. > > RewriteEngine on > > RewriteRule myw?(.)s(.*)$ > /cgi-bin/mapserv?map=/var/www/biss.org/public_html/pmapper/config/default/pmapper_demo_w$1s$2.map&SERVICE=W$1S&REQUEST=GetCapabilities& > > > > So when I put http://www.biss.org/mywms_123_45 in QGIS --> add WMS layer it > works because point to > pmapper_demo_wms_123_45.map&SERVICE=WmS&REQUEST=GetCapabilities according to > $1=m and $2=_123_45 variables. > > The problem arises with wfs request in QGIS ? add WFS vector. Putting > http://www.biss.org/mywfs_123_45 QGIS (and other wfs client similar) sends > the response in attached ?Il server WFS non supporta la versione WFS 1.0.0 > oppure l? URL ? errato? (Italian language!!) while putting > http://www.biss.org/cgi-bin/mapserv?map=/var/www/biss.org/public_html/pmapper/config/default/pmapper_demo_wfs_123_45.map > it works correctly (which demonstrate that mapfile is ok! and in the layer > properties I read correctly ?&SERVICE=WFS&VERSION=1.0.0&REQ?.) > > what it is due to the difference in behavior for mapserver when rewrite the > url? Is it a feature of wfs server? > > Can you direct me? > > Thanks in advance. Pasquale. > > PS. Apache2 version 2.4.7 on Ubuntu 14.04 MapServer 6.4.1 > > > > > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From aperi2007 at gmail.com Sun Sep 6 03:32:12 2015 From: aperi2007 at gmail.com (Andrea Peri) Date: Sun, 6 Sep 2015 12:32:12 +0200 Subject: [mapserver-users] Mapserver 7.0 and NODATA setting In-Reply-To: References: <8e4a6638d853404f9a3fab6083dd963d@C119S212VM022.msvyvi.vaha.local> Message-ID: Hi, I have no success to find any info on the NODATA question in the floating point raster. Is this kind of raster suitable for use on mapserver ? Thx. 2015-08-18 10:27 GMT+02:00 Andrea Peri : > HI, > > The question of NODATA processing command is not completelly clear afaik. > Infact I found a patch from warmerdam: > > https://trac.osgeo.org/mapserver/ticket/2404 > > Where it speak explicitly of a PROCESSING "NODATA" setting. > >>I would note that OFFSITE is still supported, and the usual PROCESSING "NODATA=OFF" >mechanism can be used to disable using GDAL level nodata. > > A. > > > 2015-08-18 9:28 GMT+02:00 Andrea Peri : >> Hi, >> >> I have a clearly response from the log. >> >> The nodata is unsupported for this kind of rasters. >> >>> LoadGDALImage(rt_sat.LC8191.rt.attuale): NODATA value -9999 in GDAL >>>file or PROCESSING directive largely ignored. Not yet fully supported for >>>unclassified scaled data. The NODATA value is excluded from auto-scaling >>>min/max computation, but will not be transparent. >> >> So I must found another solution for my rasters. >> >> Regards. >> >> >> >> 2015-08-18 9:08 GMT+02:00 Andrea Peri : >>> So my question is a little different. >>> >>> Seem that mapserver was not able to automatically understand the >>> NODATA values of floating point rasters. >>> >>> In my usecase: the NODATA value is -9999.0 >>> I produce the catalog using gdaltindex, and apply the result to mapserver 7. >>> >>> The result is this: >>> >>> http://tinyurl.com/ndsdyr8 >>> >>> The only partially solution I found was to set >>> OFFSITE 0 0 0 >>> but it is acceptable for my usecase because the black color is a color >>> really available inside the rasters and it is not usable as a >>> transparent color. >>> >>> Is this an issue for mapserver 7 ? >>> >>> Thx, >>> >>> A. >>> >>> >>> >>> 2015-08-17 16:11 GMT+02:00 Andrea Peri : >>>> Hi Jukka. >>>> >>>> Perhaps you have right ! >>>> >>>> The NODATA setting is an ancient setting that I reuse always in my >>>> mapfiles but only now I notice that the mapserver document don't >>>> report him. >>>> So more probably it is a false setting. >>>> >>>> But , if the nodata setting dont exist, how say to the mapserver to >>>> filter the nodata of a floating raster ? >>>> >>>> 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 ????? >>>> ----------------- >>> >>> >>> >>> -- >>> ----------------- >>> Andrea Peri >>> . . . . . . . . . >>> qwerty ????? >>> ----------------- >> >> >> >> -- >> ----------------- >> Andrea Peri >> . . . . . . . . . >> qwerty ????? >> ----------------- > > > > -- > ----------------- > Andrea Peri > . . . . . . . . . > qwerty ????? > ----------------- -- ----------------- Andrea Peri . . . . . . . . . qwerty ????? ----------------- From pasquale.regina at enea.it Mon Sep 7 00:12:18 2015 From: pasquale.regina at enea.it (Pasquale Regina) Date: Mon, 7 Sep 2015 09:12:18 +0200 Subject: [mapserver-users] R: URL redirection under Apache2-Difference WMS and WFS server In-Reply-To: References: <005d01d0e721$9d9a3350$d8ce99f0$@enea.it> Message-ID: <00ea01d0e93c$94244960$bc6cdc20$@enea.it> if I did not add to rewriterule &service=wms&request=getcapabilities ... not working. The problem is on wfs that reads the wfs request GetCapabilities but when I ask for qgis (add wfs layer) to add the layer (getfeature) this passes 2 times the request, getcapabilities (due to rewrite) and getfeature and generating error. I would avoid using SERVICE in rewrite statement but no it does not work. Pasquale. -----Messaggio originale----- Da: thomas bonfort [mailto:thomas.bonfort at gmail.com] Inviato: venerd? 4 settembre 2015 19:00 A: Pasquale Regina Cc: MapserverList OSGEO Oggetto: Re: [mapserver-users] URL redirection under Apache2-Difference WMS and WFS server I'd avoid using the SERVICE= rewrites as the handling of capital letters may prove to be problematic. You should also not be adding the REQUEST= and other parts in your rewrite rule. Basically, just: RewriteEngine on RewriteRule mywms(.*)?(.*)$ /cgi-bin/mapserv?map=/var/www/biss.org/public_html/pmapper/config/default/pmapper_demo_wms$1.map&$2 RewriteRule mywfs(.*)?(.*)$ /cgi-bin/mapserv?map=/var/www/biss.org/public_html/pmapper/config/default/pmapper_demo_wfs$1.map&$2 -- thomas On 4 September 2015 at 16:54, Pasquale Regina wrote: > Greetings to everyone on the user list. > > Sorry for my english. > > I have a problem to submit because I cannot frame it properly: I do > not expect that you will solve it but you can provide guidance on how > to deal with it and I move on. > > According with mapserver wms server howto at > http://mapserver.org/ogc/wms_server.html, in section ?Changing the > Online Resource URL? I follow the indication ?Apache environment > variables ? MS_MAPFILE?. So I create a link in http cgi-bin folder > named mywms which points to /usr/lib/cgi-bin/mapserv, the application/executable file. > > My http.conf file contain instruction: > > Alias /mywms /usr/lib/cgi-bin/mapserver > > > > SetHandler cgi-script > > Options ExecCGI > > SetEnv MS_MAPFILE > /var/www/biss.org/public_html/pmapper/config/default/pmapper_demo_wms. > map > > > > And the application correctly works and in a wms gis client I can > connect to wms server with follow link www.biss.org/mywms. > > This is configuration to access to a single default mapfile > (pmapper_demo_wms.map). > > In a similar way for a wfs server with pmapper_demo_wfs.map (mywfs > link in cgi-bin folder, ?) > > > > My project manager wants to change the settings of project by create > individual mapfile (not only one, the default) for each registered > user and so I need to access the individual mapfiles inserting > different links: in other words in a wms gis client I put the link > www.biss.org/mywms_123_45 to point to the file > pmapper_demo_wms_123_45.map (123_45 represents a registered user id, > one of actually 75 registered users!! So I don?t create > 75 and on link?). The map files are created automatically by the > database on user?s registration for both wms e wfs mapfile. > > So I changed in http.conf toward rewrite rule solution (and remove > references to Alias /mywxx and for both mywms and > mywfs) > > in > > > > ?. > > RewriteEngine on > > RewriteRule myw?(.)s(.*)$ > /cgi-bin/mapserv?map=/var/www/biss.org/public_html/pmapper/config/defa > ult/pmapper_demo_w$1s$2.map&SERVICE=W$1S&REQUEST=GetCapabilities& > > > > So when I put http://www.biss.org/mywms_123_45 in QGIS --> add WMS > layer it works because point to > pmapper_demo_wms_123_45.map&SERVICE=WmS&REQUEST=GetCapabilities > according to $1=m and $2=_123_45 variables. > > The problem arises with wfs request in QGIS ? add WFS vector. Putting > http://www.biss.org/mywfs_123_45 QGIS (and other wfs client similar) > sends the response in attached ?Il server WFS non supporta la versione > WFS 1.0.0 oppure l? URL ? errato? (Italian language!!) while putting > http://www.biss.org/cgi-bin/mapserv?map=/var/www/biss.org/public_html/ > pmapper/config/default/pmapper_demo_wfs_123_45.map > it works correctly (which demonstrate that mapfile is ok! and in the > layer properties I read correctly ?&SERVICE=WFS&VERSION=1.0.0&REQ?.) > > what it is due to the difference in behavior for mapserver when > rewrite the url? Is it a feature of wfs server? > > Can you direct me? > > Thanks in advance. Pasquale. > > PS. Apache2 version 2.4.7 on Ubuntu 14.04 MapServer 6.4.1 > > > > > > > _______________________________________________ > 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 Sep 7 00:16:07 2015 From: thomas.bonfort at gmail.com (thomas bonfort) Date: Mon, 7 Sep 2015 09:16:07 +0200 Subject: [mapserver-users] URL redirection under Apache2-Difference WMS and WFS server In-Reply-To: <00ea01d0e93c$94244960$bc6cdc20$@enea.it> References: <005d01d0e721$9d9a3350$d8ce99f0$@enea.it> <00ea01d0e93c$94244960$bc6cdc20$@enea.it> Message-ID: try /cgi-bin/mapserv?map=/var/www/biss.org/public_html/pmapper/config/default/pmapper_demo_wms$1.map&$2 [PT,QSA] On 7 September 2015 at 09:12, Pasquale Regina wrote: > if I did not add to rewriterule &service=wms&request=getcapabilities ... not working. The problem is on wfs that reads the wfs request GetCapabilities but when I ask for qgis (add wfs layer) to add the layer (getfeature) this passes 2 times the request, getcapabilities (due to rewrite) and getfeature and generating error. > I would avoid using SERVICE in rewrite statement but no it does not work. > Pasquale. > > -----Messaggio originale----- > Da: thomas bonfort [mailto:thomas.bonfort at gmail.com] > Inviato: venerd? 4 settembre 2015 19:00 > A: Pasquale Regina > Cc: MapserverList OSGEO > Oggetto: Re: [mapserver-users] URL redirection under Apache2-Difference WMS and WFS server > > I'd avoid using the SERVICE= rewrites as the handling of capital letters may prove to be problematic. You should also not be adding the REQUEST= and other parts in your rewrite rule. > > Basically, just: > > > > RewriteEngine on > > RewriteRule mywms(.*)?(.*)$ > /cgi-bin/mapserv?map=/var/www/biss.org/public_html/pmapper/config/default/pmapper_demo_wms$1.map&$2 > RewriteRule mywfs(.*)?(.*)$ > /cgi-bin/mapserv?map=/var/www/biss.org/public_html/pmapper/config/default/pmapper_demo_wfs$1.map&$2 > > > > -- > thomas > > On 4 September 2015 at 16:54, Pasquale Regina wrote: >> Greetings to everyone on the user list. >> >> Sorry for my english. >> >> I have a problem to submit because I cannot frame it properly: I do >> not expect that you will solve it but you can provide guidance on how >> to deal with it and I move on. >> >> According with mapserver wms server howto at >> http://mapserver.org/ogc/wms_server.html, in section ?Changing the >> Online Resource URL? I follow the indication ?Apache environment >> variables ? MS_MAPFILE?. So I create a link in http cgi-bin folder >> named mywms which points to /usr/lib/cgi-bin/mapserv, the application/executable file. >> >> My http.conf file contain instruction: >> >> Alias /mywms /usr/lib/cgi-bin/mapserver >> >> >> >> SetHandler cgi-script >> >> Options ExecCGI >> >> SetEnv MS_MAPFILE >> /var/www/biss.org/public_html/pmapper/config/default/pmapper_demo_wms. >> map >> >> >> >> And the application correctly works and in a wms gis client I can >> connect to wms server with follow link www.biss.org/mywms. >> >> This is configuration to access to a single default mapfile >> (pmapper_demo_wms.map). >> >> In a similar way for a wfs server with pmapper_demo_wfs.map (mywfs >> link in cgi-bin folder, ?) >> >> >> >> My project manager wants to change the settings of project by create >> individual mapfile (not only one, the default) for each registered >> user and so I need to access the individual mapfiles inserting >> different links: in other words in a wms gis client I put the link >> www.biss.org/mywms_123_45 to point to the file >> pmapper_demo_wms_123_45.map (123_45 represents a registered user id, >> one of actually 75 registered users!! So I don?t create >> 75 and on link?). The map files are created automatically by the >> database on user?s registration for both wms e wfs mapfile. >> >> So I changed in http.conf toward rewrite rule solution (and remove >> references to Alias /mywxx and for both mywms and >> mywfs) >> >> in >> >> >> >> ?. >> >> RewriteEngine on >> >> RewriteRule myw?(.)s(.*)$ >> /cgi-bin/mapserv?map=/var/www/biss.org/public_html/pmapper/config/defa >> ult/pmapper_demo_w$1s$2.map&SERVICE=W$1S&REQUEST=GetCapabilities& >> >> >> >> So when I put http://www.biss.org/mywms_123_45 in QGIS --> add WMS >> layer it works because point to >> pmapper_demo_wms_123_45.map&SERVICE=WmS&REQUEST=GetCapabilities >> according to $1=m and $2=_123_45 variables. >> >> The problem arises with wfs request in QGIS ? add WFS vector. Putting >> http://www.biss.org/mywfs_123_45 QGIS (and other wfs client similar) >> sends the response in attached ?Il server WFS non supporta la versione >> WFS 1.0.0 oppure l? URL ? errato? (Italian language!!) while putting >> http://www.biss.org/cgi-bin/mapserv?map=/var/www/biss.org/public_html/ >> pmapper/config/default/pmapper_demo_wfs_123_45.map >> it works correctly (which demonstrate that mapfile is ok! and in the >> layer properties I read correctly ?&SERVICE=WFS&VERSION=1.0.0&REQ?.) >> >> what it is due to the difference in behavior for mapserver when >> rewrite the url? Is it a feature of wfs server? >> >> Can you direct me? >> >> Thanks in advance. Pasquale. >> >> PS. Apache2 version 2.4.7 on Ubuntu 14.04 MapServer 6.4.1 >> >> >> >> >> >> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users > From pasquale.regina at enea.it Mon Sep 7 01:25:38 2015 From: pasquale.regina at enea.it (Pasquale Regina) Date: Mon, 7 Sep 2015 10:25:38 +0200 Subject: [mapserver-users] R: URL redirection under Apache2-Difference WMS and WFS server In-Reply-To: References: <005d01d0e721$9d9a3350$d8ce99f0$@enea.it> <00ea01d0e93c$94244960$bc6cdc20$@enea.it> Message-ID: <00fc01d0e946$c724e1d0$556ea570$@enea.it> I have added flags [PT,GSA] to my RewriteRule and it works. Great. Thank you very very much! Pasquale. -----Messaggio originale----- Da: thomas bonfort [mailto:thomas.bonfort at gmail.com] Inviato: luned? 7 settembre 2015 09:16 A: Pasquale Regina Cc: MapserverList OSGEO Oggetto: Re: [mapserver-users] URL redirection under Apache2-Difference WMS and WFS server try /cgi-bin/mapserv?map=/var/www/biss.org/public_html/pmapper/config/default/pmapper_demo_wms$1.map&$2 [PT,QSA] On 7 September 2015 at 09:12, Pasquale Regina wrote: > if I did not add to rewriterule &service=wms&request=getcapabilities ... not working. The problem is on wfs that reads the wfs request GetCapabilities but when I ask for qgis (add wfs layer) to add the layer (getfeature) this passes 2 times the request, getcapabilities (due to rewrite) and getfeature and generating error. > I would avoid using SERVICE in rewrite statement but no it does not work. > Pasquale. > > -----Messaggio originale----- > Da: thomas bonfort [mailto:thomas.bonfort at gmail.com] > Inviato: venerd? 4 settembre 2015 19:00 > A: Pasquale Regina > Cc: MapserverList OSGEO > Oggetto: Re: [mapserver-users] URL redirection under > Apache2-Difference WMS and WFS server > > I'd avoid using the SERVICE= rewrites as the handling of capital letters may prove to be problematic. You should also not be adding the REQUEST= and other parts in your rewrite rule. > > Basically, just: > > > > RewriteEngine on > > RewriteRule mywms(.*)?(.*)$ > /cgi-bin/mapserv?map=/var/www/biss.org/public_html/pmapper/config/defa > ult/pmapper_demo_wms$1.map&$2 > RewriteRule mywfs(.*)?(.*)$ > /cgi-bin/mapserv?map=/var/www/biss.org/public_html/pmapper/config/defa > ult/pmapper_demo_wfs$1.map&$2 > > > > -- > thomas > > On 4 September 2015 at 16:54, Pasquale Regina wrote: >> Greetings to everyone on the user list. >> >> Sorry for my english. >> >> I have a problem to submit because I cannot frame it properly: I do >> not expect that you will solve it but you can provide guidance on how >> to deal with it and I move on. >> >> According with mapserver wms server howto at >> http://mapserver.org/ogc/wms_server.html, in section ?Changing the >> Online Resource URL? I follow the indication ?Apache environment >> variables ? MS_MAPFILE?. So I create a link in http cgi-bin folder >> named mywms which points to /usr/lib/cgi-bin/mapserv, the application/executable file. >> >> My http.conf file contain instruction: >> >> Alias /mywms /usr/lib/cgi-bin/mapserver >> >> >> >> SetHandler cgi-script >> >> Options ExecCGI >> >> SetEnv MS_MAPFILE >> /var/www/biss.org/public_html/pmapper/config/default/pmapper_demo_wms. >> map >> >> >> >> And the application correctly works and in a wms gis client I can >> connect to wms server with follow link www.biss.org/mywms. >> >> This is configuration to access to a single default mapfile >> (pmapper_demo_wms.map). >> >> In a similar way for a wfs server with pmapper_demo_wfs.map (mywfs >> link in cgi-bin folder, ?) >> >> >> >> My project manager wants to change the settings of project by create >> individual mapfile (not only one, the default) for each registered >> user and so I need to access the individual mapfiles inserting >> different links: in other words in a wms gis client I put the link >> www.biss.org/mywms_123_45 to point to the file >> pmapper_demo_wms_123_45.map (123_45 represents a registered user id, >> one of actually 75 registered users!! So I don?t create >> 75 and on link?). The map files are created automatically by the >> database on user?s registration for both wms e wfs mapfile. >> >> So I changed in http.conf toward rewrite rule solution (and remove >> references to Alias /mywxx and for both mywms and >> mywfs) >> >> in >> >> >> >> ?. >> >> RewriteEngine on >> >> RewriteRule myw?(.)s(.*)$ >> /cgi-bin/mapserv?map=/var/www/biss.org/public_html/pmapper/config/def >> a ult/pmapper_demo_w$1s$2.map&SERVICE=W$1S&REQUEST=GetCapabilities& >> >> >> >> So when I put http://www.biss.org/mywms_123_45 in QGIS --> add WMS >> layer it works because point to >> pmapper_demo_wms_123_45.map&SERVICE=WmS&REQUEST=GetCapabilities >> according to $1=m and $2=_123_45 variables. >> >> The problem arises with wfs request in QGIS ? add WFS vector. Putting >> http://www.biss.org/mywfs_123_45 QGIS (and other wfs client similar) >> sends the response in attached ?Il server WFS non supporta la >> versione WFS 1.0.0 oppure l? URL ? errato? (Italian language!!) while >> putting >> http://www.biss.org/cgi-bin/mapserv?map=/var/www/biss.org/public_html >> / pmapper/config/default/pmapper_demo_wfs_123_45.map >> it works correctly (which demonstrate that mapfile is ok! and in the >> layer properties I read correctly ?&SERVICE=WFS&VERSION=1.0.0&REQ?.) >> >> what it is due to the difference in behavior for mapserver when >> rewrite the url? Is it a feature of wfs server? >> >> Can you direct me? >> >> Thanks in advance. Pasquale. >> >> PS. Apache2 version 2.4.7 on Ubuntu 14.04 MapServer 6.4.1 >> >> >> >> >> >> >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users > From yves.jacolin at camptocamp.com Mon Sep 7 04:18:45 2015 From: yves.jacolin at camptocamp.com (Yves Jacolin) Date: Mon, 07 Sep 2015 13:18:45 +0200 Subject: [mapserver-users] Mapserver 7.0 and NODATA setting In-Reply-To: References: <8e4a6638d853404f9a3fab6083dd963d@C119S212VM022.msvyvi.vaha.local> Message-ID: <3519516.TiMflxnKMW@tatras> Andrea, Maybe you can have a look into VRT format where you can set up a NODATA value. Regards, Y. On Sunday, September 06, 2015 12:32:12 Andrea Peri wrote: > Hi, > > I have no success to find any info on the NODATA question in the > floating point raster. > > Is this kind of raster suitable for use on mapserver ? > > Thx. > > 2015-08-18 10:27 GMT+02:00 Andrea Peri : > > HI, > > > > The question of NODATA processing command is not completelly clear afaik. > > Infact I found a patch from warmerdam: > > > > https://trac.osgeo.org/mapserver/ticket/2404 > > > > Where it speak explicitly of a PROCESSING "NODATA" setting. > > > >>I would note that OFFSITE is still supported, and the usual PROCESSING > >>"NODATA=OFF" >mechanism can be used to disable using GDAL level nodata.>> > > A. > > > > 2015-08-18 9:28 GMT+02:00 Andrea Peri : > >> Hi, > >> > >> I have a clearly response from the log. > >> > >> The nodata is unsupported for this kind of rasters. > >> > >>> LoadGDALImage(rt_sat.LC8191.rt.attuale): NODATA value -9999 in GDAL > >>> > >>>file or PROCESSING directive largely ignored. Not yet fully supported > >>>for > >>>unclassified scaled data. The NODATA value is excluded from auto-scaling > >>>min/max computation, but will not be transparent. > >>> > >> So I must found another solution for my rasters. > >> > >> Regards. > >> > >> 2015-08-18 9:08 GMT+02:00 Andrea Peri : > >>> So my question is a little different. > >>> > >>> Seem that mapserver was not able to automatically understand the > >>> NODATA values of floating point rasters. > >>> > >>> In my usecase: the NODATA value is -9999.0 > >>> I produce the catalog using gdaltindex, and apply the result to > >>> mapserver 7. > >>> > >>> The result is this: > >>> > >>> http://tinyurl.com/ndsdyr8 > >>> > >>> The only partially solution I found was to set > >>> OFFSITE 0 0 0 > >>> but it is acceptable for my usecase because the black color is a color > >>> really available inside the rasters and it is not usable as a > >>> transparent color. > >>> > >>> Is this an issue for mapserver 7 ? > >>> > >>> Thx, > >>> > >>> A. > >>> > >>> 2015-08-17 16:11 GMT+02:00 Andrea Peri : > >>>> Hi Jukka. > >>>> > >>>> Perhaps you have right ! > >>>> > >>>> The NODATA setting is an ancient setting that I reuse always in my > >>>> mapfiles but only now I notice that the mapserver document don't > >>>> report him. > >>>> So more probably it is a false setting. > >>>> > >>>> But , if the nodata setting dont exist, how say to the mapserver to > >>>> filter the nodata of a floating raster ? > >>>> > >>>> 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 ????? > >>>> ----------------- > >>> > >>> -- > >>> ----------------- > >>> Andrea Peri > >>> . . . . . . . . . > >>> qwerty ????? > >>> ----------------- > >> > >> -- > >> ----------------- > >> Andrea Peri > >> . . . . . . . . . > >> qwerty ????? > >> ----------------- > > > > -- > > ----------------- > > Andrea Peri > > . . . . . . . . . > > qwerty ????? > > ----------------- -- Responsable Formation et Support Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel (France) : +33 4 58 48 20 43 (new !) Tel (Suisse) : +41 21 619 10 43 Mob. : +33 6 18 75 42 21 Fax : 04 79 70 15 81 Mail : yves.jacolin at camptocamp.com http://www.camptocamp.com From aperi2007 at gmail.com Mon Sep 7 04:39:30 2015 From: aperi2007 at gmail.com (Andrea Peri) Date: Mon, 7 Sep 2015 13:39:30 +0200 Subject: [mapserver-users] Mapserver 7.0 and NODATA setting In-Reply-To: <3519516.TiMflxnKMW@tatras> References: <8e4a6638d853404f9a3fab6083dd963d@C119S212VM022.msvyvi.vaha.local> <3519516.TiMflxnKMW@tatras> Message-ID: Hi, I see it, I can set a nodata value, but mapserver seem to ignore it. I was able to remove it from maps only setting the its color (white) to transparent. Now I try the same dataset-vrt using qgis directly to have another point of view. 2015-09-07 13:18 GMT+02:00 Yves Jacolin : > Andrea, > > Maybe you can have a look into VRT format where you can set up a NODATA value. > > Regards, > > Y. > On Sunday, September 06, 2015 12:32:12 Andrea Peri wrote: >> Hi, >> >> I have no success to find any info on the NODATA question in the >> floating point raster. >> >> Is this kind of raster suitable for use on mapserver ? >> >> Thx. >> >> 2015-08-18 10:27 GMT+02:00 Andrea Peri : >> > HI, >> > >> > The question of NODATA processing command is not completelly clear afaik. >> > Infact I found a patch from warmerdam: >> > >> > https://trac.osgeo.org/mapserver/ticket/2404 >> > >> > Where it speak explicitly of a PROCESSING "NODATA" setting. >> > >> >>I would note that OFFSITE is still supported, and the usual PROCESSING >> >>"NODATA=OFF" >mechanism can be used to disable using GDAL level nodata.>> >> > A. >> > >> > 2015-08-18 9:28 GMT+02:00 Andrea Peri : >> >> Hi, >> >> >> >> I have a clearly response from the log. >> >> >> >> The nodata is unsupported for this kind of rasters. >> >> >> >>> LoadGDALImage(rt_sat.LC8191.rt.attuale): NODATA value -9999 in GDAL >> >>> >> >>>file or PROCESSING directive largely ignored. Not yet fully supported >> >>>for >> >>>unclassified scaled data. The NODATA value is excluded from auto-scaling >> >>>min/max computation, but will not be transparent. >> >>> >> >> So I must found another solution for my rasters. >> >> >> >> Regards. >> >> >> >> 2015-08-18 9:08 GMT+02:00 Andrea Peri : >> >>> So my question is a little different. >> >>> >> >>> Seem that mapserver was not able to automatically understand the >> >>> NODATA values of floating point rasters. >> >>> >> >>> In my usecase: the NODATA value is -9999.0 >> >>> I produce the catalog using gdaltindex, and apply the result to >> >>> mapserver 7. >> >>> >> >>> The result is this: >> >>> >> >>> http://tinyurl.com/ndsdyr8 >> >>> >> >>> The only partially solution I found was to set >> >>> OFFSITE 0 0 0 >> >>> but it is acceptable for my usecase because the black color is a color >> >>> really available inside the rasters and it is not usable as a >> >>> transparent color. >> >>> >> >>> Is this an issue for mapserver 7 ? >> >>> >> >>> Thx, >> >>> >> >>> A. >> >>> >> >>> 2015-08-17 16:11 GMT+02:00 Andrea Peri : >> >>>> Hi Jukka. >> >>>> >> >>>> Perhaps you have right ! >> >>>> >> >>>> The NODATA setting is an ancient setting that I reuse always in my >> >>>> mapfiles but only now I notice that the mapserver document don't >> >>>> report him. >> >>>> So more probably it is a false setting. >> >>>> >> >>>> But , if the nodata setting dont exist, how say to the mapserver to >> >>>> filter the nodata of a floating raster ? >> >>>> >> >>>> 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 ????? >> >>>> ----------------- >> >>> >> >>> -- >> >>> ----------------- >> >>> Andrea Peri >> >>> . . . . . . . . . >> >>> qwerty ????? >> >>> ----------------- >> >> >> >> -- >> >> ----------------- >> >> Andrea Peri >> >> . . . . . . . . . >> >> qwerty ????? >> >> ----------------- >> > >> > -- >> > ----------------- >> > Andrea Peri >> > . . . . . . . . . >> > qwerty ????? >> > ----------------- > > -- > Responsable Formation et Support > Camptocamp France SAS > Savoie Technolac, BP 352 > 73377 Le Bourget du Lac, Cedex > Tel (France) : +33 4 58 48 20 43 (new !) > Tel (Suisse) : +41 21 619 10 43 > Mob. : +33 6 18 75 42 21 > Fax : 04 79 70 15 81 > Mail : yves.jacolin at camptocamp.com > http://www.camptocamp.com -- ----------------- Andrea Peri . . . . . . . . . qwerty ????? ----------------- From mailing at tam.si Tue Sep 8 03:29:33 2015 From: mailing at tam.si (Matej Mailing) Date: Tue, 8 Sep 2015 12:29:33 +0200 Subject: [mapserver-users] CSV from Mapscript results Message-ID: Hi, what would be the best way to create a CSV from Mapscript query results? Thanks, Matej From Steve.Lime at state.mn.us Tue Sep 8 09:07:54 2015 From: Steve.Lime at state.mn.us (Lime, Steve D (MNIT)) Date: Tue, 8 Sep 2015 16:07:54 +0000 Subject: [mapserver-users] CSV from Mapscript results In-Reply-To: References: Message-ID: You have two options: 1 - use query templates to render the result as CSV 2 - use whatever tool your programming language gives you and just loop through the results and dump to CSV Personally since you're using MapScript I'd opt for 2 for a couple of reasons: you have total control that way and for larger result sets it's likely to be more performant since the whole CSV file wouldn't need to be constructed in memory like templates would. Steve -----Original Message----- From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Matej Mailing Sent: Tuesday, September 08, 2015 5:30 AM To: mapserver-users at lists.osgeo.org Subject: [mapserver-users] CSV from Mapscript results Hi, what would be the best way to create a CSV from Mapscript query results? Thanks, Matej _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From zachc1980 at gmail.com Tue Sep 8 12:20:55 2015 From: zachc1980 at gmail.com (zach cruise) Date: Tue, 8 Sep 2015 15:20:55 -0400 Subject: [mapserver-users] split one geojson into tiles In-Reply-To: References: Message-ID: i missed your response earlier but what i need is simple: just like gdal2tiles can create z/x/y tiles for raster data, i want to create z/x/y tiles for geojson data. your solution helps with x/y, not z. but i can live with that. as you said, i can use a point clusterer or polyline/polygon simplifier in the browser to deal with that. but i was hoping there was another way. if i use bbox to create geojson tiles, is there a standard library to recall those tiles in the browser? or should i just write my own function? On 8/21/15, TC Haddad wrote: > Hi Zach, > > Perhaps we need to back up, and have you explain what you are trying to do. > It would be much easier to help you if your problem was a bit more clear. > There is maybe an apples and oranges terminology problem where you are > working with vector data, but seem to be asking a lot of raster data > questions about x/y/z tiles. > > You have a geojson file, and originally you wanted to split it up. But it > seems you have another goal in mind that you did not mention. My wild guess > is that you want your data to cluster and uncluster as a user zooms in and > out on a slippy map. Is that correct? > > Unless your geojson is very large, you might be able to accomplish your > goal simply using Leaflet http://leafletjs.com/ and Leaflet MarkerCluster > plugin http://leafletjs.com/plugins.html#clusteringdecluttering. Have you > looked at that? > > Mapserver is a server product, and could help in a number of ways on the > back end, but if you can accomplish what you need on the client side, you > might not need Mapserver at all. > > In order to know for sure, you should describe your goal in more detail. > > On Fri, Aug 21, 2015 at 12:48 PM, zach cruise wrote: > >> i can use bbox with wfs in mapserver. or bbox in ogr2ogr. >> >> but it doesn't cluster for zoom levels. eg if i have 10 points at >> street level, i want it to cluster to show only 1 point at country >> level. >> >> however only bbox might work. but i don't understand how to get bbox >> info for z/x/y.json. could you explain in detail? >> http://wiki.openstreetmap.org/wiki/Slippy_map_tilenames >> >> also is there a seeding operation in mapserver like in geoserver? or >> should i just use gdal2tiles to create raster tiles? >> >> On 8/19/15, TC Haddad wrote: >> > On Wed, Aug 19, 2015 at 3:16 PM, zach cruise >> wrote: >> > >> >> On 8/19/15, TC Haddad wrote: >> >> >> > >> > >> >> > Hi Zach >> >> > >> >> > If you set up Mapserver to serve the original geojson layer as WFS >> >> > service[1] with geojson output [2], you can then pass in the >> >> > bounding >> >> boxes >> >> > (using the WFS URL parameter BBOX=) of the tiles that you want to >> >> > create. >> >> > >> >> > You will get back the resulting geojson tiles as text in the browser >> >> > and >> >> > can save them to wherever you want to serve them from. >> >> > >> >> > [1] http://mapserver.org/ogc/wfs_server.html >> >> > [2] >> >> > >> >> >> http://mapserver.org/output/template_output.html#outputformat-declarations >> >> >> >> i tried but you can't set zoom levels/precision with wfs [1] and >> >> geojson >> >> [2]. >> >> >> > >> > >> > Yes - you must use BBOX= with WFS. You can get all the BBOX info you >> > need >> > by using globalmaptiles.py for your area of interest. You can get that >> > script here: >> > http://www.maptiler.org/google-maps-coordinates-tile-bounds-projection/ >> > >> > >> >> >> >> On 8/19/15, TC Haddad wrote: >> >> > OR, a much simpler process would be to use ogr2ogr and skip >> >> > Mapserver >> >> > entirely. >> >> > >> >> > see the clipping options mentioned here: >> >> > >> >> > http://www.gdal.org/ogr2ogr.html >> >> >> >> interesting. i tried gdal2tiles but it creates raster not vector >> >> tiles. >> >> >> > >> > >> > Yes OGR2OGR is for vector to vector conversions. Spatial extent options >> can >> > be passed in using the BBOXes obtained from the same script mentioned >> > above. From mailing at tam.si Tue Sep 8 17:03:44 2015 From: mailing at tam.si (Matej Mailing) Date: Wed, 9 Sep 2015 02:03:44 +0200 Subject: [mapserver-users] CSV from Mapscript results In-Reply-To: References: Message-ID: Thanks, Steve. It looks I will choose the 2nd option as well. What I don't like with this "direct" approach though is not using already existing Mapfile with DATA, CONNECTION and everything set - basically it creates another point where this data needs to be set and changed for example when changing access rights, moving data to new server etc., it increases complexity. As far as I have checked, there is no for example getData() method to get the DATA variable, set in the Mapfile. (Perhaps the reason is that since there is no set, there is no get method as well :-)) However, in this case this would be useful or perhaps I am just thinking in the wrong direction? :-) Thanks, Matej 2015-09-08 18:07 GMT+02:00 Lime, Steve D (MNIT) : > You have two options: > > 1 - use query templates to render the result as CSV > 2 - use whatever tool your programming language gives you and just loop through the results and dump to CSV > > Personally since you're using MapScript I'd opt for 2 for a couple of reasons: you have total control that way and for larger result sets it's likely to be more performant since the whole CSV file wouldn't need to be constructed in memory like templates would. > > Steve > > -----Original Message----- > From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Matej Mailing > Sent: Tuesday, September 08, 2015 5:30 AM > To: mapserver-users at lists.osgeo.org > Subject: [mapserver-users] CSV from Mapscript results > > Hi, > > what would be the best way to create a CSV from Mapscript query results? > > Thanks, > Matej > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From michael.smith.erdc at gmail.com Tue Sep 8 18:18:37 2015 From: michael.smith.erdc at gmail.com (Michael Smith) Date: Tue, 08 Sep 2015 21:18:37 -0400 Subject: [mapserver-users] CSV from Mapscript results In-Reply-To: References: Message-ID: Another option would be to use the csv ogr driver and set the outputformat http://mapserver.org/output/ogr_output.html Mike ---- Michael Smith US Army Corps Remote Sensing GIS/Center michael.smith at usace.army.mil -----Original Message----- From: on behalf of Matej Mailing Date: Tuesday, September 8, 2015 at 8:03 PM To: "Lime, Steve D (MNIT)" Cc: "mapserver-users at lists.osgeo.org" Subject: Re: [mapserver-users] CSV from Mapscript results >Thanks, Steve. > >It looks I will choose the 2nd option as well. What I don't like with >this "direct" approach though is not using already existing Mapfile >with DATA, CONNECTION and everything set - basically it creates >another point where this data needs to be set and changed for example >when changing access rights, moving data to new server etc., it >increases complexity. > >As far as I have checked, there is no for example getData() method to >get the DATA variable, set in the Mapfile. (Perhaps the reason is that >since there is no set, there is no get method as well :-)) >However, in this case this would be useful or perhaps I am just >thinking in the wrong direction? :-) > >Thanks, >Matej > > >2015-09-08 18:07 GMT+02:00 Lime, Steve D (MNIT) : >> You have two options: >> >> 1 - use query templates to render the result as CSV >> 2 - use whatever tool your programming language gives you and just >>loop through the results and dump to CSV >> >> Personally since you're using MapScript I'd opt for 2 for a couple of >>reasons: you have total control that way and for larger result sets it's >>likely to be more performant since the whole CSV file wouldn't need to >>be constructed in memory like templates would. >> >> Steve >> >> -----Original Message----- >> From: mapserver-users-bounces at lists.osgeo.org >>[mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Matej >>Mailing >> Sent: Tuesday, September 08, 2015 5:30 AM >> To: mapserver-users at lists.osgeo.org >> Subject: [mapserver-users] CSV from Mapscript results >> >> Hi, >> >> what would be the best way to create a CSV from Mapscript query results? >> >> Thanks, >> Matej >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users at lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >_______________________________________________ >mapserver-users mailing list >mapserver-users at lists.osgeo.org >http://lists.osgeo.org/mailman/listinfo/mapserver-users From mailing at tam.si Wed Sep 9 01:03:24 2015 From: mailing at tam.si (Matej Mailing) Date: Wed, 9 Sep 2015 10:03:24 +0200 Subject: [mapserver-users] CSV from Mapscript results In-Reply-To: References: Message-ID: Thanks Mike, that seems to be an interesting option as well. Regards, Matej 2015-09-09 3:18 GMT+02:00 Michael Smith : > Another option would be to use the csv ogr driver and set the outputformat > > http://mapserver.org/output/ogr_output.html > > > Mike > > ---- > Michael Smith > > US Army Corps > Remote Sensing GIS/Center > michael.smith at usace.army.mil > > > > > -----Original Message----- > From: on behalf of Matej Mailing > > Date: Tuesday, September 8, 2015 at 8:03 PM > To: "Lime, Steve D (MNIT)" > Cc: "mapserver-users at lists.osgeo.org" > Subject: Re: [mapserver-users] CSV from Mapscript results > >>Thanks, Steve. >> >>It looks I will choose the 2nd option as well. What I don't like with >>this "direct" approach though is not using already existing Mapfile >>with DATA, CONNECTION and everything set - basically it creates >>another point where this data needs to be set and changed for example >>when changing access rights, moving data to new server etc., it >>increases complexity. >> >>As far as I have checked, there is no for example getData() method to >>get the DATA variable, set in the Mapfile. (Perhaps the reason is that >>since there is no set, there is no get method as well :-)) >>However, in this case this would be useful or perhaps I am just >>thinking in the wrong direction? :-) >> >>Thanks, >>Matej >> >> >>2015-09-08 18:07 GMT+02:00 Lime, Steve D (MNIT) : >>> You have two options: >>> >>> 1 - use query templates to render the result as CSV >>> 2 - use whatever tool your programming language gives you and just >>>loop through the results and dump to CSV >>> >>> Personally since you're using MapScript I'd opt for 2 for a couple of >>>reasons: you have total control that way and for larger result sets it's >>>likely to be more performant since the whole CSV file wouldn't need to >>>be constructed in memory like templates would. >>> >>> Steve >>> >>> -----Original Message----- >>> From: mapserver-users-bounces at lists.osgeo.org >>>[mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Matej >>>Mailing >>> Sent: Tuesday, September 08, 2015 5:30 AM >>> To: mapserver-users at lists.osgeo.org >>> Subject: [mapserver-users] CSV from Mapscript results >>> >>> Hi, >>> >>> what would be the best way to create a CSV from Mapscript query results? >>> >>> Thanks, >>> Matej >>> _______________________________________________ >>> mapserver-users mailing list >>> mapserver-users at lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >>_______________________________________________ >>mapserver-users mailing list >>mapserver-users at lists.osgeo.org >>http://lists.osgeo.org/mailman/listinfo/mapserver-users > > From mapoubelle22 at gmail.com Wed Sep 9 06:03:26 2015 From: mapoubelle22 at gmail.com (fred p) Date: Wed, 9 Sep 2015 15:03:26 +0200 Subject: [mapserver-users] rendering a raster crossing the antimeridian through a WMS In-Reply-To: References: <55CB4C00.5040006@gatewaygeomatics.com> <55CB8254.2060006@gatewaygeomatics.com> Message-ID: Thanks for your answer. I just have uploaded again the files, it should be OK now. I am using mapserver-6.4.1 and gdal-1.11.2. 2015-08-27 21:53 GMT+02:00 TC Haddad : > > Hello Fred > > For some reason I cannot see or download your "expected" image (some sort > of file error?), so perhaps you can re-post it. > > I recently worked through a very similar problem and was successful by > using a VRT to provide the necessary offset. If your issue is the same, I > can provide example solution that worked for me... > > can you say what version of Mapserver and GDAL you are using? > > Tanya > > On Thu, Aug 27, 2015 at 7:21 AM, fred p wrote: > >> Hello, >> >> I still cannot get the full image, using shp2img or mapserv commands. >> >> I have uploaded the mapfile, the original image, the result image and the >> expected image (got from gdalwarp) here : >> ftp://ftp.meteo.fr/pub/CMS/mapserver/ >> >> Does someone has got an idea on how to work around it ? >> Thanks ! >> >> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From aperi2007 at gmail.com Thu Sep 10 04:48:09 2015 From: aperi2007 at gmail.com (Andrea Peri) Date: Thu, 10 Sep 2015 13:48:09 +0200 Subject: [mapserver-users] The WFS 2.0 has not the NullCheck Message-ID: Hi, using the wfs 2.0 settings, in the getcapabilities response, I see the wfs don't has the NullCheck comparison operator. Is this ok or an issue ? Thx. -- ----------------- Andrea Peri . . . . . . . . . qwerty ????? ----------------- From even.rouault at spatialys.com Thu Sep 10 05:07:37 2015 From: even.rouault at spatialys.com (Even Rouault) Date: Thu, 10 Sep 2015 14:07:37 +0200 Subject: [mapserver-users] The WFS 2.0 has not the NullCheck In-Reply-To: References: Message-ID: <201509101407.37383.even.rouault@spatialys.com> Le jeudi 10 septembre 2015 13:48:09, Andrea Peri a ?crit : > Hi, > > using the wfs 2.0 settings, in the getcapabilities response, I see the > wfs don't has the NullCheck comparison operator. > > Is this ok or an issue ? Andrea, From http://mapserver.org/fr/development/rfc/ms-rfc-105.html: """For the sake of compliance testing, rather dummy implementations of PropertyIsNull and PropertyIsNil operators have been introduced, as MapServer cannot generate nullable or nillable fields.""" So the NullCheck operator isn't declared in GetCapabilities as there isn't a real implementation for PropertyIsNull. Even -- Spatialys - Geospatial professional services http://www.spatialys.com From aperi2007 at gmail.com Thu Sep 10 05:18:29 2015 From: aperi2007 at gmail.com (aperi2007) Date: Thu, 10 Sep 2015 14:18:29 +0200 Subject: [mapserver-users] The WFS 2.0 has not the NullCheck In-Reply-To: <201509101407.37383.even.rouault@spatialys.com> References: <201509101407.37383.even.rouault@spatialys.com> Message-ID: <55F17515.7020805@gmail.com> Hi Even, thx for explanation. A. Il 10/09/2015 14:07, Even Rouault ha scritto: > Le jeudi 10 septembre 2015 13:48:09, Andrea Peri a ?crit : >> Hi, >> >> using the wfs 2.0 settings, in the getcapabilities response, I see the >> wfs don't has the NullCheck comparison operator. >> >> Is this ok or an issue ? > Andrea, > > From http://mapserver.org/fr/development/rfc/ms-rfc-105.html: > """For the sake of compliance testing, rather dummy implementations of > PropertyIsNull and PropertyIsNil operators have been introduced, as MapServer > cannot generate nullable or nillable fields.""" > > So the NullCheck operator isn't declared in GetCapabilities as there isn't a > real implementation for PropertyIsNull. > > Even > From aperi2007 at gmail.com Thu Sep 10 05:33:29 2015 From: aperi2007 at gmail.com (Andrea Peri) Date: Thu, 10 Sep 2015 14:33:29 +0200 Subject: [mapserver-users] The WFS 2.0 has not the NullCheck In-Reply-To: <201509101407.37383.even.rouault@spatialys.com> References: <201509101407.37383.even.rouault@spatialys.com> Message-ID: Hi Even, ok. Thx for explanation. A. 2015-09-10 14:07 GMT+02:00 Even Rouault : > Le jeudi 10 septembre 2015 13:48:09, Andrea Peri a ?crit : >> Hi, >> >> using the wfs 2.0 settings, in the getcapabilities response, I see the >> wfs don't has the NullCheck comparison operator. >> >> Is this ok or an issue ? > > Andrea, > > From http://mapserver.org/fr/development/rfc/ms-rfc-105.html: > """For the sake of compliance testing, rather dummy implementations of > PropertyIsNull and PropertyIsNil operators have been introduced, as MapServer > cannot generate nullable or nillable fields.""" > > So the NullCheck operator isn't declared in GetCapabilities as there isn't a > real implementation for PropertyIsNull. > > Even > > -- > Spatialys - Geospatial professional services > http://www.spatialys.com -- ----------------- Andrea Peri . . . . . . . . . qwerty ????? ----------------- From support at geo6.be Thu Sep 10 04:38:55 2015 From: support at geo6.be (Geo-6) Date: Thu, 10 Sep 2015 13:38:55 +0200 Subject: [mapserver-users] MapFile Generator In-Reply-To: <005701d07cf7$fd7c9130$f875b390$@geo6.be> References: <005701d07cf7$fd7c9130$f875b390$@geo6.be> Message-ID: <002f01d0ebbd$473d9970$d5b8cc50$@geo6.be> Hi everyone, I just did a full redesign of my ? MapFile Generator ? PHP application. The new design should be more user friendly and is more stable. You can download it here : https://github.com/jbelien/MapFile-Generator I developed a PHP library to be used if MapScript is not available/enabled. The PHP library was previously part of the ? MapFile Generator ? application but is now a independant project : https://github.com/jbelien/MapFile-PHP-Library The library can now easily be included in any of your project and can be included in ? MapFile Generator ? application (see documentation). The library documentation can be found here : http://jbelien.github.io/MapFile-PHP-Library/docs/namespaces/MapFile.html Hope you like it and find it useful. Have a great day. Jonathan Beli?n GEO-6 De : Geo-6 [mailto:support at geo6.be] Envoy? : mercredi 22 avril 2015 14:30 ? : mapserver-users at lists.osgeo.org Objet : MapFile Generator Hi everyone, I?m developing a web application (PHP) to read, edit, write and preview MapServer mapfiles. This application uses ?PHP MapScript? (http://www.mapserver.org/mapscript/php/) but if ?PHP MapScript? is not available or enable, it uses an internal library to read/write mapfiles. You can find the application on GitHub : https://github.com/jbelien/MapFile-Generator Use with caution, it?s still an alpha release. Feel free to test it, criticize it, suggest any idea or improvement, or contribute J I hope you?ll like it and find it useful. Do not hesitate to contact me if you have any question/suggestion (preferably using GitHub issues : https://github.com/jbelien/MapFile-Generator/issues) Have a great day. Jonathan Beli?n Geo-6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmckenna at gatewaygeomatics.com Fri Sep 11 06:42:22 2015 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Fri, 11 Sep 2015 10:42:22 -0300 Subject: [mapserver-users] Announcing the new MS4W Message-ID: <55F2DA3E.2030606@gatewaygeomatics.com> Hi everyone! Just in time for FOSS4G-Seoul, I'm very proud to announce the new MS4W[1] MS4W is thriving, as you can see by its long history[2] of releases, and the last few months has seen a lot of development. Much thanks goes to Tanya Haddad for her support for this release, it has been quite an effort updating the full stack (the number of libraries updated and added is large as you see in the recent history). You'll also note that there has been releases happening, we just needed a new home for people to find them. It's quite exciting to live at ms4w.com now, and you'll also notice that we have been using a new tracker[3] which has been working well (please feel free to use it). You may also notice that releases now have a Roadmap[4], every 3 months with dated milestones, and you can follow along the exact changes coming through the tracker link on that page. This 3.1.0 release has some tasty features, including optimized Apache 2.4, MapServer 7.0, PHP 5.4.45, all mapscripts, Oracle support, MapCache 1.4.0 (with GDAL support), TinyOWS 1.1.1, spatialite/OSM utilities, and many many more goodies. New users might like to start at the features[5] page to review. Finally we have moved to a new mailing list (I haven't been able to post to my own old MS4W mailing list for almost 2 years now): please join, as all releases will be announced and support given through the new MS4W list[6] So, I'll cya there! :) Thanks so much everyone, I am quite excited. [1] http://www.ms4w.com/ [2] http://www.ms4w.com/HISTORY.html [3] http://www.ms4w.com/trac/ [4] http://www.ms4w.com/roadmap.html [5] http://www.ms4w.com/features.html [6] http://lists.ms4w.com/cgi-bin/mailman/listinfo/ms4w-users -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ From Steve.Lime at state.mn.us Fri Sep 11 07:03:55 2015 From: Steve.Lime at state.mn.us (Lime, Steve D (MNIT)) Date: Fri, 11 Sep 2015 14:03:55 +0000 Subject: [mapserver-users] Announcing the new MS4W In-Reply-To: <55F2DA3E.2030606@gatewaygeomatics.com> References: <55F2DA3E.2030606@gatewaygeomatics.com> Message-ID: Congrats Jeff, great to see this release! --Steve -----Original Message----- From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Jeff McKenna Sent: Friday, September 11, 2015 8:42 AM To: MapServer Subject: [mapserver-users] Announcing the new MS4W Hi everyone! Just in time for FOSS4G-Seoul, I'm very proud to announce the new MS4W[1] MS4W is thriving, as you can see by its long history[2] of releases, and the last few months has seen a lot of development. Much thanks goes to Tanya Haddad for her support for this release, it has been quite an effort updating the full stack (the number of libraries updated and added is large as you see in the recent history). You'll also note that there has been releases happening, we just needed a new home for people to find them. It's quite exciting to live at ms4w.com now, and you'll also notice that we have been using a new tracker[3] which has been working well (please feel free to use it). You may also notice that releases now have a Roadmap[4], every 3 months with dated milestones, and you can follow along the exact changes coming through the tracker link on that page. This 3.1.0 release has some tasty features, including optimized Apache 2.4, MapServer 7.0, PHP 5.4.45, all mapscripts, Oracle support, MapCache 1.4.0 (with GDAL support), TinyOWS 1.1.1, spatialite/OSM utilities, and many many more goodies. New users might like to start at the features[5] page to review. Finally we have moved to a new mailing list (I haven't been able to post to my own old MS4W mailing list for almost 2 years now): please join, as all releases will be announced and support given through the new MS4W list[6] So, I'll cya there! :) Thanks so much everyone, I am quite excited. [1] http://www.ms4w.com/ [2] http://www.ms4w.com/HISTORY.html [3] http://www.ms4w.com/trac/ [4] http://www.ms4w.com/roadmap.html [5] http://www.ms4w.com/features.html [6] http://lists.ms4w.com/cgi-bin/mailman/listinfo/ms4w-users -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From jukka.rahkonen at maanmittauslaitos.fi Fri Sep 11 07:39:37 2015 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka (MML)) Date: Fri, 11 Sep 2015 14:39:37 +0000 Subject: [mapserver-users] Announcing the new MS4W Message-ID: <9829b6d129ad48089cf80474ca5b3f96@C119S212VM022.msvyvi.vaha.local> Hi, Installs and runs. However, running MapCache from another drive than C: fails for me. What did I do: Edited lines 179 and 413 of httpd.conf to point to i:/ms4w/... Edited mapcache.xml to use i:/ instead of c:/ in all places Opening the MapCache demo link leads to Apache crash and minidump. No crash if I stay on c:\ms4w and also MapCacha demo works. cgi-bin/mapserv.exe is all right also when driven from i:/ -Jukka Rahkonen- Jeff McKenna wrote: > Hi everyone! > Just in time for FOSS4G-Seoul, I'm very proud to announce the new MS4W[1] MS4W is thriving, as you can see by its long history[2] of releases, and the last few months has seen a lot of development. Much thanks goes to Tanya Haddad for her support for this release, it has been quite an effort updating the full stack (the number of libraries updated and added is large as you see in the recent history). You'll also note that there has been releases happening, we just needed a new home for people to find them. It's quite exciting to live at ms4w.com now, and you'll also notice that we have been using a new tracker[3] which has been working well (please feel free to use it). You may also notice that releases now have a Roadmap[4], every 3 months with dated milestones, and you can follow along the exact changes coming through the tracker link on that page. This 3.1.0 release has some tasty features, including optimized Apache 2.4, MapServer 7.0, PHP 5.4.45, all mapscripts, Oracle support, MapCache 1.4.0 (with GDAL support), TinyOWS 1.1.1, spatialite/OSM utilities, and many many more goodies. New users might like to start at the features[5] page to review. Finally we have moved to a new mailing list (I haven't been able to post to my own old MS4W mailing list for almost 2 years now): please join, as all releases will be announced and support given through the new MS4W list[6] So, I'll cya there! :) Thanks so much everyone, I am quite excited. [1] http://www.ms4w.com/ [2] http://www.ms4w.com/HISTORY.html [3] http://www.ms4w.com/trac/ [4] http://www.ms4w.com/roadmap.html [5] http://www.ms4w.com/features.html [6] http://lists.ms4w.com/cgi-bin/mailman/listinfo/ms4w-users -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From jmckenna at gatewaygeomatics.com Fri Sep 11 07:59:55 2015 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Fri, 11 Sep 2015 11:59:55 -0300 Subject: [mapserver-users] Announcing the new MS4W In-Reply-To: <9829b6d129ad48089cf80474ca5b3f96@C119S212VM022.msvyvi.vaha.local> References: <9829b6d129ad48089cf80474ca5b3f96@C119S212VM022.msvyvi.vaha.local> Message-ID: <55F2EC6B.3010905@gatewaygeomatics.com> Great feedback, thanks. Here I just installed a fresh copy into "D:/tmp/test bad spaces 7/", followed the config steps at http://www.ms4w.com/README_INSTALL.html#g-mapcache-apache-module and had no problems using MapCache. In your testing, could you file tickets so this is caught for the next release? http://www.ms4w.com/trac/ I'll see you all on the new MS4W mailing list! :) Thanks, -jeff On 2015-09-11 11:39 AM, Rahkonen Jukka (MML) wrote: > Hi, > > Installs and runs. > > However, running MapCache from another drive than C: fails for me. > What did I do: > > Edited lines 179 and 413 of httpd.conf to point to i:/ms4w/... > Edited mapcache.xml to use i:/ instead of c:/ in all places > > Opening the MapCache demo link leads to Apache crash and minidump. No crash if I stay on c:\ms4w and also MapCacha demo works. cgi-bin/mapserv.exe is all right also when driven from i:/ > > -Jukka Rahkonen- > > > Jeff McKenna wrote: > >> Hi everyone! > >> Just in time for FOSS4G-Seoul, I'm very proud to announce the new MS4W[1] MS4W is thriving, as you can see by its long history[2] of releases, and the last few months has seen a lot of development. Much thanks goes to Tanya Haddad for her support for this release, it has been quite an effort updating the full stack (the number of libraries updated and added is large as you see in the recent history). > > You'll also note that there has been releases happening, we just needed a new home for people to find them. It's quite exciting to live at ms4w.com now, and you'll also notice that we have been using a new tracker[3] which has been working well (please feel free to use it). > > You may also notice that releases now have a Roadmap[4], every 3 months with dated milestones, and you can follow along the exact changes coming through the tracker link on that page. > > This 3.1.0 release has some tasty features, including optimized Apache 2.4, MapServer 7.0, PHP 5.4.45, all mapscripts, Oracle support, MapCache > 1.4.0 (with GDAL support), TinyOWS 1.1.1, spatialite/OSM utilities, and many many more goodies. New users might like to start at the features[5] page to review. > > Finally we have moved to a new mailing list (I haven't been able to post to my own old MS4W mailing list for almost 2 years now): please join, as all releases will be announced and support given through the new MS4W list[6] So, I'll cya there! :) > > Thanks so much everyone, I am quite excited. > > [1] http://www.ms4w.com/ > [2] http://www.ms4w.com/HISTORY.html > [3] http://www.ms4w.com/trac/ > [4] http://www.ms4w.com/roadmap.html > [5] http://www.ms4w.com/features.html > [6] http://lists.ms4w.com/cgi-bin/mailman/listinfo/ms4w-users > > -jeff > > -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ From milis.inpo at gmail.com Sat Sep 12 10:52:04 2015 From: milis.inpo at gmail.com (Milis Inpo) Date: Sun, 13 Sep 2015 01:52:04 +0800 Subject: [mapserver-users] [ASK] Merge polygon from multiple source files Message-ID: Hi, I would like to find a way to merge polygon from multiple source files. I have one set of ENC S57 files which contains 13 files. I would like to extract the DEPARE layer from each file and merge it with other polygon if it is side by side and has same depth value. Is there anyway for me to do that in Mapserver ? TIA Best Regards, Tenlee -------------- next part -------------- An HTML attachment was scrubbed... URL: From adamdryan at gmail.com Tue Sep 15 16:36:29 2015 From: adamdryan at gmail.com (Adam Ryan) Date: Tue, 15 Sep 2015 16:36:29 -0700 Subject: [mapserver-users] Render PostGIS points as raster layer Message-ID: I have over 100 million rows in a PG table with geom type Point, srid=4326. The points represent timestamped centroids of raster cells. The data comes from sparse hourly 1km US grids; Only the cells with data, which is less than 1%, but still a lot of points. The PG table allows for a wealth of spatial-temporal queries, but I want to render as a raster because it is raster data after all. Currently I use ST_Expand to approximate a grid cell as a polygon: LAYER ... TYPE POLYGON CONNECTIONTYPE POSTGIS CONNECTION [host, port, etc...] DATA "geom FROM (SELECT id, ST_Expand( geom, 0.005 ) as geom from [query]) as foo using unique id using srid=4326" ... This works, sorta. In my classifications I set the style COLOR and OUTLINECOLOR the same, but the overlapping 'cell' outlines never look as good as output from a raster. So I want to use a mapserver layer type RASTER. I can create a raster in PG by using ST_AsRaster, but I can't see how to pass it to mapserver: LAYER ... TYPE RASTER DATA "PG:host=[host] port=5432 dbname=[dbname] where=' where? The DATA (connection string) here takes a table name and a where but I really need it to take an SQL string that returns the correct type. Is there a way to do this? Would a GDAL virtual raster be able to accomplish this? I've never worked with them. Thanks for the all the progress over the years, Adam -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.smith.erdc at gmail.com Tue Sep 15 16:59:02 2015 From: michael.smith.erdc at gmail.com (Michael Smith) Date: Wed, 16 Sep 2015 08:59:02 +0900 Subject: [mapserver-users] Render PostGIS points as raster layer In-Reply-To: References: Message-ID: Would the simplest way be to just create a view and use that? Michael Smith Remote Sensing/GIS Center US Army Corps of Engineers > On Sep 16, 2015, at 8:36 AM, Adam Ryan wrote: > > I have over 100 million rows in a PG table with geom type Point, srid=4326. The points represent timestamped centroids of raster cells. The data comes from sparse hourly 1km US grids; Only the cells with data, which is less than 1%, but still a lot of points. The PG table allows for a wealth of spatial-temporal queries, but I want to render as a raster because it is raster data after all. Currently I use ST_Expand to approximate a grid cell as a polygon: > > LAYER > ... > TYPE POLYGON > CONNECTIONTYPE POSTGIS > CONNECTION [host, port, etc...] > DATA "geom FROM (SELECT id, ST_Expand( geom, 0.005 ) as geom from [query]) as foo using unique id using srid=4326" > ... > > This works, sorta. In my classifications I set the style COLOR and OUTLINECOLOR the same, but the overlapping 'cell' outlines never look as good as output from a raster. > > So I want to use a mapserver layer type RASTER. I can create a raster in PG by using ST_AsRaster, but I can't see how to pass it to mapserver: > > LAYER > ... > TYPE RASTER > DATA "PG:host=[host] port=5432 dbname=[dbname] where=' where? > > The DATA (connection string) here takes a table name and a where but I really need it to take an SQL string that returns the correct type. > > Is there a way to do this? Would a GDAL virtual raster be able to accomplish this? I've never worked with them. > > Thanks for the all the progress over the years, > Adam > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users From ahmettemiz88 at gmail.com Wed Sep 16 04:13:11 2015 From: ahmettemiz88 at gmail.com (Ahmet Temiz) Date: Wed, 16 Sep 2015 14:13:11 +0300 Subject: [mapserver-users] (no subject) Message-ID: hello, I want to generate geojson data using mapscript-java. I need an example map file outputting geojson. Any tips on generating JSON data would be greatly appreciated.. ?regards? -- Ahmet Temiz Jeoloji M?h. Afet ve Acil Durum Y?netimi Ba?kanl??? Bilgi ??lem Dairesi Ba?kanl???-CBS Grubu ________________________ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency -------------- next part -------------- An HTML attachment was scrubbed... URL: From ahmettemiz88 at gmail.com Wed Sep 16 04:15:16 2015 From: ahmettemiz88 at gmail.com (Ahmet Temiz) Date: Wed, 16 Sep 2015 14:15:16 +0300 Subject: [mapserver-users] generating geojson data using mapscript-java. Message-ID: hello, I want to generate geojson data using mapscript-java. I need an example map file outputting geojson. Any tips on generating JSON data would be greatly appreciated.. ?regards? -- Ahmet Temiz Jeoloji M?h. Afet ve Acil Durum Y?netimi Ba?kanl??? Bilgi ??lem Dairesi Ba?kanl???-CBS Grubu ________________________ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency -------------- next part -------------- An HTML attachment was scrubbed... URL: From K.Hirst at bom.gov.au Wed Sep 16 19:24:18 2015 From: K.Hirst at bom.gov.au (Kathleen Hirst) Date: Thu, 17 Sep 2015 02:24:18 +0000 Subject: [mapserver-users] Labelling in union layer [SEC=UNCLASSIFIED] Message-ID: Dear MapServer users, I'm having problems with labels in union layers using MapServer 6.4.1 If I union two layers, the symbols show, but not the labels. The source is a point shapefile. I'm labelling using an EXPRESSION and TEXT in CLASS. I've tried using LABELITEM instead of TEXT, but same result. Thanks Kathleen -------------- next part -------------- An HTML attachment was scrubbed... URL: From Soeren.Horn at geobasis-bb.de Fri Sep 18 02:13:31 2015 From: Soeren.Horn at geobasis-bb.de (=?iso-8859-1?Q?Horn=2C_S=F6ren?=) Date: Fri, 18 Sep 2015 09:13:31 +0000 Subject: [mapserver-users] html tags in GetFeatureInfo Message-ID: <426B8D1A0B17304599F4AB882DF3FBEE9203DA@psvmx01.lgb.local> Hi, I'm using the GetFeatureInfo to show some column values from a database. Everything works just fine. But now I want to use html tags, such as , and
for styling my output text. So I tried to write my content with the html syntax, like "some-strong-content
normal-textsome-emphasized-text", in a PostGIS column description (with datatype 'text'). Code snippet from my Getfeatureinfo html: ... Content [description] ... But the GetFeatureInfo do not interpret the html tags and write the exact column value (with all html tag). Is there a possibility to use html tags in a PostGIS database that are interpreted by MapServers GetFeatureInfo? OS: Debian GNU/Linux 7.8 (wheezy) kernel: 3.2.0-4-amd64 MapServer: 6.4 PostGIS: 1.5 Best regards, S?ren Horn __________________ Landesvermessung und Geobasisinformation Brandenburg Dezernat 43 - GDI, Kontaktstelle, INSPIRE-Zentrale Herr S?ren Horn Heinrich-Mann-Allee 103 - Haus 19, 14473 Potsdam Mail: soeren.horn at geobasis-bb.de Tel.: (03 31) 88 44 - 247 http://www.geobasis-bb.de -------------- next part -------------- An HTML attachment was scrubbed... URL: From jt at mapmedia.de Fri Sep 18 02:33:02 2015 From: jt at mapmedia.de (=?UTF-8?Q?J=c3=b6rg_Thomsen?=) Date: Fri, 18 Sep 2015 11:33:02 +0200 Subject: [mapserver-users] html tags in GetFeatureInfo In-Reply-To: <426B8D1A0B17304599F4AB882DF3FBEE9203DA@psvmx01.lgb.local> References: <426B8D1A0B17304599F4AB882DF3FBEE9203DA@psvmx01.lgb.local> Message-ID: <55FBDA4E.4050606@mapmedia.de> Hello S?ren, I guess the html-tags are escaped by mapserver, try to use the raw-output: > [attribute name],[attrribute name_esc],[attribute item name_raw] >... > By default the attributes are encoded > especially for HTML representation. In addition the escaped version > (for use in URLs) as well as the raw data is available. http://mapserver.org/mapfile/template.html J?rg Am 18.09.2015 um 11:13 schrieb Horn, S?ren: > Hi, > > > > I'm using the GetFeatureInfo to show some column values from a > database. > > Everything works just fine. > > > > But now I want to use html tags, such as , and
for > styling my output text. > > So I tried to write my content with the html syntax, like > > "some-strong-content
normal-textsome-emphasized-text", > > > in a PostGIS column description (with datatype 'text'). > > > > Code snippet from my Getfeatureinfo html: > > ... > > > > Content > > [description] > > > > ... > > > > But the GetFeatureInfo do not interpret the html tags and write the > exact column value (with all html tag). > > > > Is there a possibility to use html tags in a PostGIS database that > are interpreted by MapServers GetFeatureInfo? > > > > > > OS: Debian GNU/Linux 7.8 (wheezy) > > kernel: 3.2.0-4-amd64 > > > > MapServer: 6.4 > > PostGIS: 1.5 > > > > > > > > Best regards, > > S?ren Horn > > > > __________________ > > *Landesvermessung und Geobasisinformation Brandenburg*** > > Dezernat 43 ? GDI, Kontaktstelle, INSPIRE-Zentrale > > Herr S?ren Horn > > Heinrich-Mann-Allee 103 - Haus 19, 14473 Potsdam > > > > Mail: soeren.horn at geobasis-bb.de > > Tel.: (03 31) 88 44 - 247 > > http://www.geobasis-bb.de > > > > > > _______________________________________________ mapserver-users > mailing list mapserver-users at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > From Soeren.Horn at geobasis-bb.de Fri Sep 18 02:55:11 2015 From: Soeren.Horn at geobasis-bb.de (=?iso-8859-1?Q?Horn=2C_S=F6ren?=) Date: Fri, 18 Sep 2015 09:55:11 +0000 Subject: [mapserver-users] html tags in GetFeatureInfo In-Reply-To: <55FBDA4E.4050606@mapmedia.de> References: <426B8D1A0B17304599F4AB882DF3FBEE9203DA@psvmx01.lgb.local> <55FBDA4E.4050606@mapmedia.de> Message-ID: <426B8D1A0B17304599F4AB882DF3FBEE9203F5@psvmx01.lgb.local> Thanks J?rg, this solve the problem. Code snippet from my Getfeatureinfo html: ... Content [item name="description" escape="none"] ... -----Urspr?ngliche Nachricht----- Von: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] Im Auftrag von J?rg Thomsen Gesendet: Freitag, 18. September 2015 11:33 An: mapserver-users at lists.osgeo.org Betreff: Re: [mapserver-users] html tags in GetFeatureInfo Hello S?ren, I guess the html-tags are escaped by mapserver, try to use the raw-output: > [attribute name],[attrribute name_esc],[attribute item name_raw] ... > By default the attributes are encoded > especially for HTML representation. In addition the escaped version >(for use in URLs) as well as the raw data is available. http://mapserver.org/mapfile/template.html J?rg Am 18.09.2015 um 11:13 schrieb Horn, S?ren: > Hi, > > > > I'm using the GetFeatureInfo to show some column values from a > database. > > Everything works just fine. > > > > But now I want to use html tags, such as , and
for > styling my output text. > > So I tried to write my content with the html syntax, like > > "some-strong-content
normal-textsome-emphasize > d-text", > > > in a PostGIS column description (with datatype 'text'). > > > > Code snippet from my Getfeatureinfo html: > > ... > > > > Content > > [description] > > > > ... > > > > But the GetFeatureInfo do not interpret the html tags and write the > exact column value (with all html tag). > > > > Is there a possibility to use html tags in a PostGIS database that are > interpreted by MapServers GetFeatureInfo? > > > > > > OS: Debian GNU/Linux 7.8 (wheezy) > > kernel: 3.2.0-4-amd64 > > > > MapServer: 6.4 > > PostGIS: 1.5 > > > > > > > > Best regards, > > S?ren Horn > > > > __________________ > > *Landesvermessung und Geobasisinformation Brandenburg*** > > Dezernat 43 - GDI, Kontaktstelle, INSPIRE-Zentrale > > Herr S?ren Horn > > Heinrich-Mann-Allee 103 - Haus 19, 14473 Potsdam > > > > Mail: soeren.horn at geobasis-bb.de > > Tel.: (03 31) 88 44 - 247 > > http://www.geobasis-bb.de > > > > > > _______________________________________________ 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 jukka.rahkonen at maanmittauslaitos.fi Fri Sep 18 03:01:49 2015 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka (MML)) Date: Fri, 18 Sep 2015 10:01:49 +0000 Subject: [mapserver-users] html tags in GetFeatureInfo Message-ID: <0b2d1c7cc3e2490e878d7c521ae19db7@C119S212VM022.msvyvi.vaha.local> Hi, I noticed that S?ren just solved the problem but because my mail was ready I send it anyway. We have html-formatted strings in the database and we show them through GetFeatureInfo (text/html) like this: LAYER includes "wms_feature_info_mime_type" "text/html" in the metadata and template is given in the CLASS CLASS NAME "kalastuskielto" template "kalastuskielto.html" The template "kalastuskielto.html" is like this: Kalastuskieltoalue

NIMI

[item name=NIMI format="$value" escape=none]

LIS?TIEDOT

[item name=KIELLONLISATIETO format="$value" escape=none]

VOIMASSAOLO

[item name=VOIMASSAOLO format="$value" escape=none]

YHTEYSTIEDOT

[item name=YHTEYSTIEDOT format="$value" escape=none] You can test the result from http://www.paikkatietoikkuna.fi/web/fi/kartta?ver=1.17&zoomLevel=9&coord=400299_6944922&mapLayers=base_35+100+default,1373+100+&&showMarker=true Click on the red coloured river. -Jukka Rahkonen- -----Alkuper?inen viesti----- J?rg Thomsen wrote: > Hello S?ren, > I guess the html-tags are escaped by mapserver, try to use the raw-output: > [attribute name],[attrribute name_esc],[attribute item name_raw] ... > By default the attributes are encoded > especially for HTML representation. In addition the escaped version >(for use in URLs) as well as the raw data is available. http://mapserver.org/mapfile/template.html J?rg Am 18.09.2015 um 11:13 schrieb Horn, S?ren: > Hi, > > > > I'm using the GetFeatureInfo to show some column values from a > database. > > Everything works just fine. > > > > But now I want to use html tags, such as , and
for > styling my output text. > > So I tried to write my content with the html syntax, like > > "some-strong-content
normal-textsome-emphasize > d-text", > > > in a PostGIS column description (with datatype 'text'). > > > > Code snippet from my Getfeatureinfo html: > > ... > > > > Content > > [description] > > > > ... > > > > But the GetFeatureInfo do not interpret the html tags and write the > exact column value (with all html tag). > > > > Is there a possibility to use html tags in a PostGIS database that are > interpreted by MapServers GetFeatureInfo? > > > > > > OS: Debian GNU/Linux 7.8 (wheezy) > > kernel: 3.2.0-4-amd64 > > > > MapServer: 6.4 > > PostGIS: 1.5 > > > > > > > > Best regards, > > S?ren Horn > > > > __________________ > > *Landesvermessung und Geobasisinformation Brandenburg*** > > Dezernat 43 - GDI, Kontaktstelle, INSPIRE-Zentrale > > Herr S?ren Horn > > Heinrich-Mann-Allee 103 - Haus 19, 14473 Potsdam > > > > Mail: soeren.horn at geobasis-bb.de > > Tel.: (03 31) 88 44 - 247 > > http://www.geobasis-bb.de > > > > > > _______________________________________________ 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 mafonso333 at gmail.com Fri Sep 18 03:23:00 2015 From: mafonso333 at gmail.com (Marco Afonso) Date: Fri, 18 Sep 2015 11:23:00 +0100 Subject: [mapserver-users] Mapcache Minimal Usage Message-ID: Hi all, I would like to start using mapcache but I found the documentation a little confusing. Sorry for the noob question. Currently, I have a mapserver that answers to HTTP requests for WMS, like: http://host/cgi-bin/mapserv.exe?map=bla&SERVICE=WMS&bla bla bla... I have created a mapcache file with: 1. matching the above request, 2. specifying the disk cache 3. specifying the PNG format 4. specifying the WMS servisse What else configuration is mandatory? I just need this configuration for now. Finally, how do I make a request to mapcache, so it can start filling the cache and serving the cached data? -- Best regards, Marco Afonso http://goo.gl/ZDtQjm -------------- next part -------------- An HTML attachment was scrubbed... URL: From Steve.Lime at state.mn.us Fri Sep 18 11:37:01 2015 From: Steve.Lime at state.mn.us (Lime, Steve D (MNIT)) Date: Fri, 18 Sep 2015 18:37:01 +0000 Subject: [mapserver-users] Mapcache Minimal Usage In-Reply-To: References: Message-ID: I believe you also need a tileset that references the source, grid(s), cache, format, etc? This is also where you set things like metatiling and metabuffer so as to minimize edge effects. The name of the tileset is what you refer to from you client apps? It?s easiest to see how to call mapcache from examples I think. Mapcache comes configured with a demo that uses either open layers or Google Maps. You can access at http://host/mapcache/demo. You should see a list of services and then can see how they can be used (view-source). Here?s a simple example for Google maps: http://maps1.dnr.state.mn.us/lakefinder/map.html Steve From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Marco Afonso Sent: Friday, September 18, 2015 5:23 AM To: mapserver Subject: [mapserver-users] Mapcache Minimal Usage Hi all, I would like to start using mapcache but I found the documentation a little confusing. Sorry for the noob question. Currently, I have a mapserver that answers to HTTP requests for WMS, like: http://host/cgi-bin/mapserv.exe?map=bla&SERVICE=WMS&bla bla bla... I have created a mapcache file with: 1. matching the above request, 2. specifying the disk cache 3. specifying the PNG format 4. specifying the WMS servisse What else configuration is mandatory? I just need this configuration for now. Finally, how do I make a request to mapcache, so it can start filling the cache and serving the cached data? -- Best regards, Marco Afonso http://goo.gl/ZDtQjm [https://dl.dropboxusercontent.com/u/17607469/qr.png] -------------- next part -------------- An HTML attachment was scrubbed... URL: From lars.schylberg at blixtmail.se Fri Sep 18 15:18:25 2015 From: lars.schylberg at blixtmail.se (lars.schylberg at blixtmail.se) Date: Sat, 19 Sep 2015 00:18:25 +0200 Subject: [mapserver-users] [ASK] Merge polygon from multiple source files In-Reply-To: References: Message-ID: There is actually two ways to do this with Mapserver: You could join them with a ogrtindex.? Then You are not actually merging the polygons but that doesn't matter since You will only display the polygon and not the outline. To do the ogrtindex You will do something like this with a bash script #/bin/sh # # make an ogr index file for mapserver for the S57 data # this example shows how to do chart level 2 and DEPARE layer DIR=. CL=2 IFS=$'\n' read -r -d "" -a files <<< "$(find "$DIR" -name "??${CL}*.000" -type f)" ogrtindex -lname DEPARE Chartindex_${CL}_depare.shp ${files[@]} -------------------------------------------------------------------------------------------------------- To display in mapserver: LAYER ??? NAME DEPARE_2 ??? TYPE POLYGON ??? CONNECTIONTYPE OGR ??? TILEINDEX "Chartindex_2_depare.shp" ??? TILEITEM "Location" ??? STATUS ON ??? CLASS ??????? NAME "<= 0" ??????? EXPRESSION ([DRVAL2] <= 0) ??????? STYLE ????????? COLOR 155 200 163 ??????? END ??? END ??? CLASS ??????? NAME "0-10" ??????? EXPRESSION (([DRVAL2]> 0) AND ([DRVAL2] < 10)) ??????? STYLE ????????? COLOR 145 202 243 ??????? END ??? END ??? CLASS ??????? NAME "10-20" ??????? EXPRESSION (([DRVAL2] >= 10) AND ([DRVAL2] < 20)) ??????? STYLE ????????? COLOR 180 218 247 ??????? END ??? END ??? CLASS ??????? NAME "Deep water > 20" ??????? EXPRESSION (([DRVAL2] >= 20) AND ([DRVAL2] < 30)) ??????? STYLE ????????? COLOR 210 234 231 ??????? END ??? END ??? CLASS ??????? NAME "Deep water > 30" ??????? EXPRESSION ([DRVAL2] >= 30) ??????? STYLE ????????? COLOR 234 255 243 ??????? END ??? END END # Layer The second option to really join the depare areas is to run ogr2ogr two or three times. (all this should of course be scripted) First: ogr2ogr to convert all S57 DEPARE layers to shape (or sqlite ) - one by one Second step: merge all shape files with ogr2ogr (make a loop and merge one by one) Third step: join the polygons with a vrt file: Something like this (file called "depare_join.vrt"): ? ?? ?? ./combined_2_depare.shp ???? ?????? SELECT ST_union(geometry), DRVAL1, DRVAL2 ?????? FROM DEPARE group by DRVAL1 ???? ?? The third step could be used both with ogr2ogr or directly with Mapserver In Mapserver it would look something like this when using the vrt file directly: LAYER ? NAME DEPARE_2 ? TYPE POLYGON ? CONNECTIONTYPE OGR ? CONNECTION './depare_join.vrt' ? DATA DEPARE_VRT The rest is the same in the Mapserver layer I haven't found a good way to combine ogrtindex with vrt:s Have fun /Lars S. -----Originalmeddelande----- Fr?n: "Milis Inpo" Till: mapserver-users at lists.osgeo.org Datum: 2015-09-12 19:52 ?mne: [mapserver-users] [ASK] Merge polygon from multiple source files Hi, I would like to find a way to merge polygon from multiple source files. I have one set of ENC S57 files which contains 13 files. I would like to extract the DEPARE layer from each file and merge it with other polygon if it is side by side and has same depth value. Is there anyway for me to do that in Mapserver ? TIA Best Regards, Tenlee _______________________________________________ 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 Sun Sep 20 07:37:55 2015 From: aperi2007 at gmail.com (Andrea Peri) Date: Sun, 20 Sep 2015 16:37:55 +0200 Subject: [mapserver-users] Using a SRS with inverted axes. Message-ID: Hi, I see the mapserv don't seem able to invert the axes when the invoked srs define the inverted. Is confirmed this ? Thx, -- ----------------- Andrea Peri . . . . . . . . . qwerty ????? ----------------- From jukka.rahkonen at maanmittauslaitos.fi Sun Sep 20 08:22:16 2015 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka (MML)) Date: Sun, 20 Sep 2015 15:22:16 +0000 Subject: [mapserver-users] Using a SRS with inverted axes. In-Reply-To: References: Message-ID: <1442762538326.42894@maanmittauslaitos.fi> Hi, You must give an exact example where it fails for you. WMS 1.3.0 with EPSG:4326 is using inverted axis and work with Mapserver, and you can see inverted axes also in the GML that comes as a response from WFS 1.1.0 http://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&VERSION=1.0.0&REQUEST=getfeature&TYPENAME=continents&MAXFEATURES=100 http://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&VERSION=1.1.0&REQUEST=getfeature&TYPENAME=continents&MAXFEATURES=100 -Jukka Rahkonen- ________________________________________ Andrea Peri wrote: Hi, I see the mapserv don't seem able to invert the axes when the invoked srs define the inverted. Is confirmed this ? Thx, -- ----------------- Andrea Peri . . . . . . . . . qwerty ????? ----------------- _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From aperi2007 at gmail.com Sun Sep 20 08:56:32 2015 From: aperi2007 at gmail.com (Andrea Peri) Date: Sun, 20 Sep 2015 17:56:32 +0200 Subject: [mapserver-users] Using a SRS with inverted axes. In-Reply-To: <1442762538326.42894@maanmittauslaitos.fi> References: <1442762538326.42894@maanmittauslaitos.fi> Message-ID: Hi Jukka, I can show this two samples from an mapserver where I update just yesterday the new proj 4.9.2 and so it support the latest epsg db: 1) http://www502.regione.toscana.it/wmsraster/com.rt.wms.RTmap/wms?map=wmsambamm&SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&Typename=rt_ambamm.idcomuni.rt.poly&srsName=EPSG:6707&MAXFEATURES=100 The epsg:6707 is a epsg code with axes north, east as reported from http://www.epsg-registry.org/ Instead the mapserver return 565347.495390 4910630.530024 (east , north) 2) Using the same crequest I try instead the epsg:25832 that is an epsg code with axes (east, north) http://www502.regione.toscana.it/wmsraster/com.rt.wms.RTmap/wms?map=wmsambamm&SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&Typename=rt_ambamm.idcomuni.rt.poly&srsName=EPSG:25832&MAXFEATURES=100 it return still return the sames 565347.495390 4910630.530024 (east, north) Please note both epsg:6707 and epsg:25832 are projected, instead epsg:4326 is a geograhic system. Perhaps mapserver invert only on geographics ? Thx, A. 2015-09-20 17:22 GMT+02:00 Rahkonen Jukka (MML) : > Hi, > > You must give an exact example where it fails for you. WMS 1.3.0 with EPSG:4326 is using inverted axis and work with Mapserver, and you can see inverted axes also in the GML that comes as a response from WFS 1.1.0 > > http://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&VERSION=1.0.0&REQUEST=getfeature&TYPENAME=continents&MAXFEATURES=100 > > http://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&VERSION=1.1.0&REQUEST=getfeature&TYPENAME=continents&MAXFEATURES=100 > > -Jukka Rahkonen- > > ________________________________________ > Andrea Peri wrote: > > Hi, > > I see the mapserv don't seem able to invert the axes when the invoked > srs define the inverted. > > Is confirmed this ? > > > 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 ????? ----------------- From even.rouault at spatialys.com Sun Sep 20 09:39:46 2015 From: even.rouault at spatialys.com (Even Rouault) Date: Sun, 20 Sep 2015 18:39:46 +0200 Subject: [mapserver-users] Using a SRS with inverted axes. In-Reply-To: References: <1442762538326.42894@maanmittauslaitos.fi> Message-ID: <201509201839.46744.even.rouault@spatialys.com> Le dimanche 20 septembre 2015 17:56:32, Andrea Peri a ?crit : > Hi Jukka, > > I can show this two samples from an mapserver where I update just > yesterday the new proj 4.9.2 and so it support the latest epsg db: > > 1) > http://www502.regione.toscana.it/wmsraster/com.rt.wms.RTmap/wms?map=wmsamba > mm&SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&Typename=rt_ambamm.idcomuni > .rt.poly&srsName=EPSG:6707&MAXFEATURES=100 > > The epsg:6707 is a epsg code with axes north, east as reported from > http://www.epsg-registry.org/ > > Instead the mapserver return 565347.495390 4910630.530024 (east , north) > > 2) > Using the same crequest I try instead the epsg:25832 that is an epsg > code with axes (east, north) > > http://www502.regione.toscana.it/wmsraster/com.rt.wms.RTmap/wms?map=wmsamba > mm&SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&Typename=rt_ambamm.idcomuni > .rt.poly&srsName=EPSG:25832&MAXFEATURES=100 > > it return still return the sames 565347.495390 4910630.530024 (east, north) > > > Please note both epsg:6707 and epsg:25832 are projected, instead > epsg:4326 is a geograhic system. > Perhaps mapserver invert only on geographics ? No it has a resource file mapaxisorder.csv with the list of EPSG codes where axis order must be inverted and it seems it isn't up to date. Can you raise a ticket about that ? Not sure how the CSV file was generated initially, but a script using the GDAL OSR API could do it. > > Thx, > > A. > > > > 2015-09-20 17:22 GMT+02:00 Rahkonen Jukka (MML) > > : > > Hi, > > > > You must give an exact example where it fails for you. WMS 1.3.0 with > > EPSG:4326 is using inverted axis and work with Mapserver, and you can > > see inverted axes also in the GML that comes as a response from WFS > > 1.1.0 > > > > http://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&VERSION=1.0.0&REQUEST=g > > etfeature&TYPENAME=continents&MAXFEATURES=100 > > > > http://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&VERSION=1.1.0&REQUEST=g > > etfeature&TYPENAME=continents&MAXFEATURES=100 > > > > -Jukka Rahkonen- > > > > ________________________________________ > > Andrea Peri wrote: > > > > Hi, > > > > I see the mapserv don't seem able to invert the axes when the invoked > > srs define the inverted. > > > > Is confirmed this ? > > > > > > Thx, > > > > -- > > ----------------- > > Andrea Peri > > . . . . . . . . . > > qwerty ????? > > ----------------- > > _______________________________________________ > > mapserver-users mailing list > > mapserver-users at lists.osgeo.org > > http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Spatialys - Geospatial professional services http://www.spatialys.com From aperi2007 at gmail.com Sun Sep 20 10:09:15 2015 From: aperi2007 at gmail.com (Andrea Peri) Date: Sun, 20 Sep 2015 19:09:15 +0200 Subject: [mapserver-users] Using a SRS with inverted axes. In-Reply-To: <201509201839.46744.even.rouault@spatialys.com> References: <1442762538326.42894@maanmittauslaitos.fi> <201509201839.46744.even.rouault@spatialys.com> Message-ID: Raise ticket on mapserver issue system. https://github.com/mapserver/mapserver/issues/5168 Thx. 2015-09-20 18:39 GMT+02:00 Even Rouault : > Le dimanche 20 septembre 2015 17:56:32, Andrea Peri a ?crit : >> Hi Jukka, >> >> I can show this two samples from an mapserver where I update just >> yesterday the new proj 4.9.2 and so it support the latest epsg db: >> >> 1) >> http://www502.regione.toscana.it/wmsraster/com.rt.wms.RTmap/wms?map=wmsamba >> mm&SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&Typename=rt_ambamm.idcomuni >> .rt.poly&srsName=EPSG:6707&MAXFEATURES=100 >> >> The epsg:6707 is a epsg code with axes north, east as reported from >> http://www.epsg-registry.org/ >> >> Instead the mapserver return 565347.495390 4910630.530024 (east , north) >> >> 2) >> Using the same crequest I try instead the epsg:25832 that is an epsg >> code with axes (east, north) >> >> http://www502.regione.toscana.it/wmsraster/com.rt.wms.RTmap/wms?map=wmsamba >> mm&SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&Typename=rt_ambamm.idcomuni >> .rt.poly&srsName=EPSG:25832&MAXFEATURES=100 >> >> it return still return the sames 565347.495390 4910630.530024 (east, north) >> >> >> Please note both epsg:6707 and epsg:25832 are projected, instead >> epsg:4326 is a geograhic system. >> Perhaps mapserver invert only on geographics ? > > No it has a resource file mapaxisorder.csv with the list of EPSG codes where > axis order must be inverted and it seems it isn't up to date. Can you raise a > ticket about that ? > Not sure how the CSV file was generated initially, but a script using the GDAL > OSR API could do it. > >> >> Thx, >> >> A. >> >> >> >> 2015-09-20 17:22 GMT+02:00 Rahkonen Jukka (MML) >> >> : >> > Hi, >> > >> > You must give an exact example where it fails for you. WMS 1.3.0 with >> > EPSG:4326 is using inverted axis and work with Mapserver, and you can >> > see inverted axes also in the GML that comes as a response from WFS >> > 1.1.0 >> > >> > http://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&VERSION=1.0.0&REQUEST=g >> > etfeature&TYPENAME=continents&MAXFEATURES=100 >> > >> > http://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&VERSION=1.1.0&REQUEST=g >> > etfeature&TYPENAME=continents&MAXFEATURES=100 >> > >> > -Jukka Rahkonen- >> > >> > ________________________________________ >> > Andrea Peri wrote: >> > >> > Hi, >> > >> > I see the mapserv don't seem able to invert the axes when the invoked >> > srs define the inverted. >> > >> > Is confirmed this ? >> > >> > >> > Thx, >> > >> > -- >> > ----------------- >> > Andrea Peri >> > . . . . . . . . . >> > qwerty ????? >> > ----------------- >> > _______________________________________________ >> > mapserver-users mailing list >> > mapserver-users at lists.osgeo.org >> > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > -- > Spatialys - Geospatial professional services > http://www.spatialys.com -- ----------------- Andrea Peri . . . . . . . . . qwerty ????? ----------------- From ahmettemiz88 at gmail.com Sun Sep 20 12:40:15 2015 From: ahmettemiz88 at gmail.com (Ahmet Temiz) Date: Sun, 20 Sep 2015 22:40:15 +0300 Subject: [mapserver-users] geojson response with mapscript Message-ID: Hello, my mapp file produces geojson as output. but I couldn't get this geojson as response when I am using mapscript (java). How can I do that ? regards Ahmet Temiz -- Ahmet Temiz Jeoloji M?h. Afet ve Acil Durum Y?netimi Ba?kanl??? Bilgi ??lem Dairesi Ba?kanl???-CBS Grubu ________________________ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency -------------- next part -------------- An HTML attachment was scrubbed... URL: From aperi2007 at gmail.com Sun Sep 20 13:47:12 2015 From: aperi2007 at gmail.com (Andrea Peri) Date: Sun, 20 Sep 2015 22:47:12 +0200 Subject: [mapserver-users] Using a SRS with inverted axes. In-Reply-To: <201509201839.46744.even.rouault@spatialys.com> References: <1442762538326.42894@maanmittauslaitos.fi> <201509201839.46744.even.rouault@spatialys.com> Message-ID: thx Jukka and Even, I resolvelocally the issue modifyning manually the mapaxisorder.csv and regenerating the mapaxisorder.h using the mapaxisorder.sh. Now the url with 6707 of our server return correctly the coords with inverted axes. A. 2015-09-20 18:39 GMT+02:00 Even Rouault : > Le dimanche 20 septembre 2015 17:56:32, Andrea Peri a ?crit : >> Hi Jukka, >> >> I can show this two samples from an mapserver where I update just >> yesterday the new proj 4.9.2 and so it support the latest epsg db: >> >> 1) >> http://www502.regione.toscana.it/wmsraster/com.rt.wms.RTmap/wms?map=wmsamba >> mm&SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&Typename=rt_ambamm.idcomuni >> .rt.poly&srsName=EPSG:6707&MAXFEATURES=100 >> >> The epsg:6707 is a epsg code with axes north, east as reported from >> http://www.epsg-registry.org/ >> >> Instead the mapserver return 565347.495390 4910630.530024 (east , north) >> >> 2) >> Using the same crequest I try instead the epsg:25832 that is an epsg >> code with axes (east, north) >> >> http://www502.regione.toscana.it/wmsraster/com.rt.wms.RTmap/wms?map=wmsamba >> mm&SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&Typename=rt_ambamm.idcomuni >> .rt.poly&srsName=EPSG:25832&MAXFEATURES=100 >> >> it return still return the sames 565347.495390 4910630.530024 (east, north) >> >> >> Please note both epsg:6707 and epsg:25832 are projected, instead >> epsg:4326 is a geograhic system. >> Perhaps mapserver invert only on geographics ? > > No it has a resource file mapaxisorder.csv with the list of EPSG codes where > axis order must be inverted and it seems it isn't up to date. Can you raise a > ticket about that ? > Not sure how the CSV file was generated initially, but a script using the GDAL > OSR API could do it. > >> >> Thx, >> >> A. >> >> >> >> 2015-09-20 17:22 GMT+02:00 Rahkonen Jukka (MML) >> >> : >> > Hi, >> > >> > You must give an exact example where it fails for you. WMS 1.3.0 with >> > EPSG:4326 is using inverted axis and work with Mapserver, and you can >> > see inverted axes also in the GML that comes as a response from WFS >> > 1.1.0 >> > >> > http://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&VERSION=1.0.0&REQUEST=g >> > etfeature&TYPENAME=continents&MAXFEATURES=100 >> > >> > http://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&VERSION=1.1.0&REQUEST=g >> > etfeature&TYPENAME=continents&MAXFEATURES=100 >> > >> > -Jukka Rahkonen- >> > >> > ________________________________________ >> > Andrea Peri wrote: >> > >> > Hi, >> > >> > I see the mapserv don't seem able to invert the axes when the invoked >> > srs define the inverted. >> > >> > Is confirmed this ? >> > >> > >> > Thx, >> > >> > -- >> > ----------------- >> > Andrea Peri >> > . . . . . . . . . >> > qwerty ????? >> > ----------------- >> > _______________________________________________ >> > mapserver-users mailing list >> > mapserver-users at lists.osgeo.org >> > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > -- > Spatialys - Geospatial professional services > http://www.spatialys.com -- ----------------- Andrea Peri . . . . . . . . . qwerty ????? ----------------- From ahmettemiz88 at gmail.com Mon Sep 21 04:44:52 2015 From: ahmettemiz88 at gmail.com (Ahmet Temiz) Date: Mon, 21 Sep 2015 14:44:52 +0300 Subject: [mapserver-users] wfs mapscript error Message-ID: hello, I tested my map file : " mapserv QUERY_STRING="map=geojson1.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=syol3&OUTPUTFORMAT=geojson" > test1.txt" it works. But when I use same map file in java-mapscript, it gives this error. " java.lang.UnknownError: msOWSDispatch(): WFS server error. SERVICE=WFS requested, but WFS support not configured in MapServer " my java related code : OWSRequest req= new OWSRequest(); req.setParameter("SERVICE", "WFS"); req.setParameter("VERSION", "1.0.0"); req.setParameter("REQUEST", "GetFeature"); req.setParameter("TYPENAME", "syol3"); req.setParameter("OUTPUTFORMAT","geojson"); Can you tell me what wrong I did ? regards -- Ahmet Temiz Jeoloji M?h. Afet ve Acil Durum Y?netimi Ba?kanl??? Bilgi ??lem Dairesi Ba?kanl???-CBS Grubu ________________________ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency -------------- next part -------------- An HTML attachment was scrubbed... URL: From ahmettemiz88 at gmail.com Mon Sep 21 11:32:22 2015 From: ahmettemiz88 at gmail.com (Ahmet Temiz) Date: Mon, 21 Sep 2015 21:32:22 +0300 Subject: [mapserver-users] mapscript problem Message-ID: hello When I upgrade mapserver rom 6.0 to 7.0. I encountered a new error in mapscrip-java: " Caused by: java.lang.UnknownError: loadLayer(): Unknown identifier. Annotation Layers have been removed. To obtain same functionality, use a layer with label->styles and no class->styles " ?Can you tell me how this happened ? How can I solve the problem ? regards ? -- Ahmet Temiz Jeoloji M?h. Afet ve Acil Durum Y?netimi Ba?kanl??? Bilgi ??lem Dairesi Ba?kanl???-CBS Grubu ________________________ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency -------------- next part -------------- An HTML attachment was scrubbed... URL: From boolean10001 at yahoo.com Mon Sep 21 12:46:31 2015 From: boolean10001 at yahoo.com (Carlos Ruiz) Date: Mon, 21 Sep 2015 19:46:31 +0000 (UTC) Subject: [mapserver-users] mapscript problem In-Reply-To: References: Message-ID: <914642101.1128485.1442864791308.JavaMail.yahoo@mail.yahoo.com> Ahmet, Annotation layers have been deprecated: LAYER ? MapServer 7.0.0 documentation | ? | | ? | ? | ? | ? | ? | | LAYER ? MapServer 7.0.0 documentationEnables debugging of a layer in the current map. Debugging with MapServer versions >= 5.0: | | | | View on mapserver.org | Preview by Yahoo | | | | ? | NoteTYPE annotation has been deprecated since version 6.2.Identical functionality can be obtained by adding LABELlevel STYLE blocks, and do not require loading thedatasets twice in two different layers as was the case withlayers of TYPE annotation. Update you .MAP file if or your Java code as it is suggested. ?MSc. Carlos Ruiz From: Ahmet Temiz To: mapserver-users Sent: Monday, September 21, 2015 1:32 PM Subject: [mapserver-users] mapscript problem hello When I upgrade mapserver rom 6.0 to 7.0.? I encountered a new error in mapscrip-java: " ?Caused by: java.lang.UnknownError: loadLayer(): Unknown identifier. Annotation Layers have been removed. To obtain same functionality, use a layer with label->styles and no class->styles"?Can you tell me how this happened ?How can I solve the problem ? regards? -- Ahmet Temiz Jeoloji M?h. Afet ve Acil Durum Y?netimi Ba?kanl??? Bilgi ??lem ?Dairesi Ba?kanl???-CBS Grubu ________________________ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency _______________________________________________ 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 edigiacomo at arpa.emr.it Tue Sep 22 05:17:26 2015 From: edigiacomo at arpa.emr.it (Emanuele Di Giacomo) Date: Tue, 22 Sep 2015 14:17:26 +0200 Subject: [mapserver-users] Raster WMS-T with OGR tileindex not implementing filter translation support Message-ID: <20150922121726.GA17349@fog.metarpa> Hi, I have a raster WMS Time layer with a tileindex in GeoJSON (similar to http://mapserver.org/ogc/wms_time.html#example-of-wms-t-with-postgis-tile-index-for-raster-imagery, but with a CONNECTIONTYPE OGR). LAYER NAME "test_idx" TYPE POLYGON CONNECTION "index.json" CONNECTIONTYPE OGR EXTENT 8.5 43.4 13.2058 46.001 METADATA "wms_timeitem" "runtime" "wms_timeextent" "2011-08-10T04:15:00Z/2015-01-01T00:00:00Z" "wms_timeformat" "YYYY-MM-DDTHH:MM:SSZ" "wms_timedefault" "2013-08-10T04:15:00Z" END PROJECTION init=epsg:4326 END END LAYER NAME "test" TYPE RASTER METADATA "wms_timeitem" "runtime" "wms_timeextent" "2011-08-10T04:15:00Z/2015-01-01T00:00:00Z" "wms_timeformat" "YYYY-MM-DDTHH:MM:SSZ" "wms_timedefault" "2013-08-10T04:15:00Z" "wms_enable_request" "*" END PROJECTION init=epsg:4326 END TILEINDEX "test_idx" TILEITEM "location" END MapServer 7.0 print an error message (on GetMap request): LayerDefaultTranslateFilter(): General error message. This data driver does not implement filter translation support I can use a PostGIS tileindex (with a simple ogr2ogr), but I would prefer a GeoJSON index. -- Emanuele Di Giacomo ARPA Emilia-Romagna Servizio Idro-Meteo-Clima Area Servizi Informatici Viale Silvani, 6 - 40122 Bologna tel +39-051-6497520 e-mail: edigiacomo at arpa.emr.it http://www.arpa.emr.it/sim From jukka.rahkonen at maanmittauslaitos.fi Tue Sep 22 06:05:52 2015 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka (MML)) Date: Tue, 22 Sep 2015 13:05:52 +0000 Subject: [mapserver-users] Raster WMS-T with OGR tileindex not implementing filter translation support Message-ID: Hi, Could you consider using Spatialite instead of GeoJSON? -Jukka Rahkonen- Emanuele Di Giacomo wrote: > Hi, > I have a raster WMS Time layer with a tileindex in GeoJSON (similar to http://mapserver.org/ogc/wms_time.html#example-of-wms-t-with-postgis-tile-index-for-raster-imagery, but with a CONNECTIONTYPE OGR). LAYER NAME "test_idx" TYPE POLYGON CONNECTION "index.json" CONNECTIONTYPE OGR EXTENT 8.5 43.4 13.2058 46.001 METADATA "wms_timeitem" "runtime" "wms_timeextent" "2011-08-10T04:15:00Z/2015-01-01T00:00:00Z" "wms_timeformat" "YYYY-MM-DDTHH:MM:SSZ" "wms_timedefault" "2013-08-10T04:15:00Z" END PROJECTION init=epsg:4326 END END LAYER NAME "test" TYPE RASTER METADATA "wms_timeitem" "runtime" "wms_timeextent" "2011-08-10T04:15:00Z/2015-01-01T00:00:00Z" "wms_timeformat" "YYYY-MM-DDTHH:MM:SSZ" "wms_timedefault" "2013-08-10T04:15:00Z" "wms_enable_request" "*" END PROJECTION init=epsg:4326 END TILEINDEX "test_idx" TILEITEM "location" END MapServer 7.0 print an error message (on GetMap request): LayerDefaultTranslateFilter(): General error message. This data driver does not implement filter translation support I can use a PostGIS tileindex (with a simple ogr2ogr), but I would prefer a GeoJSON index. -- Emanuele Di Giacomo ARPA Emilia-Romagna Servizio Idro-Meteo-Clima Area Servizi Informatici Viale Silvani, 6 - 40122 Bologna tel +39-051-6497520 e-mail: edigiacomo at arpa.emr.it http://www.arpa.emr.it/sim _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From ahmettemiz88 at gmail.com Tue Sep 22 12:21:28 2015 From: ahmettemiz88 at gmail.com (Ahmet Temiz) Date: Tue, 22 Sep 2015 22:21:28 +0300 Subject: [mapserver-users] mapscript(java) doesn't display any classified items Message-ID: hello, I upgraded my mapserver6.0 to 7.0 my Following map file used to work in mapscript(java). But now, mapscript(java) doesn't display any classified items. /////// ... CLASSITEM "YAS" CLASS NAME "YAS = Alt - Orta Kambriyen" EXPRESSION "Alt - Orta Kambriyen" STYLE COLOR 181 83 219 END END ... -- ?Can you tell me what the likely reason might be ? regards? Ahmet Temiz Jeoloji M?h. Afet ve Acil Durum Y?netimi Ba?kanl??? Bilgi ??lem Dairesi Ba?kanl???-CBS Grubu ________________________ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency -------------- next part -------------- An HTML attachment was scrubbed... URL: From edigiacomo at arpa.emr.it Wed Sep 23 05:32:48 2015 From: edigiacomo at arpa.emr.it (Emanuele Di Giacomo) Date: Wed, 23 Sep 2015 14:32:48 +0200 Subject: [mapserver-users] Raster WMS-T with OGR tileindex not implementing filter translation support In-Reply-To: Message-ID: <20150923123248.GA7209@fog.metarpa> Hi, Yes, I could use it, but Spatialite has the same problem of the GeoJSON and all the other OGR connection types. > Hi, > > Could you consider using Spatialite instead of GeoJSON? > > -Jukka Rahkonen- > > Emanuele Di Giacomo wrote: > > > Hi, > > I have a raster WMS Time layer with a tileindex in GeoJSON (similar to http://mapserver.org/ogc/wms_time.html#example-of-wms-t-with-postgis-tile-index-for-raster-imagery, > but with a CONNECTIONTYPE OGR). > > LAYER > NAME "test_idx" > TYPE POLYGON > CONNECTION "index.json" > CONNECTIONTYPE OGR > EXTENT 8.5 43.4 13.2058 46.001 > METADATA > "wms_timeitem" "runtime" > "wms_timeextent" "2011-08-10T04:15:00Z/2015-01-01T00:00:00Z" > "wms_timeformat" "YYYY-MM-DDTHH:MM:SSZ" > "wms_timedefault" "2013-08-10T04:15:00Z" > END > PROJECTION > init=epsg:4326 > END > END > > LAYER > NAME "test" > TYPE RASTER > METADATA > "wms_timeitem" "runtime" > "wms_timeextent" "2011-08-10T04:15:00Z/2015-01-01T00:00:00Z" > "wms_timeformat" "YYYY-MM-DDTHH:MM:SSZ" > "wms_timedefault" "2013-08-10T04:15:00Z" > "wms_enable_request" "*" > END > PROJECTION > init=epsg:4326 > END > TILEINDEX "test_idx" > TILEITEM "location" > END > > MapServer 7.0 print an error message (on GetMap request): > > LayerDefaultTranslateFilter(): General error message. This data driver does not implement filter translation support > > I can use a PostGIS tileindex (with a simple ogr2ogr), but I would prefer a GeoJSON index. -- Emanuele Di Giacomo ARPA Emilia-Romagna Servizio Idro-Meteo-Clima Area Servizi Informatici Viale Silvani, 6 - 40122 Bologna tel +39-051-6497520 e-mail: edigiacomo at arpa.emr.it http://www.arpa.emr.it/sim From Steve.Lime at state.mn.us Wed Sep 23 05:37:02 2015 From: Steve.Lime at state.mn.us (Lime, Steve D (MNIT)) Date: Wed, 23 Sep 2015 12:37:02 +0000 Subject: [mapserver-users] mapscript(java) doesn't display any classified items In-Reply-To: References: Message-ID: What does the rest of the layer definition look like? ________________________________ From: mapserver-users-bounces at lists.osgeo.org [mapserver-users-bounces at lists.osgeo.org] on behalf of Ahmet Temiz [ahmettemiz88 at gmail.com] Sent: Tuesday, September 22, 2015 2:21 PM To: mapserver-users Subject: [mapserver-users] mapscript(java) doesn't display any classified items hello, I upgraded my mapserver6.0 to 7.0 my Following map file used to work in mapscript(java). But now, mapscript(java) doesn't display any classified items. /////// ... CLASSITEM "YAS" CLASS NAME "YAS = Alt - Orta Kambriyen" EXPRESSION "Alt - Orta Kambriyen" STYLE COLOR 181 83 219 END END ... -- ?Can you tell me what the likely reason might be ? regards? Ahmet Temiz Jeoloji M?h. Afet ve Acil Durum Y?netimi Ba?kanl??? Bilgi ??lem Dairesi Ba?kanl???-CBS Grubu ________________________ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency -------------- next part -------------- An HTML attachment was scrubbed... URL: From fanyangxi at live.cn Wed Sep 23 06:35:21 2015 From: fanyangxi at live.cn (=?gb2312?B?0fTq2CC3tg==?=) Date: Wed, 23 Sep 2015 21:35:21 +0800 Subject: [mapserver-users] Issue: demo.mapserver.org is down In-Reply-To: References: Message-ID: Hi there, seems like the http://demo.mapserver.org is down, is anyone encountering the same issue? Could anyone help to solve this issue? Thanks! -- Yangxi Fan?????Skype: fanyangxi | Mobile: +86 135-7182-9252 -------------- next part -------------- An HTML attachment was scrubbed... URL: From pdeclemy at oxygem.tv Wed Sep 23 07:26:20 2015 From: pdeclemy at oxygem.tv (Pierre =?utf-8?Q?Decl=C3=A8my?=) Date: Wed, 23 Sep 2015 16:26:20 +0200 (CEST) Subject: [mapserver-users] Issue: demo.mapserver.org is down In-Reply-To: References: Message-ID: <1573803831.88786224.1443018380541.JavaMail.zimbra@oxygem.tv> Hello, yes the demo server is down since at least one week. Hard to find good tutorials online. Pierre De: "?? ?" ?: "mapserver-users-subcr" Envoy?: Mercredi 23 Septembre 2015 15:35:21 Objet: [mapserver-users] Issue: demo.mapserver.org is down Hi there, seems like the http://demo.mapserver.org is down, is anyone encountering the same issue? Could anyone help to solve this issue? Thanks! -- Yangxi Fan????? Skype: fanyangxi | Mobile: +86 135-7182-9252 _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From jukka.rahkonen at maanmittauslaitos.fi Wed Sep 23 07:39:23 2015 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka (MML)) Date: Wed, 23 Sep 2015 14:39:23 +0000 Subject: [mapserver-users] Simple OpenLayers viewer does not work if map path has backslashes Message-ID: Hi, If I use the Windows style path to mapfile with the simple OpenLayer viewer http://localhost/cgi-bin/mapserv.exe?map=\ms4w\apps\demo\countries.map...&FORMAT=application.openlayers the application is eating away all the backslashes when it sends GetMaps and the result is naturally just pink tiles. Application should take care of proper URL-encoding ?map=%5Cms4w%5Capps%5Cdemo%5Ccountries.map -Jukka Rahkonen- -------------- next part -------------- An HTML attachment was scrubbed... URL: From mapserver at schartz.net Wed Sep 23 07:46:35 2015 From: mapserver at schartz.net (Fergus McDonald) Date: Wed, 23 Sep 2015 10:46:35 -0400 Subject: [mapserver-users] OWS BoundingBox output loss of precision Message-ID: <20150923104635.79bbee60@roxy> I have an extent param in a MAP file declared as -10832766.418414999 but in the WMS GetCapabilities response the BoundingBox gives it as -1.08328e+07 There appears to be a loss of precision in mapows.c when the value is output using the %g formatting. I found this old fix on trac http://trac.osgeo.org/mapserver/ticket/1232 but that resolved this issue for WCS output only, by updating %g to %.15g within mapwcs.c Does this fix also need to be applied to mapows.c? The loss of precision is causing problems with client size map calculations when working at high resolutions. From jmckenna at gatewaygeomatics.com Wed Sep 23 09:30:58 2015 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Wed, 23 Sep 2015 13:30:58 -0300 Subject: [mapserver-users] Issue: demo.mapserver.org is down In-Reply-To: References: Message-ID: <5602D3C2.6040603@gatewaygeomatics.com> Thanks for reporting this Yangxi, Apache has been restarted and things seem back to normal. -jeff On 2015-09-23 10:35 AM, ?? ? wrote: > Hi there, seems like the http://demo.mapserver.org is down, is anyone > encountering the same issue? Could anyone help to solve this issue? > > Thanks! > -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ From tkirstine at firstbasesolutions.com Wed Sep 23 12:02:07 2015 From: tkirstine at firstbasesolutions.com (Travis Kirstine) Date: Wed, 23 Sep 2015 15:02:07 -0400 Subject: [mapserver-users] Errors making MapCache with memcache Message-ID: I'm running into some issues running the cmake using memcache on mint (ubuntu). I'm using apr-utll version 1.5 In file included from /usr/include/apr-1.0/apr_memcache.h:28:0, from /home/kt01/mapcache/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:2: /usr/include/apr-1.0/apr.h:358:1: error: unknown type name ?off64_t? typedef off64_t apr_off_t; ^ make[1]: *** [CMakeFiles/cmTryCompileExec22862269.dir/CheckSymbolExists.c.o] Error 1 make[1]: Leaving directory `/home/kt01/mapcache/build/CMakeFiles/CMakeTmp' make: *** [cmTryCompileExec22862269/fast] Error 2 -- [image: FBS Logo] *Travis Kirstine*, Web Development Supervisor *t *905?477?3600* x *301 | *m *647?534?4798 | tkirstine at firstbasesolution.com *First Base Solutions Inc.* 140 Renfrew Drive, Suite 100 | Markham | Ontario | L3R 6B3 *t* 905?477?3600 | *f* 905?477?0892 | www.firstbasesolutions.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From even.rouault at spatialys.com Wed Sep 23 12:02:20 2015 From: even.rouault at spatialys.com (Even Rouault) Date: Wed, 23 Sep 2015 21:02:20 +0200 Subject: [mapserver-users] Using a SRS with inverted axes. In-Reply-To: References: <201509201839.46744.even.rouault@spatialys.com> Message-ID: <201509232102.21023.even.rouault@spatialys.com> Le dimanche 20 septembre 2015 19:09:15, Andrea Peri a ?crit : > Raise ticket on mapserver issue system. > > https://github.com/mapserver/mapserver/issues/5168 For the record, I've updated mapaxisorder.csv with EPSG v8.6 (the one I had available on my PC, not the latest I know). > > Thx. > > 2015-09-20 18:39 GMT+02:00 Even Rouault : > > Le dimanche 20 septembre 2015 17:56:32, Andrea Peri a ?crit : > >> Hi Jukka, > >> > >> I can show this two samples from an mapserver where I update just > >> yesterday the new proj 4.9.2 and so it support the latest epsg db: > >> > >> 1) > >> http://www502.regione.toscana.it/wmsraster/com.rt.wms.RTmap/wms?map=wmsa > >> mba > >> mm&SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&Typename=rt_ambamm.idco > >> muni .rt.poly&srsName=EPSG:6707&MAXFEATURES=100 > >> > >> The epsg:6707 is a epsg code with axes north, east as reported from > >> http://www.epsg-registry.org/ > >> > >> Instead the mapserver return 565347.495390 4910630.530024 (east , north) > >> > >> 2) > >> Using the same crequest I try instead the epsg:25832 that is an epsg > >> code with axes (east, north) > >> > >> http://www502.regione.toscana.it/wmsraster/com.rt.wms.RTmap/wms?map=wmsa > >> mba > >> mm&SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&Typename=rt_ambamm.idco > >> muni .rt.poly&srsName=EPSG:25832&MAXFEATURES=100 > >> > >> it return still return the sames 565347.495390 4910630.530024 (east, > >> north) > >> > >> > >> Please note both epsg:6707 and epsg:25832 are projected, instead > >> epsg:4326 is a geograhic system. > >> Perhaps mapserver invert only on geographics ? > > > > No it has a resource file mapaxisorder.csv with the list of EPSG codes > > where axis order must be inverted and it seems it isn't up to date. Can > > you raise a ticket about that ? > > Not sure how the CSV file was generated initially, but a script using the > > GDAL OSR API could do it. > > > >> Thx, > >> > >> A. > >> > >> > >> > >> 2015-09-20 17:22 GMT+02:00 Rahkonen Jukka (MML) > >> > >> : > >> > Hi, > >> > > >> > You must give an exact example where it fails for you. WMS 1.3.0 with > >> > EPSG:4326 is using inverted axis and work with Mapserver, and you can > >> > see inverted axes also in the GML that comes as a response from WFS > >> > 1.1.0 > >> > > >> > http://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&VERSION=1.0.0&REQUES > >> > T=g etfeature&TYPENAME=continents&MAXFEATURES=100 > >> > > >> > http://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&VERSION=1.1.0&REQUES > >> > T=g etfeature&TYPENAME=continents&MAXFEATURES=100 > >> > > >> > -Jukka Rahkonen- > >> > > >> > ________________________________________ > >> > Andrea Peri wrote: > >> > > >> > Hi, > >> > > >> > I see the mapserv don't seem able to invert the axes when the invoked > >> > srs define the inverted. > >> > > >> > Is confirmed this ? > >> > > >> > > >> > Thx, > >> > > >> > -- > >> > ----------------- > >> > Andrea Peri > >> > . . . . . . . . . > >> > qwerty ????? > >> > ----------------- > >> > _______________________________________________ > >> > mapserver-users mailing list > >> > mapserver-users at lists.osgeo.org > >> > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > > > -- > > Spatialys - Geospatial professional services > > http://www.spatialys.com -- Spatialys - Geospatial professional services http://www.spatialys.com From aperi2007 at gmail.com Wed Sep 23 13:25:56 2015 From: aperi2007 at gmail.com (Andrea Peri) Date: Wed, 23 Sep 2015 22:25:56 +0200 Subject: [mapserver-users] Using a SRS with inverted axes. In-Reply-To: <201509232102.21023.even.rouault@spatialys.com> References: <201509201839.46744.even.rouault@spatialys.com> <201509232102.21023.even.rouault@spatialys.com> Message-ID: Thx Even. A. 2015-09-23 21:02 GMT+02:00 Even Rouault : > Le dimanche 20 septembre 2015 19:09:15, Andrea Peri a ?crit : >> Raise ticket on mapserver issue system. >> >> https://github.com/mapserver/mapserver/issues/5168 > > For the record, I've updated mapaxisorder.csv with EPSG v8.6 (the one I had > available on my PC, not the latest I know). > >> >> Thx. >> >> 2015-09-20 18:39 GMT+02:00 Even Rouault : >> > Le dimanche 20 septembre 2015 17:56:32, Andrea Peri a ?crit : >> >> Hi Jukka, >> >> >> >> I can show this two samples from an mapserver where I update just >> >> yesterday the new proj 4.9.2 and so it support the latest epsg db: >> >> >> >> 1) >> >> http://www502.regione.toscana.it/wmsraster/com.rt.wms.RTmap/wms?map=wmsa >> >> mba >> >> mm&SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&Typename=rt_ambamm.idco >> >> muni .rt.poly&srsName=EPSG:6707&MAXFEATURES=100 >> >> >> >> The epsg:6707 is a epsg code with axes north, east as reported from >> >> http://www.epsg-registry.org/ >> >> >> >> Instead the mapserver return 565347.495390 4910630.530024 (east , north) >> >> >> >> 2) >> >> Using the same crequest I try instead the epsg:25832 that is an epsg >> >> code with axes (east, north) >> >> >> >> http://www502.regione.toscana.it/wmsraster/com.rt.wms.RTmap/wms?map=wmsa >> >> mba >> >> mm&SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&Typename=rt_ambamm.idco >> >> muni .rt.poly&srsName=EPSG:25832&MAXFEATURES=100 >> >> >> >> it return still return the sames 565347.495390 4910630.530024 (east, >> >> north) >> >> >> >> >> >> Please note both epsg:6707 and epsg:25832 are projected, instead >> >> epsg:4326 is a geograhic system. >> >> Perhaps mapserver invert only on geographics ? >> > >> > No it has a resource file mapaxisorder.csv with the list of EPSG codes >> > where axis order must be inverted and it seems it isn't up to date. Can >> > you raise a ticket about that ? >> > Not sure how the CSV file was generated initially, but a script using the >> > GDAL OSR API could do it. >> > >> >> Thx, >> >> >> >> A. >> >> >> >> >> >> >> >> 2015-09-20 17:22 GMT+02:00 Rahkonen Jukka (MML) >> >> >> >> : >> >> > Hi, >> >> > >> >> > You must give an exact example where it fails for you. WMS 1.3.0 with >> >> > EPSG:4326 is using inverted axis and work with Mapserver, and you can >> >> > see inverted axes also in the GML that comes as a response from WFS >> >> > 1.1.0 >> >> > >> >> > http://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&VERSION=1.0.0&REQUES >> >> > T=g etfeature&TYPENAME=continents&MAXFEATURES=100 >> >> > >> >> > http://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&VERSION=1.1.0&REQUES >> >> > T=g etfeature&TYPENAME=continents&MAXFEATURES=100 >> >> > >> >> > -Jukka Rahkonen- >> >> > >> >> > ________________________________________ >> >> > Andrea Peri wrote: >> >> > >> >> > Hi, >> >> > >> >> > I see the mapserv don't seem able to invert the axes when the invoked >> >> > srs define the inverted. >> >> > >> >> > Is confirmed this ? >> >> > >> >> > >> >> > Thx, >> >> > >> >> > -- >> >> > ----------------- >> >> > Andrea Peri >> >> > . . . . . . . . . >> >> > qwerty ????? >> >> > ----------------- >> >> > _______________________________________________ >> >> > mapserver-users mailing list >> >> > mapserver-users at lists.osgeo.org >> >> > http://lists.osgeo.org/mailman/listinfo/mapserver-users >> > >> > -- >> > Spatialys - Geospatial professional services >> > http://www.spatialys.com > > -- > Spatialys - Geospatial professional services > http://www.spatialys.com -- ----------------- Andrea Peri . . . . . . . . . qwerty ????? ----------------- From ahmettemiz88 at gmail.com Thu Sep 24 10:08:34 2015 From: ahmettemiz88 at gmail.com (Ahmet Temiz) Date: Thu, 24 Sep 2015 20:08:34 +0300 Subject: [mapserver-users] problem getting geojson data using mapscript Message-ID: hello I want to get geojson data using mapscript(java) /WFS. I did: OWSRequest req = new OWSRequest(); req.setParameter( "SERVICE", "WFS" ); req.setParameter( "VERSION", "2.0.0" ); req.setParameter( "REQUEST", "GetFeature" ); req.setParameter( "OUTPUTFORMAT","geojson" ); mapscript.msIO_installStdoutToBuffer(); int owsResult = mapWFS.OWSDispatch( req ); now What did I have to do to get geojson object ? I will appreciate for any help regards -- Ahmet Temiz Jeoloji M?h. Afet ve Acil Durum Y?netimi Ba?kanl??? Bilgi ??lem Dairesi Ba?kanl???-CBS Grubu ________________________ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency -------------- next part -------------- An HTML attachment was scrubbed... URL: From ahmettemiz88 at gmail.com Thu Sep 24 10:09:29 2015 From: ahmettemiz88 at gmail.com (Ahmet Temiz) Date: Thu, 24 Sep 2015 20:09:29 +0300 Subject: [mapserver-users] mapscript(java) doesn't display any classified items In-Reply-To: References: Message-ID: thank you Lime, I solved the problem On Wed, Sep 23, 2015 at 3:37 PM, Lime, Steve D (MNIT) < Steve.Lime at state.mn.us> wrote: > What does the rest of the layer definition look like? > > ------------------------------ > *From:* mapserver-users-bounces at lists.osgeo.org [ > mapserver-users-bounces at lists.osgeo.org] on behalf of Ahmet Temiz [ > ahmettemiz88 at gmail.com] > *Sent:* Tuesday, September 22, 2015 2:21 PM > *To:* mapserver-users > *Subject:* [mapserver-users] mapscript(java) doesn't display any > classified items > > hello, > > I upgraded my mapserver6.0 to 7.0 > > my Following map file used to work in mapscript(java). > But now, mapscript(java) doesn't display any classified items. > > /////// > ... > > CLASSITEM "YAS" > > CLASS > NAME "YAS = Alt - Orta Kambriyen" > EXPRESSION "Alt - Orta Kambriyen" > STYLE > > COLOR 181 83 219 > END > END > > ... > -- > > ?Can you tell me what the likely reason might be ? > > regards? > > > Ahmet Temiz > Jeoloji M?h. > Afet ve Acil Durum Y?netimi Ba?kanl??? > Bilgi ??lem Dairesi Ba?kanl???-CBS Grubu > > > ________________________ > > Ahmet Temiz > Geological Eng. > Information Systems - GIS Group > Disaster and Emergency Management > of Presidency > -- Ahmet Temiz Jeoloji M?h. Afet ve Acil Durum Y?netimi Ba?kanl??? Bilgi ??lem Dairesi Ba?kanl???-CBS Grubu ________________________ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency -------------- next part -------------- An HTML attachment was scrubbed... URL: From MarkVolz at co.lyon.mn.us Thu Sep 24 12:38:36 2015 From: MarkVolz at co.lyon.mn.us (Mark Volz) Date: Thu, 24 Sep 2015 19:38:36 +0000 Subject: [mapserver-users] mapcache - white edges around tiles? Message-ID: <36CA828A36E29F45B7CF0A1766E5DFA33D3188CC@swmail01.r8nssis.local> Hello, I noticed that I have white edges around the edges of my tiles. This issue occurs in the mapcache demo that is packaged with MS4W. If anyone has any ideas as to how I can remove the white lines around the tile edges let me know. Thank You! Sincerely, Mark Volz -------------- next part -------------- An HTML attachment was scrubbed... URL: From tchaddad at gmail.com Thu Sep 24 21:02:59 2015 From: tchaddad at gmail.com (TC Haddad) Date: Thu, 24 Sep 2015 21:02:59 -0700 Subject: [mapserver-users] mapcache - white edges around tiles? In-Reply-To: <36CA828A36E29F45B7CF0A1766E5DFA33D3188CC@swmail01.r8nssis.local> References: <36CA828A36E29F45B7CF0A1766E5DFA33D3188CC@swmail01.r8nssis.local> Message-ID: Try hitting Ctrl-0 on your keyboard to reset you browser magnification level. The white lines are most likely due to your browser being at something other than 100% magnification... On Thursday, September 24, 2015, Mark Volz wrote: > Hello, > > > > I noticed that I have white edges around the edges of my tiles. This > issue occurs in the mapcache demo that is packaged with MS4W. If anyone > has any ideas as to how I can remove the white lines around the tile edges > let me know. > > > > Thank You! > > > > Sincerely, > > *Mark Volz* > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmckenna at gatewaygeomatics.com Fri Sep 25 10:27:39 2015 From: jmckenna at gatewaygeomatics.com (Jeff McKenna) Date: Fri, 25 Sep 2015 14:27:39 -0300 Subject: [mapserver-users] Announcing the new MS4W In-Reply-To: <7fb7ae3e8af64889906060a1b64a4bb3@C119S212VM022.msvyvi.vaha.local> References: <7fb7ae3e8af64889906060a1b64a4bb3@C119S212VM022.msvyvi.vaha.local> Message-ID: <5605840B.4090300@gatewaygeomatics.com> Hi Jukka, Speaking of that, I spent a considerable amount of time for this release setting up the MS4W add-ons for this version (MapServer 7). Actually this does handle the needs you mention. Such as OGC: well there is an MS4W add-on named "MapServer OGC Workshop" that contains so many links to services and working mapfiles (all working for MapServer 7). Need full applications working with MapServer 7? : well there is GeoMOOSE (latest release) or Mapbender (latest release), all ready for you to use with MS4W. Looking for the original (as in Steve Lime's CGI demo), it works now with MapServer 7 even, as an MS4W add-on, named "MapServer Itasca Demo Application". :) In total there is over 500 MB of working mapfiles, data, applications ready to get you going. Give them a try: http://www.ms4w.com/download.html See you on the new MS4W list. -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ On 2015-09-23 11:39 AM, Rahkonen Jukka (MML) wrote: > Hi Jeff, > > That will be great. I am sure that Mapserver has frightened away thousands of new users because it is so difficult to make the very first map. Just compare it with Geoserver that comes with the data_dir and fine collection of readymade demo services and layers. It is not so easy to make Mapserver demos which would work out-of-the box on both Windows and Linux, but making it to work in MS4W will be a good start. > > -Jukka- > > > > -----Alkuper?inen viesti----- > L?hett?j?: Jeff McKenna [mailto:jmckenna at gatewaygeomatics.com] > L?hetetty: 23. syyskuuta 2015 4:18 > Vastaanottaja: Rahkonen Jukka (MML) > Aihe: Re: [mapserver-users] Announcing the new MS4W > > Hi Jukka, > > Great idea, actually I have something ready from a workshop that can be used. Will add it with the upcoming GDAL 2.0.1 > > -jeff > > > > On 2015-09-22 10:40 AM, Rahkonen Jukka (MML) wrote: >> Hi Jeff, >> >> I believe that MapServer should offer an immediate "It works" experience for new users. Could you consider to include some demo data and mapfiles into the standard delivery of MS4W? They could be placed for example into \apps\demo. Once they are there we could have WMS GetMap links with &FORMAT=image/png and &FORMAT=application/openlayers on a visible place of the html page that opens from http://localhost. Or the OpenLayers map could even be included on the start page by default. >> >> If you think it is a good idea I can make some first few mapfiles on top of Natural Earth countries. It seems to mean about 5 MB extra as zipped but I do believe that it would be worth it. I could start with these: >> >> - Hello world WMS - simple but still complete with enough WMS metadata, and naturally debug and ms_errorfile. >> - WMS with some styling >> - WMS with labels >> - WMS with GetFeatureInfo >> - WFS >> >> I could also write a short document about how to get the first map with shp2img, browser, and with a few GIS program. >> >> Regards, >> >> -Jukka Rahkonen- >> >> >> Jeff McKenna wrote: Announcing the new MS4W >> >>> Hi everyone! >> >>> Just in time for FOSS4G-Seoul, I'm very proud to announce the new MS4W[1] MS4W is thriving, as you can see by its long history[2] of releases, and the last few months has seen a lot of development. Much thanks goes to Tanya Haddad for her support for this release, it has been quite an effort updating the full stack (the number of libraries updated and added is large as you see in the recent history). >> >>> You'll also note that there has been releases happening, we just needed a new home for people to find them. It's quite exciting to live at ms4w.com now, and you'll also notice that we have been using a new tracker[3] which has been working well (please feel free to use it). >> >> You may also notice that releases now have a Roadmap[4], every 3 months with dated milestones, and you can follow along the exact changes coming through the tracker link on that page. >> >> This 3.1.0 release has some tasty features, including optimized Apache >> 2.4, MapServer 7.0, PHP 5.4.45, all mapscripts, Oracle support, >> MapCache >> 1.4.0 (with GDAL support), TinyOWS 1.1.1, spatialite/OSM utilities, and many many more goodies. New users might like to start at the features[5] page to review. >> >> Finally we have moved to a new mailing list (I haven't been able to >> post to my own old MS4W mailing list for almost 2 years now): please >> join, as all releases will be announced and support given through the >> new MS4W list[6] So, I'll cya there! :) >> >> Thanks so much everyone, I am quite excited. >> >> [1] http://www.ms4w.com/ >> [2] http://www.ms4w.com/HISTORY.html >> [3] http://www.ms4w.com/trac/ >> [4] http://www.ms4w.com/roadmap.html >> [5] http://www.ms4w.com/features.html >> [6] http://lists.ms4w.com/cgi-bin/mailman/listinfo/ms4w-users >> >> -jeff >> >> > From jukka.rahkonen at maanmittauslaitos.fi Sat Sep 26 01:04:45 2015 From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka (MML)) Date: Sat, 26 Sep 2015 08:04:45 +0000 Subject: [mapserver-users] Announcing the new MS4W Message-ID: Hi, The add-ons are great work. However, my point is that without doing any additional installations the best that a new Mapserver user can achieve is "No query information to decode. QUERY_STRING is set, but empty." while everybody who has installed Geoserver can read WMS GetCapabilities from http://localhost :8080 and either add the service to any WMS or play with the demo viewer: http://demo.opengeo.org/geoserver/topp/wms?service=WMS&version=1.1.0&request=GetMap&layers=topp:states&styles=&bbox=-124.73142200000001,24.955967,-66.969849,49.371735&width=780&height=330&srs=EPSG:4326&format=application/openlayers I still think that the best marketing we could do for Mapserver would be to offer an immediate out-of-box experience for Mapserver users on any platform "Hey, it makes maps! " -Jukka Rahkonen- Jeff McKenna wrote: > Hi Jukka, > Speaking of that, I spent a considerable amount of time for this release setting up the MS4W add-ons for this version (MapServer 7). Actually this does handle the needs you mention. Such as OGC: well there is an MS4W add-on named "MapServer OGC Workshop" that contains so many links to services and working mapfiles (all working for MapServer 7). Need full applications working with MapServer 7? : well there is GeoMOOSE (latest release) or Mapbender (latest release), all ready for you to use with MS4W. Looking for the original (as in Steve Lime's CGI demo), it works now with MapServer 7 even, as an MS4W add-on, named "MapServer Itasca Demo Application". :) In total there is over 500 MB of working mapfiles, data, applications ready to get you going. Give them a try: http://www.ms4w.com/download.html See you on the new MS4W list. -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ On 2015-09-23 11:39 AM, Rahkonen Jukka (MML) wrote: > Hi Jeff, > > That will be great. I am sure that Mapserver has frightened away thousands of new users because it is so difficult to make the very first map. Just compare it with Geoserver that comes with the data_dir and fine collection of readymade demo services and layers. It is not so easy to make Mapserver demos which would work out-of-the box on both Windows and Linux, but making it to work in MS4W will be a good start. > > -Jukka- > > > > -----Alkuper?inen viesti----- > L?hett?j?: Jeff McKenna [mailto:jmckenna at gatewaygeomatics.com] > L?hetetty: 23. syyskuuta 2015 4:18 > Vastaanottaja: Rahkonen Jukka (MML) > Aihe: Re: [mapserver-users] Announcing the new MS4W > > Hi Jukka, > > Great idea, actually I have something ready from a workshop that can > be used. Will add it with the upcoming GDAL 2.0.1 > > -jeff > > > > On 2015-09-22 10:40 AM, Rahkonen Jukka (MML) wrote: >> Hi Jeff, >> >> I believe that MapServer should offer an immediate "It works" experience for new users. Could you consider to include some demo data and mapfiles into the standard delivery of MS4W? They could be placed for example into \apps\demo. Once they are there we could have WMS GetMap links with &FORMAT=image/png and &FORMAT=application/openlayers on a visible place of the html page that opens from http://localhost. Or the OpenLayers map could even be included on the start page by default. >> >> If you think it is a good idea I can make some first few mapfiles on top of Natural Earth countries. It seems to mean about 5 MB extra as zipped but I do believe that it would be worth it. I could start with these: >> >> - Hello world WMS - simple but still complete with enough WMS metadata, and naturally debug and ms_errorfile. >> - WMS with some styling >> - WMS with labels >> - WMS with GetFeatureInfo >> - WFS >> >> I could also write a short document about how to get the first map with shp2img, browser, and with a few GIS program. >> >> Regards, >> >> -Jukka Rahkonen- >> >> >> Jeff McKenna wrote: Announcing the new MS4W >> >>> Hi everyone! >> >>> Just in time for FOSS4G-Seoul, I'm very proud to announce the new MS4W[1] MS4W is thriving, as you can see by its long history[2] of releases, and the last few months has seen a lot of development. Much thanks goes to Tanya Haddad for her support for this release, it has been quite an effort updating the full stack (the number of libraries updated and added is large as you see in the recent history). >> >>> You'll also note that there has been releases happening, we just needed a new home for people to find them. It's quite exciting to live at ms4w.com now, and you'll also notice that we have been using a new tracker[3] which has been working well (please feel free to use it). >> >> You may also notice that releases now have a Roadmap[4], every 3 months with dated milestones, and you can follow along the exact changes coming through the tracker link on that page. >> >> This 3.1.0 release has some tasty features, including optimized >> Apache 2.4, MapServer 7.0, PHP 5.4.45, all mapscripts, Oracle >> support, MapCache >> 1.4.0 (with GDAL support), TinyOWS 1.1.1, spatialite/OSM utilities, and many many more goodies. New users might like to start at the features[5] page to review. >> >> Finally we have moved to a new mailing list (I haven't been able to >> post to my own old MS4W mailing list for almost 2 years now): please >> join, as all releases will be announced and support given through the >> new MS4W list[6] So, I'll cya there! :) >> >> Thanks so much everyone, I am quite excited. >> >> [1] http://www.ms4w.com/ >> [2] http://www.ms4w.com/HISTORY.html >> [3] http://www.ms4w.com/trac/ >> [4] http://www.ms4w.com/roadmap.html >> [5] http://www.ms4w.com/features.html [6] >> http://lists.ms4w.com/cgi-bin/mailman/listinfo/ms4w-users >> >> -jeff >> >> > _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users From traviskirstine at gmail.com Mon Sep 28 08:30:26 2015 From: traviskirstine at gmail.com (Travis Kirstine) Date: Mon, 28 Sep 2015 11:30:26 -0400 Subject: [mapserver-users] mapcache wms supported srs Message-ID: Is it possible to support wms srs for layers that do not have a matching srs grid configured. For example can I support GetMap requests for SRS=EPSG:26917 when I only have a "Google Map Compatible" grid configured (3857) -------------- next part -------------- An HTML attachment was scrubbed... URL: From traviskirstine at gmail.com Mon Sep 28 08:35:10 2015 From: traviskirstine at gmail.com (Travis Kirstine) Date: Mon, 28 Sep 2015 11:35:10 -0400 Subject: [mapserver-users] mapcache riak caches Message-ID: Has anyone had experience with riak caches that they could share? Does is support mixed caches How does it perform under load, can it handle concurrent writes Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.bonfort at gmail.com Mon Sep 28 13:36:28 2015 From: thomas.bonfort at gmail.com (thomas bonfort) Date: Mon, 28 Sep 2015 22:36:28 +0200 Subject: [mapserver-users] mapcache wms supported srs In-Reply-To: References: Message-ID: Travis, Mapcache itself won't do any reprojection, you can however setup a forwarding rule so that those requests get proxied to an upstream wms server (you'd have to handcraft a capabilities doc to advertise that other projection though) Thomas. On Sep 28, 2015 17:30, "Travis Kirstine" wrote: > Is it possible to support wms srs for layers that do not have a matching > srs grid configured. For example can I support GetMap requests for > SRS=EPSG:26917 when I only have a "Google Map Compatible" grid configured > (3857) > > _______________________________________________ > 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 Mon Sep 28 13:42:14 2015 From: thomas.bonfort at gmail.com (thomas bonfort) Date: Mon, 28 Sep 2015 22:42:14 +0200 Subject: [mapserver-users] mapcache riak caches In-Reply-To: References: Message-ID: I can't share any first hand experience, but the feedback I've had was very positive. Concerning mixed formats, those are handled by Mapcache and are not dependant on the cache backend. Thomas On Sep 28, 2015 17:35, "Travis Kirstine" wrote: > Has anyone had experience with riak caches that they could share? > Does is support mixed caches > How does it perform under load, can it handle concurrent writes > > Thanks > > _______________________________________________ > 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 traviskirstine at gmail.com Tue Sep 29 06:03:17 2015 From: traviskirstine at gmail.com (Travis Kirstine) Date: Tue, 29 Sep 2015 09:03:17 -0400 Subject: [mapserver-users] mapcache wms supported srs In-Reply-To: References: Message-ID: Thanks Thomas, Unfortunately we do not keep the source data feeding WMS around once we have seeded the cache. Do you know if the new use_wms_intermediate_resolution will work on seeded caches with no source configured? On 28 September 2015 at 16:36, thomas bonfort wrote: > Travis, > Mapcache itself won't do any reprojection, you can however setup a > forwarding rule so that those requests get proxied to an upstream wms > server (you'd have to handcraft a capabilities doc to advertise that other > projection though) > Thomas. > On Sep 28, 2015 17:30, "Travis Kirstine" wrote: > >> Is it possible to support wms srs for layers that do not have a matching >> srs grid configured. For example can I support GetMap requests for >> SRS=EPSG:26917 when I only have a "Google Map Compatible" grid configured >> (3857) >> >> _______________________________________________ >> 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 Tue Sep 29 06:05:37 2015 From: thomas.bonfort at gmail.com (thomas bonfort) Date: Tue, 29 Sep 2015 15:05:37 +0200 Subject: [mapserver-users] mapcache wms supported srs In-Reply-To: References: Message-ID: > Do you know if the new use_wms_intermediate_resolution > will work on seeded caches with no source configured? it needs to go back to the source wms. > > On 28 September 2015 at 16:36, thomas bonfort > wrote: >> >> Travis, >> Mapcache itself won't do any reprojection, you can however setup a >> forwarding rule so that those requests get proxied to an upstream wms server >> (you'd have to handcraft a capabilities doc to advertise that other >> projection though) >> Thomas. >> >> On Sep 28, 2015 17:30, "Travis Kirstine" wrote: >>> >>> Is it possible to support wms srs for layers that do not have a matching >>> srs grid configured. For example can I support GetMap requests for >>> SRS=EPSG:26917 when I only have a "Google Map Compatible" grid configured >>> (3857) >>> >>> _______________________________________________ >>> mapserver-users mailing list >>> mapserver-users at lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users > > From Steve.Lime at state.mn.us Tue Sep 29 10:43:49 2015 From: Steve.Lime at state.mn.us (Lime, Steve D (MNIT)) Date: Tue, 29 Sep 2015 17:43:49 +0000 Subject: [mapserver-users] Fwd: [OSGeo-Announce] Thomas Bonfort Receives FOSS4G Developer Award Message-ID: Congratulations Thomas!!! Well deserved... --Steve From: "Jorge Sanz" To: announce at lists.osgeo.org Sent: Tuesday, September 29, 2015 9:21:42 AM Subject: [OSGeo-Announce] Thomas Bonfort Receives FOSS4G Developer Award Thomas Bonfort was honored with the inaugural FOSS4G Developer Award, sponsored by GeoCat (https://www.geocat.net/), during the FOSS4G 2015 conference in Seoul, South Korea. Attendees of the FOSS4G-Seoul event placed votes for the best developer, by filling out ballots at the GeoCat booth. Thomas has been a longtime member of the MapServer Project Steering Committee (PSC), and has been the driving force of many thorough changes, especially to both MapServer 6 and MapServer 7 releases. MapServer's high quality and fast rendering engines have all been upgraded thanks to Thomas. Thomas is also the maintainer of MapCache, MapServer's caching engine that is handled through an Apache module. Many will remember Thomas working so hard on past WMS Benchmarking exercises with other lead developers of GeoServer and Mapnik, improving not only MapServer but helping the other projects as well. GeoCat and the whole OSGeo community would like to thank Thomas Bonfort for his contributions to the community. Thanks Thomas! -- GeoCat & OSGeo _______________________________________________ Announce mailing list Announce at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/announce -------------- next part -------------- An HTML attachment was scrubbed... URL: