Re: [mapserver-users] Symbols in KML outout
On 10/16/2014 02:56 PM, Eichner, Andreas - SID wrote: Never used it but it seems the KML driver creates PNG images on the fly and returns them as href. This seems to be independent of the type of symbol. So you should make sure MS is able to write those images into /tmp or $MS_TEMPPATH. The "(null)" indicates that it was unable to do so. Hi Andreas, setting reasonable values for TEMPPATH, IMAGEPATH and IMAGEURL fixed the issue, indeed. Thanks, Peter HTH Von: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org]" im Auftrag von "Peter Hopfgartner [peter.hopfgart...@r3-gis.com] Gesendet: Donnerstag, 16. Oktober 2014 10:09 An: mapserver-users@lists.osgeo.org Betreff: Re: [mapserver-users] Symbols in KML outout Just as a quick fix, I'd propose to drop the href node if no reasonable value is given. Anything more elaborate can be added later on. Comments? Peter On 10/15/2014 11:57 AM, Peter Hopfgartner wrote: From http://mapserver.org/output/kml_output.html#id2, it should be possible to have icons for sysmbols. The pixmap of the ison should be referenced in the href node. In my output, the href ode looks like: (null) Is there anything I missed? Regards, Peter -- Peter Hopfgartner web : http://www.r3-gis.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Symbols in KML outout
Just as a quick fix, I'd propose to drop the href node if no reasonable value is given. Anything more elaborate can be added later on. Comments? Peter On 10/15/2014 11:57 AM, Peter Hopfgartner wrote: From http://mapserver.org/output/kml_output.html#id2, it should be possible to have icons for sysmbols. The pixmap of the ison should be referenced in the href node. In my output, the href ode looks like: (null) Is there anything I missed? Regards, Peter -- Peter Hopfgartner R3 GIS Srl - GmbH Via Johann Kravogl-Str. 2 I-39012 Meran/Merano (BZ) web : www.r3-gis.com mail : peter.hopfgart...@r3-gis.com phone: +39 0473 494949 fax : +39 0473 069902 ATTENZIONE! Le informazioni contenute nella presente e-mail e nei documenti eventualmente allegati sono confidenziali. La loro diffusione, distribuzione e/o riproduzione da parte di terzi, senza autorizzazione del mittente è vietata e può violare il D. Lgs. 196/2003. In caso di ricezione per errore, Vogliate immediatamente informare il mittente del messaggio e distruggere la e-mail. ACHTUNG! Die in dieser Nachricht oder in den beigelegten Dokumenten beinhalteten Informationen sind streng vertraulich. Ihre Verbreitung und/oder ihre Wiedergabe durch Dritte ist ohne Erlaubnis des Absenders verboten und verstößt gegen das Legislativdekret 196/2003. Sollten Sie diese Mitteilung irrtümlicherweise erhalten haben, bitten wir Sie uns umgehend zu informieren und anschließend die Mitteilung zu vernichten. WARNING! This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden and could be against the law (D. Lgs. 196/2003) ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Symbols in KML outout
From http://mapserver.org/output/kml_output.html#id2, it should be possible to have icons for sysmbols. The pixmap of the ison should be referenced in the href node. In my output, the href ode looks like: (null) Is there anything I missed? Regards, Peter -- Peter Hopfgartner web : http://www.r3-gis.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Problems compiling current git master on CentOS 6 due to lack of HarfBuzz
Hmm, now it works. Thanks, Peter On 10/14/2014 12:03 PM, thomas bonfort wrote: can you start with a new build directory, I've just tested and can correctly disable harfbuzz/fribidi... cmake ~/dev/mapserver -DWITH_FRIBIDI=OFF -DWITH_HARFBUZZ=OFF -- thomas On 14 October 2014 11:58, Peter Hopfgartner wrote: I'd like to test if https://github.com/mapserver/mapserver/issues/4980 persists in the current development tree. Trying to compile on CentOS6 with mkdir build cd build cmake -DWITH_KML=ON -DWITH_FREEBIDI=0 -DWITH_HARFBUZZ=0 .. it fails, complaining for the lack of harfbuzz. Currently I'm not aware of any "official" package of HarfBuzz for C6, so I'm struck at this point. Will HarfBuzz be a mandatory requirement for MapServer 7? Regards, Peter -- Peter Hopfgartner web : http://www.r3-gis.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Peter Hopfgartner web : http://www.r3-gis.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Problems compiling current git master on CentOS 6 due to lack of HarfBuzz
I'd like to test if https://github.com/mapserver/mapserver/issues/4980 persists in the current development tree. Trying to compile on CentOS6 with mkdir build cd build cmake -DWITH_KML=ON -DWITH_FREEBIDI=0 -DWITH_HARFBUZZ=0 .. it fails, complaining for the lack of harfbuzz. Currently I'm not aware of any "official" package of HarfBuzz for C6, so I'm struck at this point. Will HarfBuzz be a mandatory requirement for MapServer 7? Regards, Peter -- Peter Hopfgartner web : http://www.r3-gis.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] MapServer 5.6.9 with PHP 5.4
For some of our servers I needed to compile MapServer 5.6 with PHP 5.4. In case someone else has the same need, I’ve created the ticket https://github.com/mapserver/mapserver/issues/4991. Regards, Peter R3 GIS http://www.r3-gis.com___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] WMS Client changes slightly BBOX
This would be perfectly compatible with the difference on 1 pixel. Thanks, Peter On 07/25/2014 12:32 AM, Lime, Steve D (MNIT) wrote: There’s a difference between the extent models used by MapServer and OGC. The WMS code adjusts for that difference so the input extent will definitely see adjustment to account for that. OGC uses the UL corner of the UL pixel and the LR corner of the LR pixel. MapServer uses pixel centers consistently. Do your scale computations account for this difference? Steve *From:*mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] *On Behalf Of *Peter Hopfgartner *Sent:* Thursday, July 24, 2014 7:20 AM *To:* mapserver-users@lists.osgeo.org *Subject:* Re: [mapserver-users] WMS Client changes slightly BBOX Hi Worth, thanks for your quick reply. Anyway, the ratio of the extent and of the image seem to match al least up to 10 digits. Playing with the numbers, the error is in the same order of magnitude as if I change image size by one pixel. I would guess, that there is a "off by 1" error somewhere in the MapServer code. Regards, Peter On 07/24/2014 01:30 PM, Worth Lutz wrote: Peter, I have found that if the map size (width and height in pixels) aspect ratio does not exactly match the map extents (map units) aspect ratio the map extents are adjusted. I'm working with MapScript and to get exact scale pdf map I have to set map size first and then extent and then scale to get good results. I hope this helps. *Worth Lutz* -- On 07/24/2014 06:49 AM, Peter Hopfgartner wrote: I'm generating dynamically Map Object, with with a certain extent, in the concrete example 629396.05065523,4984079.9894638,655192.92565523,5019084.3644638 In generated Map object uses the WMS client functionality to call WMS services. Anyway, the BBOX get's slightly changed, so that the original scale of 1:10 gets changed to approx 1:100103, since it calls the WMS services with 629382.807906257,4984062.02007212,655206.168404203,5019102.33385548 as can be taken from the web server log files: mmm.mmm.mmm.mmm - - [24/Jul/2014:12:25:58 +0200] "GET /author/services/ows.php?PROJECT=ancitel&MAP=catasto_reti&LANG=xw&OGSTAT=ot3cp0i7qmph4guuof75702m70&RESOLUTION=96&LAYERS=dtm,uso_lombardia,strade_lombardia,g_limiti_amministrativi,g_label,g_0707,g_0704&REQUEST=GetMap&SERVICE=WMS&FORMAT=image/png%3B+mode%3D8bit&STYLES=,,&HEIGHT=1323&VERSION=1.1.1&SRS=EPSG:32632&WIDTH=975&BBOX=629382.807906257,4984062.02007212,655206.168404203,5019102.33385548&TRANSPARENT=TRUE&EXCEPTIONS=application/vnd.ogc.se_inimage HTTP/1.1" 200 678803 "-" "MapServer/6.4.1 libcurl/7.19.7" This change in scale is beyound te axpected tolerance in this particular use case, where technical data must be plotted in a PDF file. Any help is appreciated. Obvioulsly, I can fetch the WMS services in my code and overlay them "by hand". Anyway, for a couple of reasons this was the preferred approach. Regards, Peter ___ mapserver-users mailing list mapserver-users@lists.osgeo.org <mailto:mapserver-users@lists.osgeo.org> http://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org <mailto:mapserver-users@lists.osgeo.org> http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Peter Hopfgartner R3 GIS Srl - GmbH web : http://www.r3-gis.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] WMS Client changes slightly BBOX
Hi Worth, thanks for your quick reply. Anyway, the ratio of the extent and of the image seem to match al least up to 10 digits. Playing with the numbers, the error is in the same order of magnitude as if I change image size by one pixel. I would guess, that there is a "off by 1" error somewhere in the MapServer code. Regards, Peter On 07/24/2014 01:30 PM, Worth Lutz wrote: Peter, I have found that if the map size (width and height in pixels) aspect ratio does not exactly match the map extents (map units) aspect ratio the map extents are adjusted. I'm working with MapScript and to get exact scale pdf map I have to set map size first and then extent and then scale to get good results. I hope this helps. *Worth Lutz* -- On 07/24/2014 06:49 AM, Peter Hopfgartner wrote: I'm generating dynamically Map Object, with with a certain extent, in the concrete example 629396.05065523,4984079.9894638,655192.92565523,5019084.3644638 In generated Map object uses the WMS client functionality to call WMS services. Anyway, the BBOX get's slightly changed, so that the original scale of 1:10 gets changed to approx 1:100103, since it calls the WMS services with 629382.807906257,4984062.02007212,655206.168404203,5019102.33385548 as can be taken from the web server log files: mmm.mmm.mmm.mmm - - [24/Jul/2014:12:25:58 +0200] "GET /author/services/ows.php?PROJECT=ancitel&MAP=catasto_reti&LANG=xw&OGSTAT=ot3cp0i7qmph4guuof75702m70&RESOLUTION=96&LAYERS=dtm,uso_lombardia,strade_lombardia,g_limiti_amministrativi,g_label,g_0707,g_0704&REQUEST=GetMap&SERVICE=WMS&FORMAT=image/png%3B+mode%3D8bit&STYLES=,,&HEIGHT=1323&VERSION=1.1.1&SRS=EPSG:32632&WIDTH=975&BBOX=629382.807906257,4984062.02007212,655206.168404203,5019102.33385548&TRANSPARENT=TRUE&EXCEPTIONS=application/vnd.ogc.se_inimage HTTP/1.1" 200 678803 "-" "MapServer/6.4.1 libcurl/7.19.7" This change in scale is beyound te axpected tolerance in this particular use case, where technical data must be plotted in a PDF file. Any help is appreciated. Obvioulsly, I can fetch the WMS services in my code and overlay them "by hand". Anyway, for a couple of reasons this was the preferred approach. Regards, Peter ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Peter Hopfgartner R3 GIS Srl - GmbH Via Johann Kravogl-Str. 2 I-39012 Meran/Merano (BZ) web : www.r3-gis.com mail : peter.hopfgart...@r3-gis.com phone: +39 0473 494949 fax : +39 0473 069902 ATTENZIONE! Le informazioni contenute nella presente e-mail e nei documenti eventualmente allegati sono confidenziali. La loro diffusione, distribuzione e/o riproduzione da parte di terzi, senza autorizzazione del mittente è vietata e può violare il D. Lgs. 196/2003. In caso di ricezione per errore, Vogliate immediatamente informare il mittente del messaggio e distruggere la e-mail. ACHTUNG! Die in dieser Nachricht oder in den beigelegten Dokumenten beinhalteten Informationen sind streng vertraulich. Ihre Verbreitung und/oder ihre Wiedergabe durch Dritte ist ohne Erlaubnis des Absenders verboten und verstößt gegen das Legislativdekret 196/2003. Sollten Sie diese Mitteilung irrtümlicherweise erhalten haben, bitten wir Sie uns umgehend zu informieren und anschließend die Mitteilung zu vernichten. WARNING! This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden and could be against the law (D. Lgs. 196/2003) ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] WMS Client changes slightly BBOX
I'm generating dynamically Map Object, with with a certain extent, in the concrete example 629396.05065523,4984079.9894638,655192.92565523,5019084.3644638 In generated Map object uses the WMS client functionality to call WMS services. Anyway, the BBOX get's slightly changed, so that the original scale of 1:10 gets changed to approx 1:100103, since it calls the WMS services with 629382.807906257,4984062.02007212,655206.168404203,5019102.33385548 as can be taken from the web server log files: mmm.mmm.mmm.mmm - - [24/Jul/2014:12:25:58 +0200] "GET /author/services/ows.php?PROJECT=ancitel&MAP=catasto_reti&LANG=xw&OGSTAT=ot3cp0i7qmph4guuof75702m70&RESOLUTION=96&LAYERS=dtm,uso_lombardia,strade_lombardia,g_limiti_amministrativi,g_label,g_0707,g_0704&REQUEST=GetMap&SERVICE=WMS&FORMAT=image/png%3B+mode%3D8bit&STYLES=,,&HEIGHT=1323&VERSION=1.1.1&SRS=EPSG:32632&WIDTH=975&BBOX=629382.807906257,4984062.02007212,655206.168404203,5019102.33385548&TRANSPARENT=TRUE&EXCEPTIONS=application/vnd.ogc.se_inimage HTTP/1.1" 200 678803 "-" "MapServer/6.4.1 libcurl/7.19.7" This change in scale is beyound te axpected tolerance in this particular use case, where technical data must be plotted in a PDF file. Any help is appreciated. Obvioulsly, I can fetch the WMS services in my code and overlay them "by hand". Anyway, for a couple of reasons this was the preferred approach. Regards, Peter -- Peter Hopfgartner R3 GIS Srl - GmbH Via Johann Kravogl-Str. 2 I-39012 Meran/Merano (BZ) web : www.r3-gis.com mail : peter.hopfgart...@r3-gis.com phone: +39 0473 494949 fax : +39 0473 069902 ATTENZIONE! Le informazioni contenute nella presente e-mail e nei documenti eventualmente allegati sono confidenziali. La loro diffusione, distribuzione e/o riproduzione da parte di terzi, senza autorizzazione del mittente è vietata e può violare il D. Lgs. 196/2003. In caso di ricezione per errore, Vogliate immediatamente informare il mittente del messaggio e distruggere la e-mail. ACHTUNG! Die in dieser Nachricht oder in den beigelegten Dokumenten beinhalteten Informationen sind streng vertraulich. Ihre Verbreitung und/oder ihre Wiedergabe durch Dritte ist ohne Erlaubnis des Absenders verboten und verstößt gegen das Legislativdekret 196/2003. Sollten Sie diese Mitteilung irrtümlicherweise erhalten haben, bitten wir Sie uns umgehend zu informieren und anschließend die Mitteilung zu vernichten. WARNING! This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden and could be against the law (D. Lgs. 196/2003) MAP CONFIG "MS_ERRORFILE" "/data/sites/ancitel.r3-gis.com/author/config/debug//mapfile.debug" DEBUG 5 EXTENT 629396.05065523 4984075.26282109 655192.92565523 5019089.09110651 FONTSET "../../fonts/fonts.list" IMAGETYPE "png" NAME "MS" RESOLUTION 96 SIZE 975 1323 STATUS ON UNITS METERS OUTPUTFORMAT NAME "PNG" MIMETYPE "image/png" DRIVER "AGG/PNG" EXTENSION "png" IMAGEMODE RGBA TRANSPARENT TRUE FORMATOPTION "INTERLACE=OFF" END # OUTPUTFORMAT PROJECTION "init=epsg:32632" END # PROJECTION LEGEND KEYSIZE 20 10 KEYSPACING 5 5 LABEL SIZE MEDIUM OFFSET 0 0 SHADOWSIZE 1 1 TYPE BITMAP END # LABEL STATUS OFF END # LEGEND QUERYMAP SIZE -1 -1 STATUS OFF STYLE HILITE END # QUERYMAP SCALEBAR BACKGROUNDCOLOR 100 100 100 COLOR 250 250 250 IMAGECOLOR 255 255 255 INTERVALS 4 LABEL FONT "verdana" SIZE 9 OFFSET 0 0 SHADOWSIZE 1 1 TYPE TRUETYPE END # LABEL OUTLINECOLOR 0 0 0 POSTLABELCACHE TRUE SIZE 267 4 STATUS OFF TRANSPARENT TRUE UNITS METERS END # SCALEBAR WEB IMAGEPATH "/tmp/" IMAGEURL "/tmp/" END # WEB LAYER CONNECTION "http://ancitel.r3-gis.com/author/services/ows.php?PROJECT=ancitel&MAP=catasto_reti&LANG=xw&OGSTAT=ot3cp0i7qmph4guuof75702m70&RESOLUTION=96"; CONNECTIONTYPE WMS DEBUG 5 METADATA "wms_srs" "EPSG:32632" "wms_name""dtm" "wms_format" "image/png; mode=8bit" "wms_server_version" "1.1.1" END # METADATA NAME "print_layer_0" PROCESSING "CLOSE_CONNECTION=NORMAL" PROJECTION "init=epsg:32632" END # PROJECTION STATUS ON TILEITEM "location" TRANSFORM FALSE
Re: [mapserver-users] [EXTERNAL] GeoJSON as WFS output format without template
On 11/13/2013 12:49 PM, Smith, Michael ERDC-RDE-CRREL-NH wrote: Peter, Hi Michael, You can use OGR outputformats. Add something like this to your mapfile OUTPUTFORMAT NAME "geojson" DRIVER "OGR/GEOJSON" MIMETYPE "application/json; subtype=geojson" FORMATOPTION "STORAGE=stream" FORMATOPTION "FORM=SIMPLE" END Add to your LAYER or MAP METADATA, "wfs_getfeature_formatlist” "geojson" And then in your WFS call add &outputformat=geojson. This will return geojson directly in the browser, if you need it to download, you can change the FORMATOPTION to FORM=ZIP See http://mapserver.org/output/ogr_output.html for more detail. Thanks, this works! Mike -- Michael Smith US Army Corps Remote Sensing GIS/Center Peter R3 GIS http://www.r3-gis.com From: Peter Hopfgartner <mailto:peter.hopfgart...@r3-gis.com>> Date: Wednesday, November 13, 2013 at 6:15 AM To: users mapserver <mailto:mapserver-users@lists.osgeo.org>> Subject: [EXTERNAL] [mapserver-users] GeoJSON as WFS output format without template Resent-From: Michael Smith <mailto:michael.sm...@usace.army.mil>> Hi list! I wanted to have GeoJSON as an output format. Now, if I got the documentation right ( http://mapserver.org/it/development/rfc/ms-rfc-62.html, http://mapserver.org/it/development/rfc/ms-rfc-36.html), I should prepare a template for each layer I'd like to serve as GeoJSON. Is this right or is there a way that MapServer guesses a reasonable format directly from the data, as it does for GML? Indeed, http://mapserver.org/it/output/template_output.html says "There are other, simpler, ways to output some of these formats using MapServer". Does this simpler way exist for GeoJSON, too? Regards, Peter ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] GeoJSON as WFS output format without template
Hi list! I wanted to have GeoJSON as an output format. Now, if I got the documentation right ( http://mapserver.org/it/development/rfc/ms-rfc-62.html, http://mapserver.org/it/development/rfc/ms-rfc-36.html), I should prepare a template for each layer I'd like to serve as GeoJSON. Is this right or is there a way that MapServer guesses a reasonable format directly from the data, as it does for GML? Indeed, http://mapserver.org/it/output/template_output.html says "There are other, simpler, ways to output some of these formats using MapServer". Does this simpler way exist for GeoJSON, too? Regards, Peter ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Cent OS (6) and php-mapscript
On 04/06/2013 04:19 PM, Corey Carpenter wrote: Hi All, What is the best way to get php-mapscript for Cent 6? I see it is not in ELGIS. Will I have to compile it manually? I can definitely do that. If possible I would rather use a prepackaged build if they are available. Thanks. Hi Corey, the package is there and it is called php-mapserver. Peter -- Peter Hopfgartner web : www.r3-gis.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] WFS with Complex Features in MapServer or TinyOWS
We would need to return some nested data from the WFS service, mostly representing data with a 1:N relationship. Could this be done with MapServer or TinyOWS? Regards, Peter -- Peter Hopfgartner R3 GIS Srl - GmbH web : http://www.r3-gis.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] fast cgi MapServer (version 6.0.3) vs cgi with awms getmap request
On 11/09/2012 09:16 AM, Eichner, Andreas - SID-NLKM wrote: Once the request is done the the connection will be closed. I thought that setting allows to open the db connection only once , keep it open until all layers data are read and will prevent closing and opening connections in between layers ? That's right. You can query more than one layer per GetMap request and MapServer will open the database connection only once for all layers involved. But once the request is done AFAIK the database connection will be closed. If you think that the time needed to establish the connection to PostgreSQL is relevant in your case, you might consider to use of a connection pooler, like http://wiki.postgresql.org/wiki/PgBouncer. (...) HTH ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users Peter -- Peter Hopfgartner R3 GIS Srl - GmbH web : http://www.r3-gis.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] MapScript leaks, was Mapfile VS MapScript performance
On 11/07/2012 10:15 AM, thomas bonfort wrote: Hi Thomas ( ... ) - certain mapscript scripts will leak non trivial amounts of memory, forcing server restarts periodically if you don't have an infinite amount of memory available. This is indeed an issue. It can inelegantly be handled limitig the process reuses in apaches's httpd.conf. Anway, do you have any hint where these leaks happen or if and how they can be plugged? Are these leaks visible to valgrind? Could we provide a simple recipe, to allow people to valgrind their particular setup and provide feedback? with all that said, my recommendation is to stick with cgi/fastcgi unless you have very specific needs that force you to use mapscript. From personal experience, I fully embrace this. -- thomas Thanks, Peter (...) -- Peter Hopfgartner web : http://www.r3-gis.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] TinyOWS 12.10rc1
On 10/15/2012 12:21 AM, Olivier Courtin wrote: Hi all, TinyOWS 12.10rc1 is yet available: http://www.tinyows.org/release/mapserver-tinyows-12.10rc1.tar.bz2 Thanks in advance in advance to test, and report any bug or regression on this list 12.10 NEWS: - Generate PK value using PostgresSQL DEFAULT value if present (Serge Dikiy) - XSD max length and enumeration constraint handling (Serge Dikiy & Alan Boudreault) - include_items and exclude_items config handling. To choose exactly which columns to retrieve (Serge Dikiy) - Add pkey configuration in layer config. Usefull for instance when retrieving data from a VIEW. (Serge Dikiy) - Buffer copy performance improve (Serge Dikiy) - Rewrite/fix max features handling (Olivier Courtin) - Several bugfixes as usual (special thanks to Andreas Peri, Serge Dikiy and Jukka Rahkonen for detailled reports) -- Olivier ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users Hi Olivier, I was happily trying to build it on CentOS 6, but it seems that my libxml2 is simply too old: checking for libxml2 version... 2.7.6 configure: error: You need at least libxml 2.8.0 Is there a real reason to require 2.8.0 or could this be relaxed? Regards, Peter ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Fw: mapserver binary for CentOS?
On 09/05/2012 08:24 PM, Saka Royban wrote: Hi Saka Thanks a world for your helpful answer I wasn't aware that rpm could be extracted. Anyhow, in the link provided, i.e. http://elgis.argeo.org/repos/6/elgis-release-6-6_0.noarch.rpm, i can get a 11 kb file when i download above-mentioned link. This is the configuration file for enabling the whole ELGIS repo. If you're on a 64 bit machine, you propbably want http://elgis.argeo.org/repos/6/elgis/x86_64/mapserver5-5.6.7-3.el6.x86_64.rpm or http://elgis.argeo.org/repos/6/elgis/x86_64/mapserver-6.0.1-3.el6.x86_64.rpm. mapserve alone works for sure with MapServer 5.6, maybe also for MapServer 6. Regards, Peter It seems there is no mapsrev file in it. Could you guide me where can i find the whole package? Also, just mapserv is sufficient to run a simple web mapping application? no other dll? Thanks in advance ---- *From:* Peter Hopfgartner *To:* mapserver-users@lists.osgeo.org *Sent:* Wednesday, September 5, 2012 6:05 PM *Subject:* Re: [mapserver-users] Fw: mapserver binary for CentOS? Extracting the executable file "mapserv" from one of the above mentioned rpms and placing it in cgi-bin should give you a working MapServer CGI installation. Peter On 09/04/2012 04:20 PM, Saka Royban wrote: - Forwarded Message - *From:* Saka Royban <mailto:sakaroy...@yahoo.com> *To:* Prabu Raja <mailto:prab.r...@gmail.com> *Sent:* Tuesday, September 4, 2012 6:49 PM *Subject:* Re: [mapserver-users] mapserver binary for CentOS? Thanks for your help I contacted host admin and he told me they don't allow ssh access because their host is of shared (!) one. I was thinking maybe there is a way to just copy the files into cgi-bin folder, as it is for mapserv.exe and its dependencies (dlls) in MS4W package. However, it seems if i want to use MapServer in CGI mode i have to use a Windows server. Otherwise, i must switch to MapScript which is not recommended for all applications. If there is a way to use CGI Mapserver in this case, please inform me. Regards *From:* Prabu Raja <mailto:prab.r...@gmail.com> *To:* Peter Hopfgartner <mailto:peter.hopfgart...@r3-gis.com> *Cc:* mapserver-users@lists.osgeo.org <mailto:mapserver-users@lists.osgeo.org> *Sent:* Tuesday, September 4, 2012 12:12 PM *Subject:* Re: [mapserver-users] mapserver binary for CentOS? Find below the steps, which I followed to install mapserver on CentOS 6 64 bit sudo rpm -Uvh http://elgis.argeo.org/repos/6/elgis-release-6-6_0.noarch.rpm yum install mapserver sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/cfitsio-3.240-3.el6.x86_64.rpm sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/fribidi-0.19.2-2.el6.x86_64.rpm sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/libdap-3.11.0-1.el6.x86_64.rpm sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/fcgi-2.4.0-10.el6.x86_64.rpm sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/librx-1.5-14.el6.x86_64.rpm sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/libspatialite-2.4.0-0.6.RC4.el6.x86_64.rpm sudo rpm -Uvh http://mirror.centos.org/centos/6/os/x86_64/Packages/libgfortran-4.4.6-4.el6.x86_64.rpm sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/hdf5-1.8.5.patch1-7.el6.x86_64.rpm sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/netcdf-4.1.1-3.el6.2.x86_64.rpm sudo rpm -Uvh http://mirror.centos.org/centos/6/os/x86_64/Packages/expat-2.0.1-11.el6_2.x86_64.rpm sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/ogdi-3.2.0-0.14.beta2.el6.x86_64.rpm yum install mapserver cp /usr/libexec/mapserv /var/www/cgi-bin/ On Tue, Sep 4, 2012 at 12:47 PM, Peter Hopfgartner mailto:peter.hopfgart...@r3-gis.com>> wrote: On 09/04/2012 08:33 AM, Saka Royban wrote: Hi guys I'm a newbie to mapserver and i've been using MS4W for a while. Now, i'm gonna use MapServer CGI in my website. So, I asked my host admin of the version of Linux and he replied me that CentOS is running on the server. Searching internet, unfortunately, i didn't find mapserver binary for CentOS. I just found some instructions for building mapserver in Linux but i'm a windows follower and hence, not familiar with Linux. My host provider supports CGI applications. How can i get a binary MapServer compatible with Centos? Best Regards ___ mapserver-users mailing list mapserver-users@lists.osgeo.org <mailto:mapserver-users@lists.osgeo.org> http://lists.osgeo.org/mailman/listinfo/mapserver-users You'll find some GIS packages here: http://elgis.a
Re: [mapserver-users] Fw: mapserver binary for CentOS?
Extracting the executable file "mapserv" from one of the above mentioned rpms and placing it in cgi-bin should give you a working MapServer CGI installation. Peter On 09/04/2012 04:20 PM, Saka Royban wrote: - Forwarded Message - *From:* Saka Royban *To:* Prabu Raja *Sent:* Tuesday, September 4, 2012 6:49 PM *Subject:* Re: [mapserver-users] mapserver binary for CentOS? Thanks for your help I contacted host admin and he told me they don't allow ssh access because their host is of shared (!) one. I was thinking maybe there is a way to just copy the files into cgi-bin folder, as it is for mapserv.exe and its dependencies (dlls) in MS4W package. However, it seems if i want to use MapServer in CGI mode i have to use a Windows server. Otherwise, i must switch to MapScript which is not recommended for all applications. If there is a way to use CGI Mapserver in this case, please inform me. Regards *From:* Prabu Raja *To:* Peter Hopfgartner *Cc:* mapserver-users@lists.osgeo.org *Sent:* Tuesday, September 4, 2012 12:12 PM *Subject:* Re: [mapserver-users] mapserver binary for CentOS? Find below the steps, which I followed to install mapserver on CentOS 6 64 bit sudo rpm -Uvh http://elgis.argeo.org/repos/6/elgis-release-6-6_0.noarch.rpm yum install mapserver sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/cfitsio-3.240-3.el6.x86_64.rpm sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/fribidi-0.19.2-2.el6.x86_64.rpm sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/libdap-3.11.0-1.el6.x86_64.rpm sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/fcgi-2.4.0-10.el6.x86_64.rpm sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/librx-1.5-14.el6.x86_64.rpm sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/libspatialite-2.4.0-0.6.RC4.el6.x86_64.rpm sudo rpm -Uvh http://mirror.centos.org/centos/6/os/x86_64/Packages/libgfortran-4.4.6-4.el6.x86_64.rpm sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/hdf5-1.8.5.patch1-7.el6.x86_64.rpm sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/netcdf-4.1.1-3.el6.2.x86_64.rpm sudo rpm -Uvh http://mirror.centos.org/centos/6/os/x86_64/Packages/expat-2.0.1-11.el6_2.x86_64.rpm sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/ogdi-3.2.0-0.14.beta2.el6.x86_64.rpm yum install mapserver cp /usr/libexec/mapserv /var/www/cgi-bin/ On Tue, Sep 4, 2012 at 12:47 PM, Peter Hopfgartner mailto:peter.hopfgart...@r3-gis.com>> wrote: On 09/04/2012 08:33 AM, Saka Royban wrote: Hi guys I'm a newbie to mapserver and i've been using MS4W for a while. Now, i'm gonna use MapServer CGI in my website. So, I asked my host admin of the version of Linux and he replied me that CentOS is running on the server. Searching internet, unfortunately, i didn't find mapserver binary for CentOS. I just found some instructions for building mapserver in Linux but i'm a windows follower and hence, not familiar with Linux. My host provider supports CGI applications. How can i get a binary MapServer compatible with Centos? Best Regards ___ mapserver-users mailing list mapserver-users@lists.osgeo.org <mailto:mapserver-users@lists.osgeo.org> http://lists.osgeo.org/mailman/listinfo/mapserver-users You'll find some GIS packages here: http://elgis.argeo.org/ -- Peter Hopfgartner web :http://www.r3-gis.com <http://www.r3-gis.com/> ___ mapserver-users mailing list mapserver-users@lists.osgeo.org <mailto:mapserver-users@lists.osgeo.org> http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Regards, Prabu Raja ___ mapserver-users mailing list mapserver-users@lists.osgeo.org <mailto:mapserver-users@lists.osgeo.org> http://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Peter Hopfgartner web : http://www.r3-gis.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] mapserver binary for CentOS?
On 09/04/2012 08:33 AM, Saka Royban wrote: Hi guys I'm a newbie to mapserver and i've been using MS4W for a while. Now, i'm gonna use MapServer CGI in my website. So, I asked my host admin of the version of Linux and he replied me that CentOS is running on the server. Searching internet, unfortunately, i didn't find mapserver binary for CentOS. I just found some instructions for building mapserver in Linux but i'm a windows follower and hence, not familiar with Linux. My host provider supports CGI applications. How can i get a binary MapServer compatible with Centos? Best Regards ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users You'll find some GIS packages here: http://elgis.argeo.org/ -- Peter Hopfgartner web : http://www.r3-gis.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Fail to build Mapscript Python with current source
Ok, it worked. Thanks, Peter On 04/27/2012 03:22 PM, Umberto Nicoletti wrote: I just built it on Ubuntu 10.04 x86, perhaps you should try this build process: ./configure [your options] --enable-python-mapscript make sudo make install make/make install will also build and install python mapscript, no need to cd, swig, etc. Umberto On Fri, Apr 27, 2012 at 3:04 PM, Peter Hopfgartner mailto:peter.hopfgart...@r3-gis.com>> wrote: I'm on a CentOS 6.2, x86_64 bit system: /configure --with-gd --with-zlib --with-tiff --with-agg --with-experimental-png --with-freetype=/usr/bin/freetype-config --with-gdal=/usr/bin/gdal-config --with-ogr=/usr/bin/gdal-config --with-geos=/usr/bin/geos-config --with-cairo=yes --with-proj --with-wfs --with-wcs --with-sos --with-wmsclient --with-wfsclient --with-xpm --with-postgis=/usr/bin/pg_config --with-mygis=/usr/bin/mysql_config --with-curl-config=/usr/bin/curl-config --with-xml2-config=/usr/bin/xml2-config --with-php=/usr/bin/php-config --with-fribidi-config=/usr/lib64/pkgconfig/fribidi.pc --with-fastcgi=/usr --without-pdf --without-eppl --with-threads --enable-debug --disable-runpath cd mapscript/python swig -python -shadow -modern -o mapscript_wrap.c ../mapscript.i cd ../.. make cd mapscript/python python setup.py build The build fails with: gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DUSE_FASTCGI=1 -DUSE_CAIRO=1 -DUSE_FRIBIDI=1 -DUSE_FRIBIDI2=1 -DUSE_WMS_LYR=1 -DUSE_WFS_LYR=1 -DUSE_SOS_SVR=1 -DUSE_LIBXML2=1 -DUSE_CURL=1 -DUSE_CURLOPT_PROXYAUTH=1 -DUSE_WCS_SVR=1 -DUSE_WFS_SVR=1 -DUSE_WMS_SVR=1 -DUSE_POSTGIS=1 -DPOSTGIS_HAS_SERVER_VERSION=1 -DUSE_GDAL=1 -DUSE_OGR=1 -DUSE_GEOS=1 -DUSE_THREAD=1 -DUSE_PROJ=1 -DUSE_GD=1 -DUSE_GD_GIF=1 -DUSE_GD_PNG=1 -DUSE_GD_JPEG=1 -DUSE_GD_WBMP=1 -DUSE_GD_FT=1 -DGD_HAS_FTEX_XSHOW=1 -DGD_HAS_GDIMAGEGIFPTR=1 -DGD_HAS_GETBITMAPFONTS=1 -DGD_HAS_GET_TRUE_COLOR_PIXEL=1 -DUSE_ICONV=1 -DUSE_JPEG=1 -DUSE_GIF=1 -DUSE_PNG=1 -DUSE_ZLIB=1 -DUSE_FREETYPE=1 -DHAVE_VSNPRINTF=1 -DNEED_STRLCPY=1 -DNEED_STRLCAT=1 -DNEED_STRRSTR=1 -DDISABLE_CVSID=1 -I../.. -I/usr/include/freetype2 -Irenderers/agg/include -I/usr/include/gdal -I/usr/include -I/usr/include/fastcgi -I/usr/include/libxml2 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/python2.6 -I/home/rpmbuild/tmp/mapserver-6.1.20120426 -c pygdioctx/pygdioctx.c -o build/temp.linux-x86_64-2.6/pygdioctx/pygdioctx.o pygdioctx/pygdioctx.c: In function ‘PyFileIfaceObj_IOCtx_GetBuf’: pygdioctx/pygdioctx.c:84: warning: passing argument 3 of ‘PyString_AsStringAndSize’ from incompatible pointer type /usr/include/python2.6/stringobject.h:172: note: expected ‘Py_ssize_t *’ but argument is of type ‘int *’ gcc -pthread -shared build/temp.linux-x86_64-2.6/mapscript_wrap.o build/temp.linux-x86_64-2.6/pygdioctx/pygdioctx.o -L../../ -L/usr/lib64 -L/usr/lib64 -L/usr/lib -L/usr/lib64 -L/home/rpmbuild/tmp/mapserver-6.1.20120426 -lpython2.6 -lmapserver -lfreetype -lgd -ljpeg -lpng -lz -lXpm -lX11 -lproj -lgif -lgdal -lpq -lcurl -lgeos_c -lpthread -lc -lfcgi -lxml2 -lm -lfribidi -lstdc++ -lfontconfig -lcairo -lpng12 -lmapserver -o build/lib.linux-x86_64-2.6/_mapscript.so /usr/bin/ld: cannot find -lmapserver collect2: ld returned 1 exit status error: command 'gcc' failed with exit status 1 Anyway, there is a file libmapserver.la <http://libmapserver.la> in the source directory. What is it, that I'm mising? Thanks, Peter -- Peter Hopfgartner web : http://www.r3-gis.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org <mailto:mapserver-users@lists.osgeo.org> http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Peter Hopfgartner R3 GIS Srl - GmbH Via Johann Kravogl-Str. 2 I-39012 Meran/Merano (BZ) web : www.r3-gis.com mail : peter.hopfgart...@r3-gis.com phone: +39 0473 494949 fax : +39 0473 069902 ATTENZIONE! Le informazioni contenute nella presente e-mail e nei documenti eventualmente allegati sono confidenziali. La loro diffusione, distribuzione e/o riproduzione da parte di terzi, senza autorizzazione del mittente è vietata e può violare il D. Lgs. 196/2003. In caso di ricezione per errore, Vogliate immediatamente informare il mittente del messaggio e distruggere la e-mail. ACHTUNG! Die in dieser Nachricht oder in den beigelegten Dokumenten
[mapserver-users] Fail to build Mapscript Python with current source
I'm on a CentOS 6.2, x86_64 bit system: /configure --with-gd --with-zlib --with-tiff --with-agg --with-experimental-png --with-freetype=/usr/bin/freetype-config --with-gdal=/usr/bin/gdal-config --with-ogr=/usr/bin/gdal-config --with-geos=/usr/bin/geos-config --with-cairo=yes --with-proj --with-wfs --with-wcs --with-sos --with-wmsclient --with-wfsclient --with-xpm --with-postgis=/usr/bin/pg_config --with-mygis=/usr/bin/mysql_config --with-curl-config=/usr/bin/curl-config --with-xml2-config=/usr/bin/xml2-config --with-php=/usr/bin/php-config --with-fribidi-config=/usr/lib64/pkgconfig/fribidi.pc --with-fastcgi=/usr --without-pdf --without-eppl --with-threads --enable-debug --disable-runpath cd mapscript/python swig -python -shadow -modern -o mapscript_wrap.c ../mapscript.i cd ../.. make cd mapscript/python python setup.py build The build fails with: gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DUSE_FASTCGI=1 -DUSE_CAIRO=1 -DUSE_FRIBIDI=1 -DUSE_FRIBIDI2=1 -DUSE_WMS_LYR=1 -DUSE_WFS_LYR=1 -DUSE_SOS_SVR=1 -DUSE_LIBXML2=1 -DUSE_CURL=1 -DUSE_CURLOPT_PROXYAUTH=1 -DUSE_WCS_SVR=1 -DUSE_WFS_SVR=1 -DUSE_WMS_SVR=1 -DUSE_POSTGIS=1 -DPOSTGIS_HAS_SERVER_VERSION=1 -DUSE_GDAL=1 -DUSE_OGR=1 -DUSE_GEOS=1 -DUSE_THREAD=1 -DUSE_PROJ=1 -DUSE_GD=1 -DUSE_GD_GIF=1 -DUSE_GD_PNG=1 -DUSE_GD_JPEG=1 -DUSE_GD_WBMP=1 -DUSE_GD_FT=1 -DGD_HAS_FTEX_XSHOW=1 -DGD_HAS_GDIMAGEGIFPTR=1 -DGD_HAS_GETBITMAPFONTS=1 -DGD_HAS_GET_TRUE_COLOR_PIXEL=1 -DUSE_ICONV=1 -DUSE_JPEG=1 -DUSE_GIF=1 -DUSE_PNG=1 -DUSE_ZLIB=1 -DUSE_FREETYPE=1 -DHAVE_VSNPRINTF=1 -DNEED_STRLCPY=1 -DNEED_STRLCAT=1 -DNEED_STRRSTR=1 -DDISABLE_CVSID=1 -I../.. -I/usr/include/freetype2 -Irenderers/agg/include -I/usr/include/gdal -I/usr/include -I/usr/include/fastcgi -I/usr/include/libxml2 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/python2.6 -I/home/rpmbuild/tmp/mapserver-6.1.20120426 -c pygdioctx/pygdioctx.c -o build/temp.linux-x86_64-2.6/pygdioctx/pygdioctx.o pygdioctx/pygdioctx.c: In function ‘PyFileIfaceObj_IOCtx_GetBuf’: pygdioctx/pygdioctx.c:84: warning: passing argument 3 of ‘PyString_AsStringAndSize’ from incompatible pointer type /usr/include/python2.6/stringobject.h:172: note: expected ‘Py_ssize_t *’ but argument is of type ‘int *’ gcc -pthread -shared build/temp.linux-x86_64-2.6/mapscript_wrap.o build/temp.linux-x86_64-2.6/pygdioctx/pygdioctx.o -L../../ -L/usr/lib64 -L/usr/lib64 -L/usr/lib -L/usr/lib64 -L/home/rpmbuild/tmp/mapserver-6.1.20120426 -lpython2.6 -lmapserver -lfreetype -lgd -ljpeg -lpng -lz -lXpm -lX11 -lproj -lgif -lgdal -lpq -lcurl -lgeos_c -lpthread -lc -lfcgi -lxml2 -lm -lfribidi -lstdc++ -lfontconfig -lcairo -lpng12 -lmapserver -o build/lib.linux-x86_64-2.6/_mapscript.so /usr/bin/ld: cannot find -lmapserver collect2: ld returned 1 exit status error: command 'gcc' failed with exit status 1 Anyway, there is a file libmapserver.la in the source directory. What is it, that I'm mising? Thanks, Peter -- Peter Hopfgartner web : http://www.r3-gis.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Turn off anti-alias Mapserver 6.0
Hi Thomas You could try to reduce the image size using 8bit PNGs, see the 3rd output format in http://mapserver.org/mapfile/outputformat.html. Peter On 04/12/2012 06:20 AM, Thomas Joseph wrote: We have recently upgraded from Mapserver 5.7 to 6.0 and although the AGG anti-alias lines look great the output image size has increased significantly from the previous rendering without anti-alias. I was just wondering if there is a way to turn off the anti-alias for polyline rendering in Mapserver 6.0. From the documentation it appeared that the previous GD driver did not include anti-alias by default. We have attempted to switch the outputformat from the new default AGG to the previous GD driver using the outputformat directive in the map file as shown below. This changed the image size slightly suggesting that mapserver was using a different driver to render, however the lines were still rendered with anti-alias on and the image was still relatively large compared to previous mapserver verison. OUTPUTFORMAT NAME "GDpng" DRIVER GD/PNG MIMETYPE "image/png" IMAGEMODE RGB EXTENSION "png" END Previously in Mapserver 5.7 we did not specify an outputformat we simply used IMAGETYPE PNG24 and the output was generated without anti-alias. Any suggestions would be greatly appreciated. If you need additional information let me know. tom THIS EMAIL IS CONFIDENTIAL. Its use or disclosure by any person other than the addressee is unauthorised. Anyone other than the intended recipient must not rely on the content of this email or any attachment to it. The sender cannot guarantee that this email or any attachment to it is free of computer viruses or other conditions which may damage or interfere with other computer systems. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Peter Hopfgartner http://www.r3-gis.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Specify resolution (or pixel size) in WMS requests
Basically, I am looking for a way to something analogous to DEFRESOLUTION in a WMS request. The standard says, that a pixel is 0.28 mm x 0.28 mm (25.4/0.28 ~= 90.71 DPI). I could not found a way to change this in the WMS 1.3.0 standard. Is there a MapServer vendor parameter, similar to the one in GeoServer, http://docs.geoserver.org/latest/en/user/services/wms/vendor.html#format-options ? Peter -- Peter Hopfgartner R3 GIS http://www.r3-gis.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Does MapServer, as a client, support WMS 1.3.0?
Hello, I could not find any information on the web about this. Regards, Peter -- Peter Hopfgartner R3 GIS http://www.r3-gis.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Patch for #2903
Could http://trac.osgeo.org/mapserver/attachment/ticket/2903/mapserver.ticket_2903.patch ba applied to branch-5-6 ? BTW: the problem seems to be fixed in 6.0, so the ticket can be closed. Peter Hopfgartner R3 GIS Srl - GmbH http://www.r3-gis.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
RE: [mapserver-users] MapServer 6.0.0 Release
Daniel Morissette wrote Subject: [mapserver-users] MapServer 6.0.0 Release Date: 13.05.2011 02:25 >The MapServer Team is pleased to announce the long awaited release of >MapServer 6.0.0. > Updated packages for RHEL and CentOS 5.6 can be downloaded from http://elgis.argeo.org/ testing repository. Scientific Linux need php53 packages in order to install php-mapserver6. Users, who have mapserver6 beta and rc packages installed are advised to remove those before installing MapServer 6.0.0 packages. >The 6.0 release introduces important changes in key components of the >MapServer core, as well as a large number of new features and >enhancements. The complete list of changes and enhancements is too long >to include here, so here is a quick list of RFCs related to this release: > >(RFCs are available online at http://mapserver.org/development/rfc/) > >Core Changes in MapServer 6.0 Which Could Affect Existing Applications: >--- > > * MS RFC 54: Rendering Interface API > * MS RFC 64: MapServer Expression Parser Overhaul > * MS RFC 65: Single-pass Query Changes for 6.0 > >New Features and Notable Enhancements in MapServer 6.0: >--- > > * MS RFC 50: OpenGL Rendering Support > * MS RFC 58: Kml Output > * MS RFC 60: Labeling enhancement: MAXOVERLAPANGLE > * MS RFC 61: Enhance MapServer Feature Style Support > * MS RFC 62: Support Additional WFS GetFeature Output Formats > * MS RFC 63: Built-in OpenLayers map viewer > * MS RFC 66: Better handling of temporary files > * MS RFC 67: Enable/Disable Layers in OGC Web Services > * MS RFC 68: Support for combining features from multiple layers > * MS RFC 69: Support for clustering of features in point layers > >More details are also available in the 6.0 release plan at: > http://mapserver.org/development/release/release-plan-6.0.html > >Migration Guide: > > >Users upgrading to 6.0 from an older 5.x release are strongly encouraged >to start by reviewing the 5.6 -> 6.0 migration guide. This document >contains important notes on backwards incompatibilities or other changes >required when upgrading to 6.0. The latest version is available online >at: > > http://mapserver.org/MIGRATION_GUIDE.html > >Source Code Download: >- > >The source for this release can be downloaded at: > > http://mapserver.org/download.html >or > http://download.osgeo.org/mapserver/mapserver-6.0.0.tar.gz > >Binary Distributions: >- > >Existing MS4W 3.0 users can upgrade to this MapServer 6.0.0 release by >following instructions at: >http://www.maptools.org/ms4w/index.phtml?page=RELEASE_mapserver_ms4w3.x_dev-6.0.0.html > >Ubuntu Binaries for hardy, lucid, maverick and natty are also built and >available in the unstable PPA of UbuntuGIS. See details and instructions >at: >http://trac.osgeo.org/ubuntugis/ > >The other binary distributions listed in the download page should also >be updated with binaries for the new release shortly. > >Documentation: >-- > >The MapServer documentation team is continuing to update and maintain >documents, and are happy to announce that MapServer documentation is now >available in English, German, French, and Spanish at >http://www.mapserver.org/. Volunteers are always needed to help >translate documents and update the documentation. The documentation >team asks those volunteers interested in translating documents to please >introduce yourself on the mapserver-dev email list. > >Finally, thank you to all of the users, developers, and supporters of >MapServer. Enjoy! > >- The MapServer Team > > >P.S. A copy of this announcement in pretty print is available online at > http://mapserver.org/development/announce/6-0.html >___ >mapserver-users mailing list >mapserver-users@lists.osgeo.org >http://lists.osgeo.org/mailman/listinfo/mapserver-users > Congratulations to everybody involved in making this release of MapServer happen! Peter Hopfgartner R3 GIS Srl - GmbH http://www.r3-gis.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
RE: [mapserver-users] MapServer 6.0.0-rc2 release
Daniel Morissette wrote Subject: [mapserver-users] MapServer 6.0.0-rc2 release Date: 06.05.2011 04:39 >The MapServer Team is pleased to announce the release of MapServer >6.0.0-rc2. > Updated packages for RHEL and CentOS 5.6 can be downloaded from http://elgis.argeo.org/ testing repository. Scientific Linux need php53 packages in order to install php-mapserver6. >The 6.0 release introduces important changes in key components of the >MapServer core (rendering, query and expressions), and for this reason >we count on you, MapServer power users, to help test the release in your >respective environments and provide feedback (through the users list or >Trac tickets). > >We had to issue a new release candidate since a few important issues >were reported and fixed in rc1. If all goes well and no blocker issues >are reported, then this release candidate could lead us to a final 6.0.0 >release next week. The full release plan which also includes the list of >new features and changes in this release is available at: > http://mapserver.org/trunk/development/release/release-plan-6.0.html > >The list of fixes since the last release candidate is attached at the >end of this message. For a complete list see the HISTORY.TXT file at: > >http://trac.osgeo.org/mapserver/browser/tags/rel-6-0-0-rc2/mapserver/HISTORY.TXT > >We have started working on a 5.6 -> 6.0 migration guide. This document >contains important notes on backwards incompatibilities or other changes >required when upgrading to 6.0. The latest version is available online >at: > > http://mapserver.org/trunk/MIGRATION_GUIDE.html > >The source for this release can be downloaded at: > > http://mapserver.org/download.html >or > http://download.osgeo.org/mapserver/mapserver-6.0.0-rc2.tar.gz > >The binary distributions listed in the download page should be updated >with binaries for the new beta release in the next day or so. > >Once again we need your help to ensure a high quality product, so please >help out by testing your applications with this new code base. > >Thanks! - The MapServer Team > > >Version 6.0.0-rc2 (2011-05-05) >-- > >- Fixed seg fault with [shpxy] tag... (#3860) > >- Removed obsolete msQueryByOperator() function > >- Call msLayerClose() before msLayerOpen() in the various query > functions (#3692) > >- Fix WMS 1.3.0 to use full list of epsg codes with inverted axis (#3582) > >- PHP/Mapscript: Added getResultsBounds() method in layer object (#2967) > >- Fix SLD containing a PropertyIsLike filter (#3855) > >- Fixed msUnionLayerNextShape to return correct values (#3859) > >- Union layer: fix for the failure if one or more of the source layers > are not in the current extent (#3858) > >- Fix memory leak in msResampleGDALToMap() (#3857) > >- Fix missing initialization of default formats in WCS 1.x. > >- Fix maxoverlapangle when value is set to 0 (#3856) > > Enjoy, Peter R3 GIS Srl - GmbH http://www.r3-gis.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] MapServer 6.0.0-beta7 packages in ELGIS repository
MapServer 6.0.0-beta7 has been packaged into rpms for CentOS and Red Hat Enterprise Linux 5.6 as mapserver6. Scientific Linux users might get php53 packages from CentOS, in order to use php-mapserver6. The packages are in the testing repositoriy of http://wiki.osgeo.org/wiki/Enterprise_Linux_GIS. Thanks to Mathieu for the quick handling of the package, Peter R3 GIS Srl - GmbH http://www.r3-gis.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
RE: RE: [mapserver-users] MapServer 6.0.0-beta6 release
Peter Hopfgartner wrote Subject: RE: [mapserver-users] MapServer 6.0.0-beta6 release Date: 15.04.2011 08:38 >Daniel Morissette wrote > >Subject: [mapserver-users] MapServer 6.0.0-beta6 release > >Date: 14.04.2011 01:22 > > > >>The MapServer Team is pleased to announce the release of MapServer > >>6.0.0-beta6. This is the latest beta on our way to a final 6.0 release. > >>Once again this beta contains several important fixes and we encourage > >>you to test it and continue to provide feedback. > >> > >>The 6.0 release introduces important changes in key components of the > >>MapServer core (rendering, query and expressions), and for this reason > >>we count on you, MapServer power users, to help test the release in your > > >>respective environments and provide feedback (through the users list or > >>Trac tickets). > >> > > > >Packages for RHEL/CentOS/Scientific Linux 5 and as src.rpm: > > > >http://www.r3-gis.com/upload/mapserver-6.0.0beta6-1.0.el5.src.rpm > >http://www.r3-gis.com/upload/mapserver-6.0.0beta6-1.0.el5.x86_64.rpm > >http://www.r3-gis.com/upload/php-mapserver-6.0.0beta6-1.0.el5.x86_64.rpm > >http://www.r3-gis.com/upload/mapserver-perl-6.0.0beta6-1.0.el5.x86_64.rpm > >http://www.r3-gis.com/upload/mapserver-python-6.0.0beta6-1.0.el5.x86_64.rpm > >http://www.r3-gis.com/upload/mapserver-java-6.0.0beta6-1.0.el5.x86_64.rpm > >http://www.r3-gis.com/upload/mapserver-debuginfo-6.0.0beta6-1.0.el5.x86_64.rpm > > > >These packages depend on http://wiki.osgeo.org/wiki/Enterprise_Linux_GIS >and on the php53* packages, in CentOS 5.6. > > > >beta5 packages were removed. > > MapServer 6.0.0 beta6 packages are now available in ELGIS testing repository as mnapserver6, http://elgis.argeo.org/ Peter > > >Peter > > > >R3 GIS Srl - GmbH > >http://www.r3-gis.com > > > > > >___ >mapserver-users mailing list >mapserver-users@lists.osgeo.org >http://lists.osgeo.org/mailman/listinfo/mapserver-users > ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
RE: [mapserver-users] MapServer 6.0.0-beta6 release
Peter Hopfgartner R3 GIS Srl - GmbH http://www.r3-gis.com Daniel Morissette wrote Subject: [mapserver-users] MapServer 6.0.0-beta6 release Date: 14.04.2011 01:22 >The MapServer Team is pleased to announce the release of MapServer >6.0.0-beta6. This is the latest beta on our way to a final 6.0 release. >Once again this beta contains several important fixes and we encourage >you to test it and continue to provide feedback. > >The 6.0 release introduces important changes in key components of the >MapServer core (rendering, query and expressions), and for this reason >we count on you, MapServer power users, to help test the release in your >respective environments and provide feedback (through the users list or >Trac tickets). > Packages for RHEL/CentOS/Scientific Linux 5 and as src.rpm: http://www.r3-gis.com/upload/mapserver-6.0.0beta6-1.0.el5.src.rpm http://www.r3-gis.com/upload/mapserver-6.0.0beta6-1.0.el5.x86_64.rpm http://www.r3-gis.com/upload/php-mapserver-6.0.0beta6-1.0.el5.x86_64.rpm http://www.r3-gis.com/upload/mapserver-perl-6.0.0beta6-1.0.el5.x86_64.rpm http://www.r3-gis.com/upload/mapserver-python-6.0.0beta6-1.0.el5.x86_64.rpm http://www.r3-gis.com/upload/mapserver-java-6.0.0beta6-1.0.el5.x86_64.rpm http://www.r3-gis.com/upload/mapserver-debuginfo-6.0.0beta6-1.0.el5.x86_64.rpm These packages depend on http://wiki.osgeo.org/wiki/Enterprise_Linux_GIS and on the php53* packages, in CentOS 5.6. beta5 packages were removed. (...) Peter R3 GIS Srl - GmbH http://www.r3-gis.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
RE: [mapserver-users] MapServer 6.0.0-beta5 release
Daniel Morissette wrote Subject: [mapserver-users] MapServer 6.0.0-beta5 release Date: 07.04.2011 05:29 >The MapServer Team is pleased to announce the release of MapServer >6.0.0-beta5. This is the latest beta on our way to a final 6.0 release. >Once again this beta contains several important fixes and we encourage >you to test it and continue to provide feedback. > Packages for RHEL/CentOS/Scientific Linux 5 and as src.rpm: http://www.r3-gis.com/upload/mapserver-6.0.0beta5-1.0.el5.src.rpm http://www.r3-gis.com/upload/mapserver-6.0.0beta5-1.0.el5.x86_64.rpm http://www.r3-gis.com/upload/php-mapserver-6.0.0beta5-1.0.el5.x86_64.rpm http://www.r3-gis.com/upload/mapserver-perl-6.0.0beta5-1.0.el5.x86_64.rpm http://www.r3-gis.com/upload/mapserver-python-6.0.0beta5-1.0.el5.x86_64.rpm http://www.r3-gis.com/upload/mapserver-java-6.0.0beta5-1.0.el5.x86_64.rpm http://www.r3-gis.com/upload/mapserver-debuginfo-6.0.0beta5-1.0.el5.x86_64.rpm These packages depend on http://wiki.osgeo.org/wiki/Enterprise_Linux_GIS and on the php53* packages, which might be found in http://dev.centos.org/centos/5/testing/x86_64/RPMS/php53/ , until CentOS 5.6 is out. In addition to the beta4 packages, XML map files were enabled, php-mapserver-proj was integrated with php-mapserver and internal TIFF was disbled. beta4 packages were removed. (...) Peter Hopfgartner R3 GIS Srl - GmbH http://www.r3-gis.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
RE: Re: [mapserver-users] MapServer 6.0.0-beta4 release
Daniel Morissette wrote Subject: Re: [mapserver-users] MapServer 6.0.0-beta4 release Date: 02.04.2011 22:13 Hi, Daniel >On 11-03-31 04:38 AM, Peter Hopfgartner wrote: >> >> Looking at ./configure, around line 12710, the tests look like: >> >>test -f $XSLT_DIR/include/libxslt/xslt.h&& >XSLT_INCDIR="$XSLT_DIR/include" >>test -f $XSLT_DIR/lib/libxslt.so&& XSLT_LIBDIR="$XSLT_DIR/lib" >> >> Anyway, on a pure 64 bit machine, there won't be any lib/libxslt.so, >but a lib64/libxslt.so. Indeed, changing this to lib64 it configures fine >on my machine. >> > >Thanks for the report. I have fixed this in SVN trunk r11448. The fix >will be in the next beta. I guess that the same fix might be applied for libexslt, too. > >Daniel > >-- >Daniel Morissette >http://www.mapgears.com/ >Provider of Professional MapServer Support since 2000 > Peter R3 GIS Srl - GmbH http://www.r3-gis.com Index: configure.in === --- configure.in (revision 11473) +++ configure.in (working copy) @@ -2116,6 +2116,7 @@ test -f $EXSLT_DIR/include/libexslt/exslt.h && EXSLT_INCDIR="$EXSLT_DIR/include" test -f $EXSLT_DIR/lib/libexslt.so && EXSLT_LIBDIR="$EXSLT_DIR/lib" + test -f $EXSLT_DIR/lib64/libexslt.so && EXSLT_LIBDIR="$EXSLT_DIR/lib" if test -n "$EXSLT_LIBDIR" -a -n "$EXSLT_INCDIR" ; then dnl ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
RE: [mapserver-users] MapServer 6.0.0-beta4 release
Packages for RHEL/CentOS/Scientific Linux 5 and as src.rpm: http://www.r3-gis.com/upload/mapserver-6.0.0beta4-1.0.el5.src.rpm http://www.r3-gis.com/upload/mapserver-6.0.0beta4-1.0.el5.x86_64.rpm http://www.r3-gis.com/upload/php-mapserver-6.0.0beta4-1.0.el5.x86_64.rpm http://www.r3-gis.com/upload/php-mapserver-proj-6.0.0beta4-1.0.el5.x86_64.rpm http://www.r3-gis.com/upload/mapserver-perl-6.0.0beta4-1.0.el5.x86_64.rpm http://www.r3-gis.com/upload/mapserver-python-6.0.0beta4-1.0.el5.x86_64.rpm http://www.r3-gis.com/upload/mapserver-java-6.0.0beta4-1.0.el5.x86_64.rpm http://www.r3-gis.com/upload/mapserver-debuginfo-6.0.0beta4-1.0.el5.x86_64.rpm These packages depend on http://wiki.osgeo.org/wiki/Enterprise_Linux_GIS and on the php53* packages, which might be found in http://dev.centos.org/centos/5/testing/x86_64/RPMS/php53/ , until CentOS 5.6 is out. In addition to the beta3 packages, KML support is enabled. beta3 packages were removed. Peter R3 GIS Srl - GmbH http://www.r3-gis.com Daniel Morissette wrote Subject: [mapserver-users] MapServer 6.0.0-beta4 release Date: 31.03.2011 03:36 >The MapServer Team is pleased to announce the release of MapServer >6.0.0-beta4. This is the latest beta on our way to a final 6.0 release. >Once again this beta contains several important fixes and we encourage >you to test it and continue to provide feedback. > >The 6.0 release introduces important changes in key components of the >MapServer core (rendering, query and expressions), and for this reason >we count on you, MapServer power users, to help test the release in your >respective environments and provide feedback (through the users list or >Trac tickets). > >If all goes well, the plan is to have a final 6.0 release around the end >of April. The full release plan which also includes the list of new >features and changes in this release is available at: > http://mapserver.org/trunk/development/release/release-plan-6.0.html > >The list of fixes since beta1 is attached at the end of this message. >For a complete list see the HISTORY.TXT file at: > > >http://trac.osgeo.org/mapserver/browser/tags/rel-6-0-0-beta4/mapserver/HISTORY.TXT > >We have started working on a 5.6 -> 6.0 migration guide. This document >contains important notes on backwards incompatibilities or other changes >required when upgrading to 6.0. It is not complete yet but we strongly >recommend that you review the latest version online at: > > http://mapserver.org/trunk/MIGRATION_GUIDE.html > >The source for this release can be downloaded at: > > http://mapserver.org/download.html >or > http://download.osgeo.org/mapserver/mapserver-6.0.0-beta4.tar.gz > >The binary distributions listed in the download page should be updated >with binaries for the new beta release in the next day or so. > >Once again we need your help to ensure a high quality product, so please >help out by testing your applications with this new code base. > >Thanks! - The MapServer Team > > >Version 6.0.0-beta4 (2011-03-30) > > >- Fix shp2img's -i flag to honour map level transparent, image quality >and > interlace settings. > >- Make sure command-line programs use an exit status other than 0 > when an error is encountered. (#3753) > >- Applied patch to filter unwanted fribidi characters (#3763) > >- Fixed lexer to set the proper state on URL variable substitutions > >- Fixed Memory leak in PostGIS driver (#3768) > >- Fixed PHP/MapScript symbol property setter method > >- fix memory leak in bar charts > >- fix some valgrind errors on agg rotated pixmap symbols > >- WCS 2.0: Adjusted definition of NilValues. > >- Fixed handling of PROJ_LIB value relative to mapfile path (#3094) > >- Fixed compilation error with opengl support (#3769) > >- add support for gml:Box for spatial filters (#3789) > >- fix query map generation error introduced in beta2 when output format > initialized was made as needed. > >- fix incorrect PATTERN behavior on agg lines (#3787) > >- report SOS DescribeObservationType in Capabilities (#3777) > >- Updated lexer to detect time attribute bindings (e.g. `[item]`) in >logical > expressions > >- Fixed layer context expressions (REQUIRES/LABELREQUIRES) (#3737) > >- KML: Output ExtendedData (#3728) > >- Fixed OWS usage of multiple layers with same name (#3778) > >- WCS implementation should not lookup wms_* metadata (#3779) > >- WCS 2.0: Adjusted definition of rangeType. > >- Fixed OWS GetCapabilities to report only requests/operations that are > enabled. > >- WCS 2.0: Report only bands in the range subset. > >- OWS requests should be completely blocked by default (#3755) > >- SLD: check for limit on dash arrays (#3772) > >- WMS: Apply sld after bbox and srs have been parsed (#3765) > > >___ >mapserver-users mailing list >mapserver-users@lists.osgeo.org >http://lists.osgeo.org/mailman/listinfo/mapserver-users > ___
RE: [mapserver-users] MapServer 6.0.0-beta4 release
I'm trying to build MapServer --with-xslt on CentOS 5, 64 bit and I'm not able to get the right argument for --with-xslt= Looking at ./configure, around line 12710, the tests look like: test -f $XSLT_DIR/include/libxslt/xslt.h && XSLT_INCDIR="$XSLT_DIR/include" test -f $XSLT_DIR/lib/libxslt.so && XSLT_LIBDIR="$XSLT_DIR/lib" Anyway, on a pure 64 bit machine, there won't be any lib/libxslt.so, but a lib64/libxslt.so. Indeed, changing this to lib64 it configures fine on my machine. Peter R3 GIS Srl - GmbH http://www.r3-gis.com Daniel Morissette wrote Subject: [mapserver-users] MapServer 6.0.0-beta4 release Date: 31.03.2011 03:36 >The MapServer Team is pleased to announce the release of MapServer >6.0.0-beta4. This is the latest beta on our way to a final 6.0 release. >Once again this beta contains several important fixes and we encourage >you to test it and continue to provide feedback. > >The 6.0 release introduces important changes in key components of the >MapServer core (rendering, query and expressions), and for this reason >we count on you, MapServer power users, to help test the release in your >respective environments and provide feedback (through the users list or >Trac tickets). > >If all goes well, the plan is to have a final 6.0 release around the end >of April. The full release plan which also includes the list of new >features and changes in this release is available at: > http://mapserver.org/trunk/development/release/release-plan-6.0.html > >The list of fixes since beta1 is attached at the end of this message. >For a complete list see the HISTORY.TXT file at: > > >http://trac.osgeo.org/mapserver/browser/tags/rel-6-0-0-beta4/mapserver/HISTORY.TXT > >We have started working on a 5.6 -> 6.0 migration guide. This document >contains important notes on backwards incompatibilities or other changes >required when upgrading to 6.0. It is not complete yet but we strongly >recommend that you review the latest version online at: > > http://mapserver.org/trunk/MIGRATION_GUIDE.html > >The source for this release can be downloaded at: > > http://mapserver.org/download.html >or > http://download.osgeo.org/mapserver/mapserver-6.0.0-beta4.tar.gz > >The binary distributions listed in the download page should be updated >with binaries for the new beta release in the next day or so. > >Once again we need your help to ensure a high quality product, so please >help out by testing your applications with this new code base. > >Thanks! - The MapServer Team > > >Version 6.0.0-beta4 (2011-03-30) > > >- Fix shp2img's -i flag to honour map level transparent, image quality >and > interlace settings. > >- Make sure command-line programs use an exit status other than 0 > when an error is encountered. (#3753) > >- Applied patch to filter unwanted fribidi characters (#3763) > >- Fixed lexer to set the proper state on URL variable substitutions > >- Fixed Memory leak in PostGIS driver (#3768) > >- Fixed PHP/MapScript symbol property setter method > >- fix memory leak in bar charts > >- fix some valgrind errors on agg rotated pixmap symbols > >- WCS 2.0: Adjusted definition of NilValues. > >- Fixed handling of PROJ_LIB value relative to mapfile path (#3094) > >- Fixed compilation error with opengl support (#3769) > >- add support for gml:Box for spatial filters (#3789) > >- fix query map generation error introduced in beta2 when output format > initialized was made as needed. > >- fix incorrect PATTERN behavior on agg lines (#3787) > >- report SOS DescribeObservationType in Capabilities (#3777) > >- Updated lexer to detect time attribute bindings (e.g. `[item]`) in >logical > expressions > >- Fixed layer context expressions (REQUIRES/LABELREQUIRES) (#3737) > >- KML: Output ExtendedData (#3728) > >- Fixed OWS usage of multiple layers with same name (#3778) > >- WCS implementation should not lookup wms_* metadata (#3779) > >- WCS 2.0: Adjusted definition of rangeType. > >- Fixed OWS GetCapabilities to report only requests/operations that are > enabled. > >- WCS 2.0: Report only bands in the range subset. > >- OWS requests should be completely blocked by default (#3755) > >- SLD: check for limit on dash arrays (#3772) > >- WMS: Apply sld after bbox and srs have been parsed (#3765) > > >___ >mapserver-users mailing list >mapserver-users@lists.osgeo.org >http://lists.osgeo.org/mailman/listinfo/mapserver-users > ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
RE: [mapserver-users] MapServer 6.0.0-beta3 release
Packages for RHEL/CentOS/Scientific Linux 5 and as src.rpm: http://www.r3-gis.com/upload/mapserver-6.0.0beta3-1.0.el5.src.rpm http://www.r3-gis.com/upload/mapserver-6.0.0beta3-1.0.el5.x86_64.rpm http://www.r3-gis.com/upload/php-mapserver-6.0.0beta3-1.0.el5.x86_64.rpm http://www.r3-gis.com/upload/php-mapserver-proj-6.0.0beta3-1.0.el5.x86_64.rpm http://www.r3-gis.com/upload/mapserver-perl-6.0.0beta3-1.0.el5.x86_64.rpm http://www.r3-gis.com/upload/mapserver-python-6.0.0beta3-1.0.el5.x86_64.rpm http://www.r3-gis.com/upload/mapserver-java-6.0.0beta3-1.0.el5.x86_64.rpm http://www.r3-gis.com/upload/mapserver-debuginfo-6.0.0beta3-1.0.el5.x86_64.rpm These packages depend on http://wiki.osgeo.org/wiki/Enterprise_Linux_GIS and on the php53* packages, which might be found in http://dev.centos.org/centos/5/testing/x86_64/RPMS/php53/ , until CentOS 5.6 is out. Peter R3 GIS Srl - GmbH http://www.r3-gis.com Daniel Morissette wrote Subject: [mapserver-users] MapServer 6.0.0-beta3 release Date: 23.03.2011 22:45 >The MapServer Team is pleased to announce the release of MapServer >6.0.0-beta3. This is the latest beta on our way to a final 6.0 release. >We realize that it comes only 5 days after beta2, but it also contains >several important fixes and we encourage you to test it and continue to >provide feedback. > >The 6.0 release introduces important changes in key components of the >MapServer core (rendering, query and expressions), and for this reason >we count on you, MapServer power users, to help test the release in your >respective environments and provide feedback (through the users list or >Trac tickets). > >This is the third of four planned beta releases and if all goes well a >final release should occur around the end of April. The full release >plan which also includes the list of new features and changes in this >release is available at: > http://mapserver.org/trunk/development/release/release-plan-6.0.html > >The list of fixes since beta1 is attached at the end of this message. >For a complete list see the HISTORY.TXT file at: > > >http://trac.osgeo.org/mapserver/browser/tags/rel-6-0-0-beta3/mapserver/HISTORY.TXT > >We have started working on a 5.6 -> 6.0 migration guide. This document >contains important notes on backwards incompatibilities or other changes >required when upgrading to 6.0. It is not complete yet but we strongly >recommend that you review the latest version online at: > > http://mapserver.org/trunk/MIGRATION_GUIDE.html > >The source for this release can be downloaded at: > > http://mapserver.org/download.html >or > http://download.osgeo.org/mapserver/mapserver-6.0.0-beta3.tar.gz > >The binary distributions listed in the download page should be updated >with binaries for the new beta release in the next day or so. > >Once again we need your help to ensure a high quality product, so please >help out by testing your applications with this new code base. > >Thanks! - The MapServer Team > > >Version 6.0.0-beta3 (2011-03-23) > > >- apply min/max size/width style values to polygon spacing (vaguely >related > to #3132) > >- assure that a created tile has a non-zero width and height (#3370) > >- use png_sig_cmp instead of png_check_sig (#3762) > >- Rendering: scale style OFFSET and GAP the same way we scale other style > attributes. Beforehand, we scaled them proportionaly to the computed >width. > >- KML: fix rounding problem for point feautres (#3767) > >- KML: update code to reflect output changes. Fix true type symbols. >(#3766) > >- SLD: Text Symbolizer now uses the new expression syntax (#3757) > >- WFS: correct bbox values for GetFeature with featureid request (#3761) > >- Mapscript Seg Fault on mapObj->getMetaData (#3738) > >- Correct double free in msCleanup(). > >- Initialize default formats in WCS. > >- Fix csharp Makefile.in (#3758) > >- Allow run-time subs in class->text (makes sense if you allow it in > class->expression). > >- Fix build problem when --enable-cgi-cl-debug-args is enabled (#2853) > >___ >mapserver-users mailing list >mapserver-users@lists.osgeo.org >http://lists.osgeo.org/mailman/listinfo/mapserver-users > ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
RE: Re: [mapserver-users] MapServer 6.0.0-beta2 release: problems building Java MapScript
Seems good. Thanks, Peter R3 GIS Srl - GmbH http://www.r3-gis.com Umberto Nicoletti wrote Subject: Re: [mapserver-users] MapServer 6.0.0-beta2 release: problems building Java MapScript Date: 19.03.2011 09:59 >Try the attached patch and if it works I will commit the changes. >The Makefile.in for java mapscript is probaly missing other defines from >the >main Makefile, I'm looking into it right now. > >Regards, >Umberto > >On Sat, Mar 19, 2011 at 9:19 AM, Peter Hopfgartner < >peter.hopfgart...@r3-gis.com> wrote: > >> On CentOS 5.5: >> >> After running >> >> ./configure --with-gd --with-zlib --with-tiff --with-freetype >--with-gdal >> --with-ogr --with-geos --with-proj --with-sos --with-wfs --with-wcs >> --with-wmsclient --with-wfsclient --with-xpm --with-agg --with-cairo >> --with-postgis --with-curl-config --with-xml2-config --with-threads >> --enable-debug >> >> in mapscript/java/Makefile I've found the following, which causes some >> troubles afterwards: >> >> AGG= @AGG_ENABLED@ >> AGG_INC= -Irenderers/agg/include >> >> (...) >> PDF_INC= @PDF_INC@ >> PDF_LIB= @PDF_LIB@ >> PDF= @PDF_ENABLED@ >> >> >> I have the same situation with Ubuntu 10.04 on current SVN, as of now. >> >> Unfortunatly my autoconf skills are very low, so I not really know how >to >> provide a fix or better diagnosis. >> >> Peter >> >> R3 GIS Srl - GmbH >> http://www.r3-gis.com >> >> >> Daniel Morissette wrote >> Subject: [mapserver-users] MapServer 6.0.0-beta2 release >> Date: 18.03.2011 20:48 >> >> >Thanks to the hard work from everyone during the Montreal Code Sprint >> >this week (http://wiki.osgeo.org/wiki/Montreal_Code_Sprint_2011), the >> >MapServer Team is pleased to announce the release of MapServer >> >6.0.0-beta2. This is the latest beta on our way to a final 6.0 >release, >> >and includes a large number of fixes made during the Montreal Code >> >Sprint. >> > >> >The 6.0 release introduces important changes in key components of the >> >MapServer core (rendering, query and expressions), and for this reason >> >we count on you, MapServer power users, to help test the release in >your >> >respective environments and provide feedback (through the users list >or >> >Trac tickets). >> > >> >This is the second of four planned beta releases and if all goes well >a >> >final release should occur around the end of April. The full release >> >plan which also includes the list of new features and changes in this >> >release is available at: >> > >http://mapserver.org/trunk/development/release/release-plan-6.0.html >> > >> >The list of fixes since beta1 is attached at the end of this message. >> >For a complete list see the HISTORY.TXT file at: >> > >> > >> > >> >http://trac.osgeo.org/mapserver/browser/tags/rel-6-0-0-beta2/mapserver/HISTORY.TXT >> > >> >We have started working on a 5.6 -> 6.0 migration guide. This document >> >contains important notes on backwards incompatibilities or other >changes >> >required when upgrading to 6.0. It is not complete yet but we strongly >> >recommend that you review the latest version online at: >> > >> > http://mapserver.org/trunk/MIGRATION_GUIDE.html >> > >> >The source for this release can be downloaded at: >> > >> > http://mapserver.org/download.html >> >or >> > http://download.osgeo.org/mapserver/mapserver-6.0.0-beta2.tar.gz >> > >> >The binary distributions listed in the download page should be updated >> >with binaries for the new beta release in the next day or so. >> > >> >Once again we need your help to ensure a high quality product, so >please >> >help out by testing your applications with this new code base. >> > >> >Thanks! - The MapServer Team >> > >> > >> >Version 6.0.0-beta2 (2011-03-18) >> > >> > >> >- correct scaling of symbol GAP and PATTERN (#3752) >> > >> >- remove references to SWF/MING >> > >> >- CGI runtime substitution requires a validation pattern (was optional >> > before) (#3522) >> > >> >- add a default png8 outputformat that uses AGG/PNG with quantization >> > >> >- change MS_INIT_COLOR to take alpha as a parameter >> >
RE: [mapserver-users] MapServer 6.0.0-beta2 release: problems building Java MapScript
On CentOS 5.5: After running ./configure --with-gd --with-zlib --with-tiff --with-freetype --with-gdal --with-ogr --with-geos --with-proj --with-sos --with-wfs --with-wcs --with-wmsclient --with-wfsclient --with-xpm --with-agg --with-cairo --with-postgis --with-curl-config --with-xml2-config --with-threads --enable-debug in mapscript/java/Makefile I've found the following, which causes some troubles afterwards: AGG= @AGG_ENABLED@ AGG_INC= -Irenderers/agg/include (...) PDF_INC= @PDF_INC@ PDF_LIB= @PDF_LIB@ PDF= @PDF_ENABLED@ I have the same situation with Ubuntu 10.04 on current SVN, as of now. Unfortunatly my autoconf skills are very low, so I not really know how to provide a fix or better diagnosis. Peter R3 GIS Srl - GmbH http://www.r3-gis.com Daniel Morissette wrote Subject: [mapserver-users] MapServer 6.0.0-beta2 release Date: 18.03.2011 20:48 >Thanks to the hard work from everyone during the Montreal Code Sprint >this week (http://wiki.osgeo.org/wiki/Montreal_Code_Sprint_2011), the >MapServer Team is pleased to announce the release of MapServer >6.0.0-beta2. This is the latest beta on our way to a final 6.0 release, >and includes a large number of fixes made during the Montreal Code >Sprint. > >The 6.0 release introduces important changes in key components of the >MapServer core (rendering, query and expressions), and for this reason >we count on you, MapServer power users, to help test the release in your >respective environments and provide feedback (through the users list or >Trac tickets). > >This is the second of four planned beta releases and if all goes well a >final release should occur around the end of April. The full release >plan which also includes the list of new features and changes in this >release is available at: > http://mapserver.org/trunk/development/release/release-plan-6.0.html > >The list of fixes since beta1 is attached at the end of this message. >For a complete list see the HISTORY.TXT file at: > > >http://trac.osgeo.org/mapserver/browser/tags/rel-6-0-0-beta2/mapserver/HISTORY.TXT > >We have started working on a 5.6 -> 6.0 migration guide. This document >contains important notes on backwards incompatibilities or other changes >required when upgrading to 6.0. It is not complete yet but we strongly >recommend that you review the latest version online at: > > http://mapserver.org/trunk/MIGRATION_GUIDE.html > >The source for this release can be downloaded at: > > http://mapserver.org/download.html >or > http://download.osgeo.org/mapserver/mapserver-6.0.0-beta2.tar.gz > >The binary distributions listed in the download page should be updated >with binaries for the new beta release in the next day or so. > >Once again we need your help to ensure a high quality product, so please >help out by testing your applications with this new code base. > >Thanks! - The MapServer Team > > >Version 6.0.0-beta2 (2011-03-18) > > >- correct scaling of symbol GAP and PATTERN (#3752) > >- remove references to SWF/MING > >- CGI runtime substitution requires a validation pattern (was optional > before) (#3522) > >- add a default png8 outputformat that uses AGG/PNG with quantization > >- change MS_INIT_COLOR to take alpha as a parameter > >- stop using style->opacity in rendering code, use alpha from colorObjs. > >- Fixed big Oracle memory leak when rendering in KML (#3719) > >- avoid linking in postgres dependencies unnecessarily (#3708) > >- don't initialize outputformats until they are selected > >- use "seamless" creation of tiles for polygon fills with vector symbols > >- Ability to escape single/double quotes inside a string (#3706) > >- Globally replace msCaseFindSubstring with strcasestr (#3255) > >- support GROUP layers in shp2img (#3746) > >- Honour MAXSIZE for WCS 2.0 responses (#3204). > >- fallback to ows_title for WCS ows:Title of CoverageDescription (#3528) > >- Added msIO_stripStdoutBufferContentHeaders() to strip off all > Content-* headers from a buffer (#3673, #3665). > >- Added raster classification support for STYLE level OPACITY. > >- Allow attribute references, that is [itemname], within a TEXT string >(#3736) > >- Fixed segmentation fault when parsing invalid extent arguments in > shp2img (#3734) > >- Make "openlayers mode" work even without OWS support (#3732) > >- Add a static table to define the axis order for soem epsg codes (#3582) > >- Add possibility to use KML_NAME_ITEM (#3728) > >- Fixed mapfile parsing error when a label angle referenced an attribute > (e.g. ANGLE [angle]) #3727 > >- Removed executable flag on some source files (#3726) > >- Fixed SQL Spatial to be able to use UniqueIdentifier field as unique > key (#3722) > >- Fix PHP Windows build (#3714) > >- Fixed --with-opengl build issue: Look for OpenGL libs under /usr/lib64 >as > well (#3724) > >___ >mapserver-users mailing list >mapserver-users@
RE: Re: [mapserver-users] MapServer 6.0.0-beta1 release - Please test!
Hi Daniel Daniel Morissette wrote Subject: Re: [mapserver-users] MapServer 6.0.0-beta1 release - Please test! Date: 10.03.2011 20:05 >Hi Peter, > >It is quite likely that you are using a SWIG version newer than 1.3.36. > CentOS comes with swig 1.3.29, which, I guess, is not recent enough. I tried to skip "make interface", but swig is run even without this. How can I avoid that swig regenerates the wrappers? Anyway, having a closer look, it seems more that CCFLAGS was not build correctly, since it contains things like "@AGG_ENABLED@ @PDF_ENABLED@" which leads to the errors: gcc: @AGG_ENABLED@: No such file or directory gcc: @PDF_ENABLED@: No such file or directory gcc: @PDF_INC@: No such file or directory The others are just warnings. >The Java SWIG wrappers work best with SWIG 1.3.36. The MapServer source >package already contains SWIG wrappers generated using SWIG 1.3.36 so >you could use that, or if you must regenerate them then I'd suggest that >you try with SWIG 1.3.36. > >Daniel > Peter R3 GIS Srl - GmbH http://www.r3-gis.com > >On 11-03-10 02:02 PM, Peter Hopfgartner wrote: >> While trying to build the package for CentOS 5.6, I stumble on Java >support: >> >> + cd ../java >> + JAVA_HOME=/usr/lib/jvm/java-1.6.0 >> + make interface >> mkdir -p edu/umn/gis/mapscript >> swig -java -package edu.umn.gis.mapscript -outdir edu/umn/gis/mapscript >-o mapscript_wrap.c ../mapscript.i >> + JAVA_HOME=/usr/lib/jvm/java-1.6.0 >> + make >> javac edu/umn/gis/mapscript/*.java >> gcc -fpic -c -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions >-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC >-Wall -DHAVE_VSNPRINTF -DNEED_STRLCPY -DNEED_STRLCAT -DNEED_STRRSTR >-DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -DUSE_WFS_SVR -DUSE_WFS_LYR >-DUSE_WCS_SVR -DUSE_SOS_SVR -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG >-DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_FTEX_XSHOW >-DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS >-DGD_HAS_GET_TRUE_COLOR_PIXEL @AGG_ENABLED@ @PDF_ENABLED@ -DUSE_OGR >-DUSE_GDAL -DUSE_GEOS -DUSE_ICONV -DUSE_POSTGIS >-DPOSTGIS_HAS_SERVER_VERSION -DUSE_MYGIS -DUSE_THREAD -I/usr/include >-Irenderers/agg/include @PDF_INC@ -I/usr/include/php/ext/ereg/ >-I/usr/include/gdal -I/usr/include -I/usr/include/mysql -g -pipe >-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector >--param=ssp-buffer-size=4 -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 >-D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv-I/usr/include >-I/usr/include/libxml2 -I/usr/l >ib/jvm/java-1.6.0/include -I/usr/lib/jvm/java-1.6.0/include/linux >-fno-strict-aliasing mapscript_wrap.c >> gcc: @AGG_ENABLED@: No such file or directory >> gcc: @PDF_ENABLED@: No such file or directory >> gcc: @PDF_INC@: No such file or directory >> mapscript_wrap.c: In function 'new_imageObj': >> mapscript_wrap.c:2746: warning: passing argument 1 of >'renderer->loadImageFromFile' discards qualifiers from pointer target type >> mapscript_wrap.c: In function >'Java_edu_umn_gis_mapscript_mapscriptJNI_imageObj_1getBytes': >> mapscript_wrap.c:29157: warning: pointer targets in passing argument 2 >of 'SWIG_JavaArrayOutSchar' differ in signedness >> mapscript_wrap.c: In function >'Java_edu_umn_gis_mapscript_mapscriptJNI_msIO_1getStdoutBufferBytes': >> mapscript_wrap.c:43772: warning: pointer targets in passing argument 2 >of 'SWIG_JavaArrayOutSchar' differ in signedness >> make: *** [mapscript_so] Error 1 >> error: Bad exit status from /home/rpmbuild/rpmbuild/tmp/rpm-tmp.49448 >(%build) >> >> >> RPM build errors: >> Bad exit status from /home/rpmbuild/rpmbuild/tmp/rpm-tmp.49448 >(%build) >> [rpmbuild@rpm-devel ~]$ >> >> Regards, >> >> Peter >> >> R3 GIS Srl - GmbH >> http://www.r3-gis.com >> >> >> Daniel Morissette wrote >> Subject: [mapserver-users] MapServer 6.0.0-beta1 release - Please test! >> Date: 10.03.2011 03:48 >> >>> The MapServer Team is pleased to announce the release of MapServer >>> 6.0.0-beta1. This is the first beta on our way to a final 6.0 release. >>> >>> This new release introduces important changes in key components of the >>> MapServer core (rendering, query and expressions), and for this reason >>> we count on you, MapServer power users, to help test the release in >your >>> respective environments and provide feedback (through the users list >or >>> Trac tickets). >> (...) >>> >>> Thanks! - The MapServer Team >>>
RE: [mapserver-users] MapServer 6.0.0-beta1 release - Please test!
The spec file for MapServer has the following code: chmod -x tests/home.png chmod -x mapscript/php/php_mapscript.c chmod -x mappluginlayer.c chmod -x mapscript/php/mapscript_i.c chmod -x mapscript/php/examples/test_writeshape.phtml chmod -x mapscript/python/examples/*.py chmod -x mapscript/python/tests/rundoctests.dist chmod -x mapscript/perl/examples/*.pl chmod -x mapscript/php/README (...) iconv -f ISO-8859-1 -t UTF-8 < \ mapscript/java/examples/QueryByAttributeUnicode.java > \ mapscript/java/examples/QueryByAttributeUnicode-tmp.java mv -f mapscript/java/examples/QueryByAttributeUnicode-tmp.java \ mapscript/java/examples/QueryByAttributeUnicode.java Could these issues be fixed upstream? Regards, Peter R3 GIS Srl - GmbH http://www.r3-gis.com Daniel Morissette wrote Subject: [mapserver-users] MapServer 6.0.0-beta1 release - Please test! Date: 10.03.2011 03:48 >The MapServer Team is pleased to announce the release of MapServer >6.0.0-beta1. This is the first beta on our way to a final 6.0 release. > >This new release introduces important changes in key components of the >MapServer core (rendering, query and expressions), and for this reason >we count on you, MapServer power users, to help test the release in your >respective environments and provide feedback (through the users list or >Trac tickets). > >The timing and feedback for this first beta is very important since it >comes one week before the Montreal Code Sprint where about a dozen >participants will be working specifically on MapServer and will have a >chance to tackle important 6.0 issues that may be found and reported. > >Here is a quick list of RFCs documenting some of the new features or >important changes in 6.0. This list is not complete, we will update it >as we polish the release documentation: > >Core Changes in MapServer 6.0 which could affect existing applications: > >* MS RFC 54: Rendering Interface API >* MS RFC 64: MapServer Expression Parser Overhaul >* MS RFC 65: Single-pass Query Changes for 6.0 > >New Features and Enhancements in MapServer 6.0: > >* MS RFC 58: Kml Output >* MS RFC 60: Labeling enhancement: ability to skip ANGLE FOLLOW labels >with too much character overlap >* MS RFC 61: Enhance MapServer Feature Style Support >* MS RFC 62: Support Additional WFS GetFeature Output Formats >* MS RFC 63: Built-in OpenLayers map viewer >* MS RFC 66: Better handling of temporary files >* MS RFC 67: Enable/Disable Layers in OGC Web Services >* MS RFC 68: Support for combining features from multiple layers >* MS RFC 69: Support for clustering of features in point layers > >(RFCs are available online at http://mapserver.org/development/rfc/) > >As usual there an a large number of additional small enhancements and >bug fixes. For a complete list see the HISTORY.TXT file at: > > >http://svn.osgeo.org/mapserver/tags/rel-6-0-0-beta1/mapserver/HISTORY.TXT > >We have started working on a 5.6 -> 6.0 migration guide. This document >contains important notes on backwards incompatibilities or other changes >required when upgrading to 6.0. It is not complete yet but we strongly >recommend that you review the latest version online at: > >http://trac.osgeo.org/mapserver/browser/trunk/mapserver/MIGRATION_GUIDE.TXT > >The source for this release can be downloaded at: > > http://mapserver.org/download.html >or > http://download.osgeo.org/mapserver/mapserver-6.0.0-beta1.tar.gz > >The binary distributions listed in the download page should be updated >with binaries for the new 6.0.0-beta1 release in the next day or so. > > >This is the first of four planned beta releases and if all goes well a >final release should occur around the end of April. The full release >plan can be viewed at: > > http://trac.osgeo.org/mapserver/wiki/60ReleasePlan > >Once again we need your help to ensure a high quality product, >especially for this beta due to its timing with next week's Code Sprint, >so please help out by testing your applications with this new code base. > >Thanks! - The MapServer Team >___ >mapserver-users mailing list >mapserver-users@lists.osgeo.org >http://lists.osgeo.org/mailman/listinfo/mapserver-users > ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
RE: [mapserver-users] MapServer 6.0.0-beta1 release - Please test!
While trying to build the package for CentOS 5.6, I stumble on Java support: + cd ../java + JAVA_HOME=/usr/lib/jvm/java-1.6.0 + make interface mkdir -p edu/umn/gis/mapscript swig -java -package edu.umn.gis.mapscript -outdir edu/umn/gis/mapscript -o mapscript_wrap.c ../mapscript.i + JAVA_HOME=/usr/lib/jvm/java-1.6.0 + make javac edu/umn/gis/mapscript/*.java gcc -fpic -c -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -Wall -DHAVE_VSNPRINTF -DNEED_STRLCPY -DNEED_STRLCAT -DNEED_STRRSTR -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_SOS_SVR -DUSE_JPEG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS -DGD_HAS_GET_TRUE_COLOR_PIXEL @AGG_ENABLED@ @PDF_ENABLED@ -DUSE_OGR -DUSE_GDAL -DUSE_GEOS -DUSE_ICONV -DUSE_POSTGIS -DPOSTGIS_HAS_SERVER_VERSION -DUSE_MYGIS -DUSE_THREAD -I/usr/include -Irenderers/agg/include @PDF_INC@ -I/usr/include/php/ext/ereg/ -I/usr/include/gdal -I/usr/include -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv-I/usr/include -I/usr/include/libxml2 -I/usr/lib/jvm/java-1.6.0/include -I/usr/lib/jvm/java-1.6.0/include/linux -fno-strict-aliasing mapscript_wrap.c gcc: @AGG_ENABLED@: No such file or directory gcc: @PDF_ENABLED@: No such file or directory gcc: @PDF_INC@: No such file or directory mapscript_wrap.c: In function 'new_imageObj': mapscript_wrap.c:2746: warning: passing argument 1 of 'renderer->loadImageFromFile' discards qualifiers from pointer target type mapscript_wrap.c: In function 'Java_edu_umn_gis_mapscript_mapscriptJNI_imageObj_1getBytes': mapscript_wrap.c:29157: warning: pointer targets in passing argument 2 of 'SWIG_JavaArrayOutSchar' differ in signedness mapscript_wrap.c: In function 'Java_edu_umn_gis_mapscript_mapscriptJNI_msIO_1getStdoutBufferBytes': mapscript_wrap.c:43772: warning: pointer targets in passing argument 2 of 'SWIG_JavaArrayOutSchar' differ in signedness make: *** [mapscript_so] Error 1 error: Bad exit status from /home/rpmbuild/rpmbuild/tmp/rpm-tmp.49448 (%build) RPM build errors: Bad exit status from /home/rpmbuild/rpmbuild/tmp/rpm-tmp.49448 (%build) [rpmbuild@rpm-devel ~]$ Regards, Peter R3 GIS Srl - GmbH http://www.r3-gis.com Daniel Morissette wrote Subject: [mapserver-users] MapServer 6.0.0-beta1 release - Please test! Date: 10.03.2011 03:48 >The MapServer Team is pleased to announce the release of MapServer >6.0.0-beta1. This is the first beta on our way to a final 6.0 release. > >This new release introduces important changes in key components of the >MapServer core (rendering, query and expressions), and for this reason >we count on you, MapServer power users, to help test the release in your >respective environments and provide feedback (through the users list or >Trac tickets). (...) > >Thanks! - The MapServer Team >___ >mapserver-users mailing list >mapserver-users@lists.osgeo.org >http://lists.osgeo.org/mailman/listinfo/mapserver-users > ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
RE: Re: [mapserver-users] Using Proj.4 from PHP MapScript
This seems to work. Thank you! Peter Hopfgartner R3 GIS Srl - GmbH http://www.r3-gis.com Jeff McKenna wrote Subject: Re: [mapserver-users] Using Proj.4 from PHP MapScript Date: 03.12.2010 19:38 >On 10-12-03 1:55 PM, Peter Hopfgartner wrote: >> In some elder posts i've found some reference to a PHP binding for >Proj.4, >http://stackoverflow.com/questions/1939837/gis-spatial-functions-in-php, >which seems it was included with MapServer. >> Anyway, if I have something like: >> >> > $projarray[0] = "proj=lcc"; >>$projarray[1] = "ellps=GRS80"; >>$projarray[2] = "lat_0=49"; >>$projarray[3] = "lon_0=-95"; >>$projarray[4] = "lat_1=49"; >>$projarray[5] = "lat_2=77"; >> >>$pj = pj_init($projarray); >> ?> >> >> I get >> PHP Fatal error: Call to undefined function pj_init() in >/data/sites/test/proj.php on line 9 >> >> MapServer is version 5.6.5 from >http://wiki.osgeo.org/wiki/Enterprise_Linux_GIS, PHP MapScript is >installed and included as a module. >> > >Hello, > >I'll be honest, I don't use these PHP/Proj bindings...but a quick search >of the email archives returns instructions on how to compile this >support: >http://www.osgeo.org/pipermail/mapserver-users/2002-July/036165.html > >Others may have more uptodate advice for you. > >-jeff > > > >-- >Jeff McKenna >MapServer Consulting and Training Services >http://www.gatewaygeomatics.com/ > > >___ >mapserver-users mailing list >mapserver-users@lists.osgeo.org >http://lists.osgeo.org/mailman/listinfo/mapserver-users > ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Using Proj.4 from PHP MapScript
In some elder posts i've found some reference to a PHP binding for Proj.4, http://stackoverflow.com/questions/1939837/gis-spatial-functions-in-php, which seems it was included with MapServer. Anyway, if I have something like: I get PHP Fatal error: Call to undefined function pj_init() in /data/sites/test/proj.php on line 9 MapServer is version 5.6.5 from http://wiki.osgeo.org/wiki/Enterprise_Linux_GIS, PHP MapScript is installed and included as a module. Regards, Peter R3 GIS Srl - GmbH http://www.r3-gis.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
RE: Re: [mapserver-users] OWSRequest->postrequest in PHP MapScript
Are you using PHP in CGI mode? loadparams() might not work with 5.6 when PHP is used as an Apache module. Peter Hopfgartner R3 GIS Srl - GmbH http://www.r3-gis.com Alan Boudreault wrote Subject: Re: [mapserver-users] OWSRequest->postrequest in PHP MapScript Date: 30.11.2010 17:44 >Well, not sure what's wrong with my test case... but I'm just unable to >get >the loadparams() method working in MapServer 5.4.2/5.6.5. It seems to >crash >without any exception. I see nothing in my debug file neither. The http >request returns no data. > >Everything works like a charm using MapServer-dev, GET params and POST >params. > >Alan > >On November 30, 2010 11:02:00 am Peter Hopfgartner wrote: >> Thanks! >> >> Peter Hopfgartner >> >> R3 GIS Srl - GmbH >> http://www.r3-gis.com >> >> >> Alan Boudreault wrote >> Subject: Re: [mapserver-users] OWSRequest->postrequest in PHP MapScript >> Date: 30.11.2010 16:10 >> >> >Well, I may be wrong... the php code and the cgiutil code have been >> >modified.. >> >let me give it a try today and will get back to you. >> > >> >Alan >> > >> >On November 30, 2010 10:01:30 am Alan Boudreault wrote: >> >> Peter, >> >> >> >> By the current PHP MapScript, I assume you mean MapServer 5.6.5. >> >> Unfortunately, I doubt it will work in that version. However, the >> >> OWSRequest- >> >> >> >> >loadParams method supports post parameters in MS-dev. It will be >> > >> >available >> > >> >> >in >> >> >> >> MS 6.0. >> >> >> >> Alan >> >> >> >> On November 30, 2010 09:03:07 am Peter Hopfgartner wrote: >> >> > Is OWSRequest->postrequest implemented in the current PHP >MapScript? >> > >> >Is >> > >> >> > it available only for CGI? We would like to use a wrapper for >> > >> >handling >> > >> >> > WFS request and we would like to pass the POST data to MapServer >> > >> >without >> > >> >> > the need to slice the XML into single setParameters() calls. >> >> > >> >> > Regards, >> >> > >> >> > Peter Hopfgartner >> >> > >> >> > R3 GIS Srl - GmbH >> >> > http://www.r3-gis.com >> >> > >> >> > >> >> > ___ >> >> > mapserver-users mailing list >> >> > mapserver-users@lists.osgeo.org >> >> > http://lists.osgeo.org/mailman/listinfo/mapserver-users > >-- >Alan Boudreault >Mapgears >http://www.mapgears.com > ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
RE: Re: [mapserver-users] OWSRequest->postrequest in PHP MapScript
Thanks! Peter Hopfgartner R3 GIS Srl - GmbH http://www.r3-gis.com Alan Boudreault wrote Subject: Re: [mapserver-users] OWSRequest->postrequest in PHP MapScript Date: 30.11.2010 16:10 >Well, I may be wrong... the php code and the cgiutil code have been >modified.. >let me give it a try today and will get back to you. > >Alan > >On November 30, 2010 10:01:30 am Alan Boudreault wrote: >> Peter, >> >> By the current PHP MapScript, I assume you mean MapServer 5.6.5. >> Unfortunately, I doubt it will work in that version. However, the >> OWSRequest- >> >> >loadParams method supports post parameters in MS-dev. It will be >available >> >in >> >> MS 6.0. >> >> Alan >> >> On November 30, 2010 09:03:07 am Peter Hopfgartner wrote: >> > Is OWSRequest->postrequest implemented in the current PHP MapScript? >Is >> > it available only for CGI? We would like to use a wrapper for >handling >> > WFS request and we would like to pass the POST data to MapServer >without >> > the need to slice the XML into single setParameters() calls. >> > >> > Regards, >> > >> > Peter Hopfgartner >> > >> > R3 GIS Srl - GmbH >> > http://www.r3-gis.com >> > >> > >> > ___ >> > mapserver-users mailing list >> > mapserver-users@lists.osgeo.org >> > http://lists.osgeo.org/mailman/listinfo/mapserver-users > >-- >Alan Boudreault >Mapgears >http://www.mapgears.com > ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] OWSRequest->postrequest in PHP MapScript
Is OWSRequest->postrequest implemented in the current PHP MapScript? Is it available only for CGI? We would like to use a wrapper for handling WFS request and we would like to pass the POST data to MapServer without the need to slice the XML into single setParameters() calls. Regards, Peter Hopfgartner R3 GIS Srl - GmbH http://www.r3-gis.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
RE: [mapserver-users] Working with shapefiles in PHP
XING : http://www.xing.com/go/invita/8917535 Peter wrote Subject: [mapserver-users] Working with shapefiles in PHP Date: 25.08.2010 02:51 Hi Peter >Regarding my previous query regarding tools to work with shapefiles in >PHP, ive written a progress report, that might be useful to other passing >PHP GIS newcomers. > >http://www.webspaces.net.nz/page.php?view=working_with_shapefiles > Did you have a look at the shapelib bindings at http://pecl.php.net/package/shape ? >Thanks to everyone for all the great help, you all have been awesome. >When ive done the evaluations of Mapserver and Mapnik, ill add to it. > >Regards > >Peter >___ >mapserver-users mailing list >mapserver-users@lists.osgeo.org >http://lists.osgeo.org/mailman/listinfo/mapserver-users > Peter, too ner R3 GIS Srl - GmbH Via Johann Kravogl-Str. 2 I-39012 Meran/Merano (BZ) E-Mail: peter.hopfgart...@r3-gis.com Tel. : +39 0473 494949 Fax : +39 0473 069902 www : http://www.r3-gis.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
RE: [mapserver-users] Compiling on CentOS 5
On Sun, 2010-06-06 at 13:30 -0400, Worth Lutz wrote: > > Gerry, > > I would be interested in your findings. I am trying to install > mapserver/mapscript on RHEL 5 but have not found current rpms for MapServer. > > I'm not much on linux but did get the FGS version working. I was wondering > what your experience was and where you found the packages to get your system > up and running. > > Thanks, > Worth > > Hi Worth, there are current RPMs referenced at http://wiki.osgeo.org/wiki/Enterprise_Linux_GIS You can follow the RPM packaging of various Open Source GIS packages at http://lists.osgeo.org/mailman/listinfo/el, the list is very low traffic. Peter > > -Original Message- > From: mapserver-users-boun...@lists.osgeo.org > [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Gerry Creager > Sent: Tuesday, May 25, 2010 12:46 PM > To: Jeff McKenna > Cc: MAPSERVER-USERS > Subject: Re: [mapserver-users] Compiling on CentOS 5 > > Thanks, Jeff: More in-line, below... > > On 5/25/10 7:29 AM, Jeff McKenna wrote: > > Gerald Creager wrote: > >> I'm having to reinstall Mapserver after some significant hardware > >> issues. I was perusing the documentation and find several explicit > >> entries for installing on Windows. > >> > >> For Linux, there's the suggestion to use FGS (used it before, isn't > >> latest version, but will probably work), or Debian. Sorry, guys, > >> ubuntu is a debian variant, so while it's nice that there's GIS > >> systems for debian, they are, to my mind, the same. > >> > >> My question: Where's the information on dependencies to compile and > >> use Mapserver? If they reside in the pdf documentation, I've tried to > >> snag it, and the pdf appears damaged: unreadable in eVince or Acrobat > >> reader. > >> > >> Looking for suggestions on how I might proceed. > >> > > > > Gerry, > > > > Here are some of my comments: > > > > - FGS version 9.5 contains MapServer 5.6.3 (the latest MapServer > > release), I use it often and recommend it > > The wiki link to FGS needs to be updated. When I followed the link, it > was for 5.4, which I can use, but since we crashed so much, I wanted to > go ahead and get current. > > > - documentation for compiling MapServer on Unix systems is found at: > > http://www.mapserver.org/installation/unix.html > > I just *knew* it had to be around somewhere. However the PDF link > produced a bad download several times for the Mapserver docs... That > might bear looking into. I tried it at home, even using several methods > to download it, and two readers to look at the results, then, last > night, I tried again from home and still failed. Is Mapserver allergic > to Texans, perhaps? > > In the end, I fell back to what I thought I remembered from years past, > and that (surprisingly) worked. It was a bit more work than having the > instructions in front of you, but it's good to know I could still do it. > > > - if you feel like giving back to the community, as you travel down the > > compilation path you could record your steps in the MapServer wiki, so > > others can learn from your steps: http://trac.osgeo.org/mapserver/ > > I'll try to get started on that today. It's been awhile since I've > contributed anything save moral support to the community, so it's time I > did some good. > > gerry -- Dott. Peter Hopfgartner R3 GIS Srl - GmbH Via Johann Kravogl-Str. 2 I-39012 Meran/Merano (BZ) Email: peter.hopfgart...@r3-gis.com Tel. : +39 0473 494949 Fax : +39 0473 069902 www : http://www.r3-gis.com XING : http://www.xing.com/go/invita/8917535 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Compiling on CentOS 5
On Mon, 2010-05-24 at 16:08 -0500, Gerald Creager wrote: > I'm having to reinstall Mapserver after some significant hardware > issues. I was perusing the documentation and find several explicit > entries for installing on Windows. > > For Linux, there's the suggestion to use FGS (used it before, isn't > latest version, but will probably work), or Debian. Sorry, guys, ubuntu > is a debian variant, so while it's nice that there's GIS systems for > debian, they are, to my mind, the same. > > My question: Where's the information on dependencies to compile and use > Mapserver? If they reside in the pdf documentation, I've tried to snag > it, and the pdf appears damaged: unreadable in eVince or Acrobat reader. > Usually I take the the current Fedora source packages and recompile them. If you are comfortable recompiling rpm source packages, then this may give you what you need. The hardest one, IMHO, is gdal. > Looking for suggestions on how I might proceed. > > Thanks, Gerry Peter -- Dott. Peter Hopfgartner R3 GIS Srl - GmbH Via Johann Kravogl-Str. 2 I-39012 Meran/Merano (BZ) Email: peter.hopfgart...@r3-gis.com Tel. : +39 0473 494949 Fax : +39 0473 069902 www : http://www.r3-gis.com XING : http://www.xing.com/go/invita/8917535 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] red hat packages?
On Fri, 2010-05-14 at 20:54 -0400, Worth Lutz wrote: > Hi all, > > > Hi Worth > () > > I have found out the following about the system: > > > > RedHat release > > cat /etc/redhat-release > > Red Hat Enterprise Linux Server release 5.4 (Tikanga) > > > > RedHat kernel version and type > >uname -a > >Linux 2.6.18-164.9.1.el5 #1 SMP Wed Dec 9 03:27:37 EST 2009 x86_64 > x86_64 x86_64 GNU/Linux > > You may try EPEL at http://fedoraproject.org/wiki/EPEL . Versions are not the most recent, but they are a good starting point. > Worth Lutz > > Peter > ___ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Dott. Peter Hopfgartner R3 GIS Srl - GmbH Via Johann Kravogl-Str. 2 I-39012 Meran/Merano (BZ) Email: peter.hopfgart...@r3-gis.com Tel. : +39 0473 494949 Fax : +39 0473 069902 www : http://www.r3-gis.com XING : http://www.xing.com/go/invita/8917535 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
RE: Re: [mapserver-users] Testing KML support
Hi Yewondwossen, compilation fails on CentOS (GCC 4.1.2): g++ -O2 -fPIC -Wall -DHAVE_VSNPRINTF -DNEED_STRLCAT -DNEED_STRRSTR -DUSE_CAIRO -DUSE_KML-DUSE_LIBXML2-DUSE_WMS_SVR-DUSE_POSTGIS -DPOSTGIS_HAS_SERVER_VERSION -DUSE_JPEG -DUSE_PROJ -DUSE_AGG -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS -DGD_HAS_GET_TRUE_COLOR_PIXEL -DUSE_ICONV -DUSE_ZLIB -I/usr/include -I/usr/include/freetype2 -Irenderers/agg/include -I/usr/include -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -c -o mapkmlrenderer.o mapkmlrenderer.cpp mapkmlrenderer.h: In constructor KmlRenderer::KmlRenderer(int, int, colorObj*): mapkmlrenderer.h:60: warning: KmlRenderer::GroundOverlayNode will be initialized after mapkmlrenderer.h:50: warning: int KmlRenderer::Width mapkmlrenderer.cpp:38: warning: when initialized here mapkmlrenderer.h:93: warning: KmlRenderer::FirstLayer will be initialized after mapkmlrenderer.h:88: warning: outputFormatObj* KmlRenderer::RasterizerOutputFormat mapkmlrenderer.cpp:38: warning: when initialized here mapkmlrenderer.h:103: warning: KmlRenderer::RasterMode will be initialized after mapkmlrenderer.h:52: warning: double KmlRenderer::MapCellsize mapkmlrenderer.cpp:38: warning: when initialized here mapkmlrenderer.cpp: In member function void KmlRenderer::closeNewLayer(imageObj*, layerObj*): mapkmlrenderer.cpp:375: error: invalid conversion from const char* to char* mapkmlrenderer.cpp:375: error: initializing argument 2 of char* msStringConcatenate(char*, char*) mapkmlrenderer.cpp: In member function xmlNode* KmlRenderer::createPlacemarkNode(xmlNode*, char*): mapkmlrenderer.cpp:463: warning: format %d expects type int, but argument 3 has type long int make: *** [mapkmlrenderer.o] Error 1 I've "fixed" this (adding simply a cast, I'm not sure that this is the correct approach): --- mapkmlrenderer.cpp (revision 10149) +++ mapkmlrenderer.cpp (working copy) @@ -372,7 +372,7 @@ tmpUrl = strdup( img->imageurl); tmpUrl = msStringConcatenate(tmpUrl, (char *)(msGetBasename(tmpFileName))); tmpUrl = msStringConcatenate(tmpUrl, "."); -tmpUrl = msStringConcatenate(tmpUrl, MS_IMAGE_EXTENSION(RasterizerOutputFormat)); +tmpUrl = msStringConcatenate(tmpUrl, (char *)MS_IMAGE_EXTENSION(RasterizerOutputFormat)); createGroundOverlayNode(LayerNode, tmpUrl, layer); msFree(tmpFileName); and now KML is in the output list. Running it over a simple test map file KML is produced, seems to produce reasonable results. Regards Peter Yewondwossen Assefa wrote Subject: Re: [mapserver-users] Testing KML support Date: 07.05.2010 23:02 > >Hi Peter, > >There is supposed to be --with-kml. >I have added the OUTPUT=KML if built with the flag. >Note that the driver is still in development/cleanup state. I will >update the RFC (http://mapserver.org/development/rfc/ms-rfc-58.html) >once this phase is over. > >regards, > >On 07/05/2010 12:23 PM, Peter Hopfgartner wrote: >> Hi, >> >> I'm would like to look at the KML functionality in the current >MapServer >> trunk. >> >> There does not seem to be any specific option in configure, so I >enabled >> it by setting the environment variable CPPFLAGS: >> >> $ export CPPFLAGS=-DUSE_KML >> $ ./configure --with-proj --with-postgis --with-cairovim >> --with-xml2-config=/usr/bin/xml2-config >> $ make >> > >> The resulting shp2img has a lot of Kml-related symbols in it: >> >> $ nm shp2img | grep -i kml | wc -l >> 71 >> >> Anyway, KML does not seem to be oin the OUTPUT formats list: >> >> [peter.hopfgart...@vm-centos5-64-1 mapserver]$ ./shp2img -v >> MapServer version 5.7-dev OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP >> OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV >> SUPPORTS=WMS_SERVER INPUT=JPEG INPUT=POSTGIS INPUT=SHAPEFILE >> >> Indeed, trying to produce some KML from a map file, I get: >> >> $ /usr/local/bin/shp2img -i KML -m kml_test.map> test.kml >> loadOutputFormat(): General error message. OUTPUTFORMAT clause >> references driver KML, but this driver isn't configured. >> >> Am I missing something? >> >> Regards, >> >> Peter >> >> > > >-- > >Assefa Yewondwossen >Software Analyst > >Email: yass...@dmsolutions.ca >http://www.dmsolutions.ca/ > >Phone: (613) 565-5056 (ext 14) >Fax: (613) 565-0925 > > > > ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Testing KML support
Hi, I'm would like to look at the KML functionality in the current MapServer trunk. There does not seem to be any specific option in configure, so I enabled it by setting the environment variable CPPFLAGS: $ export CPPFLAGS=-DUSE_KML $ ./configure --with-proj --with-postgis --with-cairovim --with-xml2-config=/usr/bin/xml2-config $ make The resulting shp2img has a lot of Kml-related symbols in it: $ nm shp2img | grep -i kml | wc -l 71 Anyway, KML does not seem to be oin the OUTPUT formats list: [peter.hopfgart...@vm-centos5-64-1 mapserver]$ ./shp2img -v MapServer version 5.7-dev OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=WMS_SERVER INPUT=JPEG INPUT=POSTGIS INPUT=SHAPEFILE Indeed, trying to produce some KML from a map file, I get: $ /usr/local/bin/shp2img -i KML -m kml_test.map > test.kml loadOutputFormat(): General error message. OUTPUTFORMAT clause references driver KML, but this driver isn't configured. Am I missing something? Regards, Peter -- Dott. Peter Hopfgartner R3 GIS Srl - GmbH Via Johann Kravogl-Str. 2 I-39012 Meran/Merano (BZ) Email: peter.hopfgart...@r3-gis.com Tel. : +39 0473 494949 Fax : +39 0473 069902 www : http://www.r3-gis.com XING : http://www.xing.com/go/invita/8917535 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Oracle Spatial and MAXFEATURES, not implemented?
On Fri, 2010-05-07 at 10:03 -0400, Yewondwossen Assefa wrote: > This was done as part of the http://trac.osgeo.org/mapserver/ticket/2605 > and is only available in trunk right now (for the upcoming 6.0 release). > > regards, > Hello Yewondwossen. Thank you for the pointer! I've applied the diff http://trac.osgeo.org/mapserver/changeset/9593?format=diff&new=9593 to the 5.6.3 source and it works perfectly! Thank you and have a nice week end, Peter > On 07/05/2010 9:45 AM, Peter Hopfgartner wrote: > > I'm trying to limit the maximum number of features, as in the map file > > snippet below. > > > > MapServer is 5.6.3. > > > > Anyway, the number of features drawn is not limited, as expected, but > > thousands of shapes are processed. > > > > Indeed, enabling -all_debug 5, the query passed to Oracle looks like; > > > > --- > > msOracleSpatialLayerWhichShapes. Using this Sql to retrieve the data: > > SELECT pln_id, pln_id, the_geom FROM plant_data_map WHERE > > SDO_FILTER( the_geom, MDSYS.SDO_GEOMETRY(2003, :srid, > > NULL,MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,3),:ordinates ),'querytype=window') = > > 'TRUE' > > msOracleSpatialLayerWhichShapes. Bind values: srid:25832 > > minx:666798.076923 miny:5169400.00 maxx:667551.923077 > > maxy:517.00 > > --- > > > > Indeed, almost 15,000 shapes arrive: > > > > --- > > msOracleSpatialLayerNextShape on layer 0x101363e0, row_num: 14934 > > msOracleSpatialLayerNextShape on layer 0x101363e0, Fetched 0 more rows > > (14934 total) > > msOracleSpatialLayerFreeItemInfo was called. > > --- > > > > Peeking at the source in maporaclespatial.c, it seems that > > layer->maxfeatures is never read and no limitation, maybe looking like > > "ROWNUM<= layer->maxfeatures" is added to the SELECT statement. > > > > Regards, > > > > Peter > > > > > > > > > > MAPFILE SNIPPET: > > > > LAYER #16- > > GROUP "pflanzennr_black_12" > > NAME "Pflanzennr" > > STATUS ON > > TYPE POINT > > PROJECTION > > "init=epsg:25832" > > END > > CONNECTIONTYPE oraclespatial > > CONNECTION "{MYUSER}/{MYPASSWD}" > > DATA "the_geom from plant_data_map using unique pln_id srid > > 25832" > > PROCESSING "CLOSE_CONNECTION=DEFER" > > SIZEUNITS meters > > LABELITEM "pln_id" > > MAXFEATURES 20 > > TOLERANCE 1 > > POSTLABELCACHE TRUE > > CLASS > > NAME "label" > > LABEL > > TYPE TRUETYPE > > PARTIALS TRUE > > FONT "verdana" > > COLOR 0 0 0 > > OUTLINECOLOR 255 255 255 > > SIZE 6 > > MINSIZE 6 > > MAXSIZE 8 > > POSITION CR > > FORCE TRUE > > END > > END > > END > > > > > > > > > > > > -- Dott. Peter Hopfgartner R3 GIS Srl - GmbH Via Johann Kravogl-Str. 2 I-39012 Meran/Merano (BZ) Email: peter.hopfgart...@r3-gis.com Tel. : +39 0473 494949 Fax : +39 0473 069902 www : http://www.r3-gis.com XING : http://www.xing.com/go/invita/8917535 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Oracle Spatial and MAXFEATURES, not implemented?
I'm trying to limit the maximum number of features, as in the map file snippet below. MapServer is 5.6.3. Anyway, the number of features drawn is not limited, as expected, but thousands of shapes are processed. Indeed, enabling -all_debug 5, the query passed to Oracle looks like; --- msOracleSpatialLayerWhichShapes. Using this Sql to retrieve the data: SELECT pln_id, pln_id, the_geom FROM plant_data_map WHERE SDO_FILTER( the_geom, MDSYS.SDO_GEOMETRY(2003, :srid, NULL,MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,3),:ordinates ),'querytype=window') = 'TRUE' msOracleSpatialLayerWhichShapes. Bind values: srid:25832 minx:666798.076923 miny:5169400.00 maxx:667551.923077 maxy:517.00 --- Indeed, almost 15,000 shapes arrive: --- msOracleSpatialLayerNextShape on layer 0x101363e0, row_num: 14934 msOracleSpatialLayerNextShape on layer 0x101363e0, Fetched 0 more rows (14934 total) msOracleSpatialLayerFreeItemInfo was called. --- Peeking at the source in maporaclespatial.c, it seems that layer->maxfeatures is never read and no limitation, maybe looking like "ROWNUM <= layer->maxfeatures" is added to the SELECT statement. Regards, Peter MAPFILE SNIPPET: LAYER #16- GROUP "pflanzennr_black_12" NAME "Pflanzennr" STATUS ON TYPE POINT PROJECTION "init=epsg:25832" END CONNECTIONTYPE oraclespatial CONNECTION "{MYUSER}/{MYPASSWD}" DATA "the_geom from plant_data_map using unique pln_id srid 25832" PROCESSING "CLOSE_CONNECTION=DEFER" SIZEUNITS meters LABELITEM "pln_id" MAXFEATURES 20 TOLERANCE 1 POSTLABELCACHE TRUE CLASS NAME "label" LABEL TYPE TRUETYPE PARTIALS TRUE FONT "verdana" COLOR 0 0 0 OUTLINECOLOR 255 255 255 SIZE 6 MINSIZE 6 MAXSIZE 8 POSITION CR FORCE TRUE END END END -- Dott. Peter Hopfgartner R3 GIS Srl - GmbH Via Johann Kravogl-Str. 2 I-39012 Meran/Merano (BZ) Email: peter.hopfgart...@r3-gis.com Tel. : +39 0473 494949 Fax : +39 0473 069902 www : http://www.r3-gis.com XING : http://www.xing.com/go/invita/8917535 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] PHP MapScript: shape->classindex is always 0
Hi Josh, this is funny! I've hit this bug while working on a KML export, too. I've extracted a minimal test and it is attached to http://trac.osgeo.org/mapserver/ticket/3406. Regards, Peter Josh Hevenor wrote: I think I came across the same thing, or something related, when I was trying to generate KML using mapserver templates. I know I ended up recreating the class expression in my output instead of using the [shpclass] variable. Let me know if a bug is filed and I'll work up an example to submit. (mapserver 5.2) Josh Alan Boudreault wrote: Hi Peter, If you are sure that the shape use the different classes you specified in the mapfile (you probably see it in your map image), so I guess it could be a bug. Please fill a ticket with a test case. Assign it to "aboudreault". regards, Alan On March 24, 2010 06:38:49 am Peter Hopfgartner wrote: Hello As I interpreted this, classindex should point to the right class of the instantiated shape. Unfortunatly, classindex is always 0. As a test I have a LAYER with 2 classes, CLASS NAME 'class1' EXPRESSION (([class] eq 1)) STYLE SYMBOL "circle" SIZE 7.0 OUTLINECOLOR 0 0 0 COLOR 0 128 0 END END CLASS NAME 'class2' EXPRESSION (([class] eq 2)) STYLE SYMBOL "circle" SIZE 7.0 OUTLINECOLOR 0 0 0 COLOR 0 0 128 END END In the PostGIS database are 4 point, 2 with class=1 and 2 with class=2, the generated map image shows the expected colors. The following script: getLayerByName('test'); $status = $layer->open(); $status = $layer->whichShapes($map->extent); while ($shape = $layer->nextShape()) { echo "index: {$shape->index}\tclassindex: {$shape->classindex}\n"; } $layer->close(); ?> the following output: index: 0classindex: 0 index: 1classindex: 0 index: 2classindex: 0 index: 3classindex: 0 which is not what I expected. Am I missing something obvious or is this a MapServer bug? Regards, Peter No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.437 / Virus Database: 271.1.1/2769 - Release Date: 03/25/10 07:33:00 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Dott. Peter Hopfgartner R3 GIS Srl - GmbH Via Johann Kravogl-Str. 2 I-39012 Meran/Merano (BZ) Email: peter.hopfgart...@r3-gis.com Tel. : +39 0473 494949 Fax : +39 0473 069902 www : http://www.r3-gis.com XING : http://www.xing.com/go/invita/8917535 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] PHP MapScript: shape->classindex is always 0
Hi Alan Thynk you for your support! I've files http://trac.osgeo.org/mapserver/ticket/3406 and attached all files necessary to reproduce the problem. Due to the current slowness of the OsGeo the bug is filed twice, I've marked 3404 as a duplicate, sorry for the annoyance. Regards, Peter Alan Boudreault wrote: Hi Peter, If you are sure that the shape use the different classes you specified in the mapfile (you probably see it in your map image), so I guess it could be a bug. Please fill a ticket with a test case. Assign it to "aboudreault". regards, Alan On March 24, 2010 06:38:49 am Peter Hopfgartner wrote: Hello As I interpreted this, classindex should point to the right class of the instantiated shape. Unfortunatly, classindex is always 0. As a test I have a LAYER with 2 classes, CLASS NAME 'class1' EXPRESSION (([class] eq 1)) STYLE SYMBOL "circle" SIZE 7.0 OUTLINECOLOR 0 0 0 COLOR 0 128 0 END END CLASS NAME 'class2' EXPRESSION (([class] eq 2)) STYLE SYMBOL "circle" SIZE 7.0 OUTLINECOLOR 0 0 0 COLOR 0 0 128 END END In the PostGIS database are 4 point, 2 with class=1 and 2 with class=2, the generated map image shows the expected colors. The following script: getLayerByName('test'); $status = $layer->open(); $status = $layer->whichShapes($map->extent); while ($shape = $layer->nextShape()) { echo "index: {$shape->index}\tclassindex: {$shape->classindex}\n"; } $layer->close(); ?> the following output: index: 0classindex: 0 index: 1classindex: 0 index: 2classindex: 0 index: 3classindex: 0 which is not what I expected. Am I missing something obvious or is this a MapServer bug? Regards, Peter -- Dott. Peter Hopfgartner R3 GIS Srl - GmbH Via Johann Kravogl-Str. 2 I-39012 Meran/Merano (BZ) Email: peter.hopfgart...@r3-gis.com Tel. : +39 0473 494949 Fax : +39 0473 069902 www : http://www.r3-gis.com XING : http://www.xing.com/go/invita/8917535 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] PHP MapScript: shape->classindex is always 0
Hello As I interpreted this, classindex should point to the right class of the instantiated shape. Unfortunatly, classindex is always 0. As a test I have a LAYER with 2 classes, CLASS NAME 'class1' EXPRESSION (([class] eq 1)) STYLE SYMBOL "circle" SIZE 7.0 OUTLINECOLOR 0 0 0 COLOR 0 128 0 END END CLASS NAME 'class2' EXPRESSION (([class] eq 2)) STYLE SYMBOL "circle" SIZE 7.0 OUTLINECOLOR 0 0 0 COLOR 0 0 128 END END In the PostGIS database are 4 point, 2 with class=1 and 2 with class=2, the generated map image shows the expected colors. The following script: getLayerByName('test'); $status = $layer->open(); $status = $layer->whichShapes($map->extent); while ($shape = $layer->nextShape()) { echo "index: {$shape->index}\tclassindex: {$shape->classindex}\n"; } $layer->close(); ?> the following output: index: 0classindex: 0 index: 1classindex: 0 index: 2classindex: 0 index: 3classindex: 0 which is not what I expected. Am I missing something obvious or is this a MapServer bug? Regards, Peter -- Dott. Peter Hopfgartner R3 GIS Srl - GmbH Via Johann Kravogl-Str. 2 I-39012 Meran/Merano (BZ) Email: peter.hopfgart...@r3-gis.com Tel. : +39 0473 494949 Fax : +39 0473 069902 www : http://www.r3-gis.com XING : http://www.xing.com/go/invita/8917535 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] MapScript wrapper for WxS
Pavel Iacovlev wrote: Yes, and the bug is 3 years old. Setting the variables manually from $_GET works with no trouble. Hi Pavel, thank you for your quick help! Would it make sense, to add a comment in the docs, at least? Regards, Peter On Wed, Feb 17, 2010 at 1:20 PM, Peter Hopfgartner wrote: Pavel Iacovlev wrote: try using instead of : $request = ms_newOwsrequestObj(); $numValues = $request->loadparams(); this: $request = ms_newowsrequestobj(); foreach ($_GET as $key => $value) { $request->setParameter($key, $value); } Hi Pavel, this seems to work, so far. Is this realted to http://trac.osgeo.org/mapserver/ticket/1975 ? Peter Would it On Wed, Feb 17, 2010 at 11:16 AM, Peter Hopfgartner wrote: Hello On a CentOS5, 64 bit machine I have a basic WMS through CGI, which runs fine. I'm trying to wrap this in a PHP script, like in http://www.mapserver.org/ogc/mapscript.html: loadparams(); /*exampple on how to modify the parameters : forcing the version from 1.1.1 to 1.1.0 */ $request->setParameter("map","/data/sites/gisclient/mapset/map/wms_reti.map"); (...) Logging to file I see that it is stops when calling loadparams(). It returns a document with 0 bytes. On the same installation, the following Python wrapper gives the correct Capabilities document: #!/usr/bin/python import mapscript req = mapscript.OWSRequest() req.loadParams() map = mapscript.mapObj( '/data/sites/gisclient/mapset/map/wms_reti.map' ) map.OWSDispatch( req ) . MapServer is 5.6.1. Trying on a machine with 5.2.2, the PHP script fails, too. Is there anything I am missing, here? Thanks, Peter -- Dott. Peter Hopfgartner R3 GIS Srl - GmbH Via Johann Kravogl-Str. 2 I-39012 Meran/Merano (BZ) Email: peter.hopfgart...@r3-gis.com Tel. : +39 0473 494949 Fax : +39 0473 069902 www : http://www.r3-gis.com XING: http://www.xing.com/go/invita/8917535 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Dott. Peter Hopfgartner R3 GIS Srl - GmbH Via Johann Kravogl-Str. 2 I-39012 Meran/Merano (BZ) Email: peter.hopfgart...@r3-gis.com Tel. : +39 0473 494949 Fax : +39 0473 069902 www : http://www.r3-gis.com XING: http://www.xing.com/go/invita/8917535 -- Dott. Peter Hopfgartner R3 GIS Srl - GmbH Via Johann Kravogl-Str. 2 I-39012 Meran/Merano (BZ) Email: peter.hopfgart...@r3-gis.com Tel. : +39 0473 494949 Fax : +39 0473 069902 www : http://www.r3-gis.com XING : http://www.xing.com/go/invita/8917535 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] MapScript wrapper for WxS
Pavel Iacovlev wrote: try using instead of : $request = ms_newOwsrequestObj(); $numValues = $request->loadparams(); this: $request = ms_newowsrequestobj(); foreach ($_GET as $key => $value) { $request->setParameter($key, $value); } Hi Pavel, this seems to work, so far. Is this realted to http://trac.osgeo.org/mapserver/ticket/1975 ? Peter Would it On Wed, Feb 17, 2010 at 11:16 AM, Peter Hopfgartner wrote: Hello On a CentOS5, 64 bit machine I have a basic WMS through CGI, which runs fine. I'm trying to wrap this in a PHP script, like in http://www.mapserver.org/ogc/mapscript.html: loadparams(); /*exampple on how to modify the parameters : forcing the version from 1.1.1 to 1.1.0 */ $request->setParameter("map","/data/sites/gisclient/mapset/map/wms_reti.map"); (...) Logging to file I see that it is stops when calling loadparams(). It returns a document with 0 bytes. On the same installation, the following Python wrapper gives the correct Capabilities document: #!/usr/bin/python import mapscript req = mapscript.OWSRequest() req.loadParams() map = mapscript.mapObj( '/data/sites/gisclient/mapset/map/wms_reti.map' ) map.OWSDispatch( req ) . MapServer is 5.6.1. Trying on a machine with 5.2.2, the PHP script fails, too. Is there anything I am missing, here? Thanks, Peter -- Dott. Peter Hopfgartner R3 GIS Srl - GmbH Via Johann Kravogl-Str. 2 I-39012 Meran/Merano (BZ) Email: peter.hopfgart...@r3-gis.com Tel. : +39 0473 494949 Fax : +39 0473 069902 www : http://www.r3-gis.com XING: http://www.xing.com/go/invita/8917535 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Dott. Peter Hopfgartner R3 GIS Srl - GmbH Via Johann Kravogl-Str. 2 I-39012 Meran/Merano (BZ) Email: peter.hopfgart...@r3-gis.com Tel. : +39 0473 494949 Fax : +39 0473 069902 www : http://www.r3-gis.com XING: http://www.xing.com/go/invita/8917535 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] MapScript wrapper for WxS
Hello On a CentOS5, 64 bit machine I have a basic WMS through CGI, which runs fine. I'm trying to wrap this in a PHP script, like in http://www.mapserver.org/ogc/mapscript.html: loadparams(); /*exampple on how to modify the parameters : forcing the version from 1.1.1 to 1.1.0 */ $request->setParameter("map","/data/sites/gisclient/mapset/map/wms_reti.map"); (...) Logging to file I see that it is stops when calling loadparams(). It returns a document with 0 bytes. On the same installation, the following Python wrapper gives the correct Capabilities document: #!/usr/bin/python import mapscript req = mapscript.OWSRequest() req.loadParams() map = mapscript.mapObj( '/data/sites/gisclient/mapset/map/wms_reti.map' ) map.OWSDispatch( req ) . MapServer is 5.6.1. Trying on a machine with 5.2.2, the PHP script fails, too. Is there anything I am missing, here? Thanks, Peter -- Dott. Peter Hopfgartner R3 GIS Srl - GmbH Via Johann Kravogl-Str. 2 I-39012 Meran/Merano (BZ) Email: peter.hopfgart...@r3-gis.com Tel. : +39 0473 494949 Fax : +39 0473 069902 www : http://www.r3-gis.com XING: http://www.xing.com/go/invita/8917535 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] RE: Rendering overlapping data
Ludwig Kniprath wrote: I dont't think, Mapserver has the out-of-the-box possibility to render the overlapping parts of polygons in a special way. Perhaps you could try to create a separate layer (f. e. in Postgis with a special geo-query), that just shows these overlapping parts. But also then I think its difficult to query and to render the case, that three or more polygons do overlap. Ludwig Hi Ludwig, out of curiosity: How do other software packages handle this case? Are there some best practices? For example dividing the intersection area into stripes and cycle through the colors of the overlapping data? Does GeoServer have some way to visualize overlapping data? Would it make sense to collect some requirements to formulate an RFC? Regards, Peter Message: 2 Date: Mon, 21 Dec 2009 17:22:44 +0100 From: Peter Hopfgartner Subject: [mapserver-users] Rendering overlapping data To: mapserver-users@lists.osgeo.org Cc: d'Orio Pietro Message-ID: <4b2fa0d4.7020...@r3-gis.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Dear list members We would like to visualize a layer with data, where polygons with different classes may overlap. Using transparency, "new" colors are introduced, e.g. if I overlap a blue and a red polygon I get an violet one. Is there a way to show overlapping polygons in stripes with cycling colors, or as a checker board? How do people handle this? Regards, Peter -- Dott. Peter Hopfgartner R3 GIS Srl - GmbH Via Johann Kravogl-Str. 2 I-39012 Meran/Merano (BZ) Email: peter.hopfgart...@r3-gis.com Tel. : +39 0473 494949 Fax : +39 0473 069902 www : http://www.r3-gis.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Dott. Peter Hopfgartner R3 GIS Srl - GmbH Via Johann Kravogl-Str. 2 I-39012 Meran/Merano (BZ) Email: peter.hopfgart...@r3-gis.com Tel. : +39 0473 494949 Fax : +39 0473 069902 www : http://www.r3-gis.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Rendering overlapping data
Dear list members We would like to visualize a layer with data, where polygons with different classes may overlap. Using transparency, "new" colors are introduced, e.g. if I overlap a blue and a red polygon I get an violet one. Is there a way to show overlapping polygons in stripes with cycling colors, or as a checker board? How do people handle this? Regards, Peter -- Dott. Peter Hopfgartner R3 GIS Srl - GmbH Via Johann Kravogl-Str. 2 I-39012 Meran/Merano (BZ) Email: peter.hopfgart...@r3-gis.com Tel. : +39 0473 494949 Fax : +39 0473 069902 www : http://www.r3-gis.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [postgis-users] [mapserver-users] Web interface
P Kishor wrote: 2009/12/12 Barend Köbben : On 11-12-09 18:31, "Peter Hopfgartner" wrote: GisClient allows the map composition from the browser and has some other nce features, too, Yeah, such as being in Italian only Seriously, is there a English version of this site...? .. actually, not even a problem that the site is Italian only. More of a problem that I couldn't, for the life of me, see a demo of the application. I clicked around, a bit blindly, I must admit, but got nowhere. Clicking on what seemed like a map demo link let me to a list of users making use of gisclient, and going to their website launched me into another futile click-journey. Life is too short to have to figure out a demo of a software. Puneet. ___ postgis-users mailing list postgis-us...@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users I admit, the demos are not easy to find. The "official" demo is http://www.gisclient.org/gisclient (already running with MapServer 5.6.0!) A public map, we are currently working on, can be reached from http://195.254.250.104/gisclient Peter -- Dott. Peter Hopfgartner R3 GIS Srl - GmbH Via Johann Kravogl-Str. 2 I-39012 Meran/Merano (BZ) Email: peter.hopfgart...@r3-gis.com Tel. : +39 0473 494949 Fax : +39 0473 069902 www : http://www.r3-gis.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [postgis-users] [mapserver-users] Web interface
Barend Köbben wrote: On 11-12-09 18:31, "Peter Hopfgartner" wrote: GisClient allows the map composition from the browser and has some other nce features, too, Yeah, such as being in Italian only Seriously, is there a English version of this site...? Ooops, the mail went to the wrong ML. Sorry for the noise! I'll bring the discussion back to the MapServer users list. Anyway, currently the site is mostly Italian, you might try http://translate.google.com/translate?hl=de&sl=it&tl=en&u=http%3A%2F%2Fwww.gisclient.org%2F. The map window is translatable and translations are included for English, German, Italian and, in part for French and Spanish. The administration part is, if I remember correctly, in Italian only, ATM. The community aspect is still in it's beginning. Translations, mailing list/forum etc. should follow. The software was initially an internal project of Gis & Web, an Italian company, and currently most of the activities are focused on coding. Peter -- Dott. Peter Hopfgartner R3 GIS Srl - GmbH Via Johann Kravogl-Str. 2 I-39012 Meran/Merano (BZ) Email: peter.hopfgart...@r3-gis.com Tel. : +39 0473 494949 Fax : +39 0473 069902 www : http://www.r3-gis.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Export SVG
o:ass...@dmsolutions.ca> http://www.dmsolutions.ca/ Phone: (613) 565-5056 (ext 14) Fax: (613) 565-0925 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Dott. Peter Hopfgartner R3 GIS Srl - GmbH Via Johann Kravogl-Str. 2 I-39012 Meran/Merano (BZ) Email: peter.hopfgart...@r3-gis.com Tel. : +39 0473 494949 Fax : +39 0473 069902 www : http://www.r3-gis.com Venite a trovarci all'ASITA, dal 1 al 4 dicembre a Bari www.asita.it Besuchen Sie uns bei der Messe ASITA vom 1. bis 4. Dezember in Bari www.asita.it Visit us at ASITA, from 1st to 4th December in Bari www.asita.it ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] KML output
Hello I am asked to produce KML files from mapfiles, mostly as ground overlay. Researching into this, I've found two approaches, one PHP-MapScript based (http://sourceforge.net/projects/kmlmapserver), and C-based from a GSOC project. Is the latter one usable? Is http://trac.osgeo.org/mapserver/browser/sandbox/davidK the right sandbox? Has anybody made good or bad experiences with any of them? Regards, Peter -- Dott. Peter Hopfgartner R3 GIS Srl - GmbH Via Johann Kravogl-Str. 2 I-39012 Meran/Merano (BZ) Email: peter.hopfgart...@r3-gis.com Tel. : +39 0473 494949 Fax : +39 0473 069902 www : http://www.r3-gis.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] analysis web using Map Server
Gito Ginting wrote: Hi all, I am just introduced to Map Server, I've developed a web server with Fedora 7 and would like to develop a tool for map analysis in web by using Map Server.. Advise please, how to make a map interpolation with Map Server? and also the requirement for developing the interpolation? Thanks Gito Ginting ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users MapServer relies on GDAL for many data formats. GDAL can be configured in a way that it can access directly the GRASS database. In case, some googling should help. http://grass.itc.it/start.html http://www.google.com/search?q=GDAL+GRASS+mapserver Regards, Peter -- Dott. Peter Hopfgartner R3 GIS Srl - GmbH Via Johann Kravogl-Str. 2 I-39012 Meran/Merano (BZ) Email: peter.hopfgart...@r3-gis.com Tel. : +39 0473 494949 Fax : +39 0473 069902 www : http://www.r3-gis.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: AW: [mapserver-users] MapServer with RHEL5
Eichner, Andreas - SID-NLKM wrote: Hallo Peter, I'm wondering how you get this going. Tried gdal from FC9 and FC10 with the same result: # LC_ALL=C rpm -i gdal-1.5.3-1.fc9.i386.rpm warning: gdal-1.5.3-1.fc9.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6df2196f error: Failed dependencies: libc.so.6(GLIBC_2.7) is needed by gdal-1.5.3-1.fc9.i386 libcrypto.so.7 is needed by gdal-1.5.3-1.fc9.i386 libcurl.so.4 is needed by gdal-1.5.3-1.fc9.i386 libdap.so.8 is needed by gdal-1.5.3-1.fc9.i386 libdapclient.so.2 is needed by gdal-1.5.3-1.fc9.i386 libdapserver.so.4 is needed by gdal-1.5.3-1.fc9.i386 libexpat.so.1 is needed by gdal-1.5.3-1.fc9.i386 libgrass_I.so.6.3 is needed by gdal-1.5.3-1.fc9.i386 libgrass_datetime.so.6.3 is needed by gdal-1.5.3-1.fc9.i386 libgrass_dbmibase.so.6.3 is needed by gdal-1.5.3-1.fc9.i386 libgrass_dbmiclient.so.6.3 is needed by gdal-1.5.3-1.fc9.i386 libgrass_dgl.so.6.3 is needed by gdal-1.5.3-1.fc9.i386 libgrass_dig2.so.6.3 is needed by gdal-1.5.3-1.fc9.i386 libgrass_gis.so.6.3 is needed by gdal-1.5.3-1.fc9.i386 libgrass_gmath.so.6.3 is needed by gdal-1.5.3-1.fc9.i386 libgrass_gproj.so.6.3 is needed by gdal-1.5.3-1.fc9.i386 libgrass_linkm.so.6.3 is needed by gdal-1.5.3-1.fc9.i386 libgrass_rtree.so.6.3 is needed by gdal-1.5.3-1.fc9.i386 libgrass_vask.so.6.3 is needed by gdal-1.5.3-1.fc9.i386 libgrass_vect.so.6.3 is needed by gdal-1.5.3-1.fc9.i386 libhdf5.so.5 is needed by gdal-1.5.3-1.fc9.i386 libpq.so.5 is needed by gdal-1.5.3-1.fc9.i386 libssl.so.7 is needed by gdal-1.5.3-1.fc9.i386 libstdc++.so.6(GLIBCXX_3.4.9) is needed by gdal-1.5.3-1.fc9.i386 libxerces-c.so.28 is needed by gdal-1.5.3-1.fc9.i386 So it looks I have to use FC's libc and libstdc++ but that usually results in installing a completely new system. Aren't there backports for RHEL5 anywhere? RHEL and RPM really drive me crazy... Indeed, I took the GDAL from EPEL. It is still 1.4, but compiles fine. We do not depend, at this tie, on anything in GDAL 1.5 or 1.6. GDAL is, IMHO, the most difficult dependency. If my memory is ok, then I had to edit the SPEC file for GDAl, in order to disable the GRASS dependency. Peter -Ursprüngliche Nachricht- On most of our servers we use MapServer and PostGIS/GEOS with current upstream versions. Usually, I take packages from Fedora 9/10 and replace the source archive with the most current upstream version. Furthermore we do compile our own GDAL package, sonce we need ECW support. Needless to say, we do not have problems with those packages, they fit well our needs. I can gave you the SPEC file or the compiled binaries for CentOS 5.2 + PostgreSQL/PHP/HTTPD from CentOS testing on x86_64. If you want to be sure they work for RHEL 5.3, wait until the end of the week, I'm working on that these days. Regards, Peter -- Dott. Peter Hopfgartner R3 GIS Srl - GmbH Via Johann Kravogl-Str. 2 I-39012 Meran/Merano (BZ) Email: peter.hopfgart...@r3-gis.com Tel. : +39 0473 494949 Fax : +39 0473 069902 www : http://www.r3-gis.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] MapServer with RHEL5
Eichner, Andreas - SID-NLKM wrote: Hi guys, we're using MapServer 5.2 with RedHat Enterprise Linux 5, Update 3. The necessary packages (like gdal) are inserted from Fedora Core 6. That works but the packages are somewhat outdated. So I tried to use those from the EPEL channel instead but without success. After compiling MS it segfaults because of the same problem discussed earlier on the list with a conflict between librx headers and libraries (the segfault can be avoided adding some bytes to sizeof(regex_t) in ms_regcomp() but with the effect of ms_regexec() returning wrong results). The servers are fed by a satellite server and have no direct access to a separate repo. So does anyone use MS with RHEL5 and has a nice solution for that? My personal solution would be to use Debian as on my test server (where I never had problems compiling and using MS) but that's not an option for the productive systems here :( Regards, Andreas Eichner ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users Hi Andreas, we use CentOS 5 and Red Hat 4/5 on all our servers. We are using the EPEL packages on some of our servers, but mapserver is still at 4.10, there. Anyway, we did not have real problems with that. On most of our servers we use MapServer and PostGIS/GEOS with current upstream versions. Usually, I take packages from Fedora 9/10 and replace the source archive with the most current upstream version. Furthermore we do compile our own GDAL package, sonce we need ECW support. Needless to say, we do not have problems with those packages, they fit well our needs. I can give you the SPEC file or the compiled binaries for CentOS 5.2. If you want to be sure they work for RHEL 5.3, wait until the end of the week, I'm working on that these days. Regards, Peter -- Dott. Peter Hopfgartner R3 GIS Srl - GmbH Via Johann Kravogl-Str. 2 I-39012 Meran/Merano (BZ) Email: peter.hopfgart...@r3-gis.com Tel. : +39 0473 494949 Fax : +39 0473 069902 www : http://www.r3-gis.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Multilingual map files
Kralidis,Tom [Ontario] wrote: -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Peter Hopfgartner Sent: Wednesday, 04 February 2009 08:47 To: mapserver-users@lists.osgeo.org Cc: Paolo Viskanic Subject: [mapserver-users] Multilingual map files Dear list members I would like ask how map files for multilingual applications are handled by mapserver users. Multilingual information may impact the map in various ways. As by now, those come to mind: * Fix strings in the map file, (NAME, DESCRIPTION etc) * Database borne data, changing column for different languages as for LABELITEM * Queries changing with language, so that DATA/FILTER statements must be adapted to the current language (e.g. WHERE lang_id='en'). What we are currently doing is to write the mapfiles like: CLASS NAME "IT:Progetti linee|DE:Projekte Linien" SYMBOL 'circle' SIZE 3 COLOR 0 0 255 END METADATA "DESCRIPTION" "IT:Progetti|DE:Projekte" END LABELITEM "IT:gemi|DE:gemd" and modify the labels through Mapscript before rendering the map. This works if the map file is processed by Mapscript, whereas it would not work for CGI and W*S services. We would need a map file for each language for those services. For WxS, the specs themselves don't handle this, but it would be nice to handle multilingual metadata in one document, i.e.: road rue I remember Arnulf Christel mentioning some work on multilingual WxS by OGC. Do you know anything about this? In our environment, we've created one mapfile / language. One thing you could do is use MapScript WxS to intercept an incoming request (say with an extended lang parameter), then, once you have the lang, set the values in the mapfile accordingly. ..Tom Thanks, Peter How do you handle i18n in MapServer? -- Dott. Peter Hopfgartner R3 GIS Srl - GmbH Via Johann Kravogl-Str. 2 I-39012 Meran/Merano (BZ) Email: peter.hopfgart...@r3-gis.com Tel. : +39 0473 494949 Fax : +39 0473 069902 www : http://www.r3-gis.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Multilingual map files
Dear list members I would like ask how map files for multilingual applications are handled by mapserver users. Multilingual information may impact the map in various ways. As by now, those come to mind: * Fix strings in the map file, (NAME, DESCRIPTION etc) * Database borne data, changing column for different languages as for LABELITEM * Queries changing with language, so that DATA/FILTER statements must be adapted to the current language (e.g. WHERE lang_id='en'). What we are currently doing is to write the mapfiles like: CLASS NAME "IT:Progetti linee|DE:Projekte Linien" SYMBOL 'circle' SIZE 3 COLOR 0 0 255 END METADATA "DESCRIPTION" "IT:Progetti|DE:Projekte" END LABELITEM "IT:gemi|DE:gemd" and modify the labels through Mapscript before rendering the map. This works if the map file is processed by Mapscript, whereas it would not work for CGI and W*S services. We would need a map file for each language for those services. How do you handle i18n in MapServer? Regards, Peter -- Dott. Peter Hopfgartner R3 GIS Srl - GmbH Via Johann Kravogl-Str. 2 I-39012 Meran/Merano (BZ) Email: peter.hopfgart...@r3-gis.com Tel. : +39 0473 494949 Fax : +39 0473 069902 www : http://www.r3-gis.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users