RE: Re: [mapserver-users] MapServer 6.0.0-beta4 release
Daniel Morissette dmorisse...@mapgears.com 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-beta5 release
Daniel Morissette dmorisse...@mapgears.com 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: [mapserver-users] DrawQuery problem
Steve, i have removed open and close clauses. After that, the drawquery draw the map correctly!! Thanks a lot Oscar El 05/04/11 17:33, Lime, Steve D (DNR) escribi: Looks like youre running against 5.6.6. You dont need to open/close layers after doing a query. The underlying code leaves the layer open and preserves the result set on the database server. It may be that by calling close() especially youre losing the result set in PostGIS. You dont need to open/close layers anyway just to use getResult(). Try: - Calling drawQuery before your post query processing. If it works that tells you the problem is in your post-processing code. - Removing the layer open/close calls from your post query processing. Steve From: Oscar Testa [mailto:ote...@gmail.com] Sent: Tuesday, April 05, 2011 2:24 PM To: Lime, Steve D (DNR) Subject: Re: [mapserver-users] DrawQuery problem Steve, i send you this mail because the list reject the message, i don't know the reason. the query returns rows, here the code: if ($x0 == $x1 || $y0 == $y1){ $my_point = ms_newPointObj(); $my_point-SetXY($x0,$y0); $bQquery = @$map-queryByPoint($my_point,MS_MULTIPLE,0); } else{ $my_rect = ms_newRectObj(); $my_rect-setextent($x0,$y0,$x1,$y1); $bQuery = @$map-queryByRect($my_rect); } if ($bQuery == MS_SUCCESS){ $sQueryLayers = "layers="; $sQueryId = "id="; for ($i=0;$isizeof($iLayers);$i++){ $oLayer = $map-getLayer($iLayers[$i]); if ($oLayer-status == MS_ON) if ($oLayer-getNumResults() 0){ $oLayer-open(); $bResults = true; for ($j=0;$j$oLayer-getNumResults();$j++){ $oResult = $oLayer-getResult($j); $sQueryId = $sQueryId . $oResult-shapeindex . ";"; } $oLayer-close(); $sQueryLayers = $sQueryLayers . $oLayer-name . "|"; $sQueryId = substr($sQueryId,0,strlen($sQueryId) - 1) . "|"; } } $sQueryLayers = substr($sQueryLayers,0,strlen($sQueryLayers) - 1); $sQueryId = substr($sQueryId,0,strlen($sQueryId) - 1); The results is viewed in $sQueryId, a string with codes inside, printed via echo. When the draw method is called, or when drawQuery method is called without a query, the results is a valid map with no error messages in the debug file. When a query is performed, the debug file contents the next: [[Fri Apr 1 15:41:24 2011].623504 getSymbol(): Symbol definition error. Parsing error near (I):(line 181) [Fri Apr 1 15:41:24 2011].623825 getSymbol(): Symbol definition error. Parsing error near (II):(line 181) [Fri Apr 1 15:41:24 2011].624023 getSymbol(): Symbol definition error. Parsing error near (III):(line 181) [Fri Apr 1 15:41:24 2011].624231 getSymbol(): Symbol definition error. Parsing error near (IV):(line 181) [Fri Apr 1 15:41:24 2011].624407 getSymbol(): Symbol definition error. Parsing error near (V):(line 181) [Fri Apr 1 15:41:24 2011].624593 getSymbol(): Symbol definition error. Parsing error near (VI):(line 181) [Fri Apr 1 15:41:24 2011].624753 getSymbol(): Symbol definition error. Parsing error near (VII):(line 181) [Fri Apr 1 15:41:24 2011].625063 getSymbol(): Symbol definition error. Parsing error near (I):(line 181) [Fri Apr 1 15:41:24 2011].625235 getSymbol(): Symbol definition error. Parsing error near (II):(line 181) [Fri Apr 1 15:41:24 2011].625398 getSymbol(): Symbol definition error. Parsing error near (III):(line 181) [Fri Apr 1 15:41:24 2011].625559 getSymbol(): Symbol definition error. Parsing error near (IV):(line 181) [Fri Apr 1 15:41:24 2011].625755 getSymbol(): Symbol definition error. Parsing error near (V):(line 181) [Fri Apr 1 15:41:24 2011].625916 getSymbol(): Symbol definition error. Parsing error near (VI):(line 181) [Fri Apr 1 15:41:24 2011].626109 getSymbol(): Symbol definition error. Parsing error near (VII):(line 181) [Fri Apr 1 15:41:24 2011].626523 msPostGISLayerOpen called: the_geom
[mapserver-users] 16 Bit PNG Output
I am not able to output elevation data as 16 Bit PNGs. Is Mapserver not able to to this ? I tried with a current version of Mapserver on Windows and on Linux. I tried WMS and WCS requests - but I always get 8 Bit PNGs back although I have configured 16INT. Other formats like GTiff or Esri Bil work fine with 16Int. Any ideas ? Thanks, kaipi Here is my mapfile: [...] OUTPUTFORMAT NAME 'tif' DRIVER GDAL/GTIFF IMAGEMODE INT16 MIMETYPE image/tif END OUTPUTFORMAT NAME 'pngint16' DRIVER GDAL/PNG IMAGEMODE INT16 MIMETYPE image/pngint16 END [...] LAYER NAME SRTM30 PROJECTION init=epsg:4326 END DUMP TRUE METADATA wcs_rangeset_name Range 1 ### required to support DescribeCoverage request wcs_rangeset_label My Label ### required to support DescribeCoverage request wcs_label SRTM WCS TIF Server ows_extent -180 -90 180 90 wcs_resolution 0.0083 -0.0083 ows_srs EPSG:4326 END STATUS default TYPE RASTER DATA S:\dem\srtm\srtm30\SRTM30_16b_BIL_GM.TIF CLASS END END [...] -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/16-Bit-PNG-Output-tp6249725p6249725.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] making POINT with SQL
Hello I'm trying to make an POINT in the map but it's not working this is my Layer layer name ponto connectiontype POSTGIS connection dbname= user=x host=x port=x data geo_info from table type point status on metadata tile_source nocache end maxscale 301 class style size 4 symbol circulo color 0 0 0 end style size 1 symbol circulo color 255 255 255 end end end The SQL brings me an geo info (010120E61079E9263108DC42C08716D9CEF75338C0) that in text is = POINT(-37.719 -24.328) Any Ideas ? ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] RE: making POINT with SQL
What does not working mean? Steve From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Juan Carlos Monestel Sent: Thursday, April 07, 2011 12:04 PM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] making POINT with SQL Hello I'm trying to make an POINT in the map but it's not working this is my Layer layer name ponto connectiontype POSTGIS connection dbname= user=x host=x port=x data geo_info from table type point status on metadata tile_source nocache end maxscale 301 class style size 4 symbol circulo color 0 0 0 end style size 1 symbol circulo color 255 255 255 end end end The SQL brings me an geo info (010120E61079E9263108DC42C08716D9CEF75338C0) that in text is = POINT(-37.719 -24.328) Any Ideas ? ___ 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
Hi all, openSUSE packages for beta5 can be found here: http://download.opensuse.org/repositories/home:/tzotsos/ http://wiki.osgeo.org/wiki/OpenSUSE_Geo_Repositories Regards, Angelos On 04/07/2011 06:29 AM, Daniel Morissette wrote: 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. 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-beta5/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-beta5.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-beta5 (2011-04-06) - Fix setting of top-level mapObj member variables in PHP MapScript (#3815) - More robust OpenGL context creation on older video cards and drivers (#3791) - Allow users to set the maximum number of vector features to be drawn (#3739) - Fixed FCGI on Windows problem related to lexer (#3812) - KML: Add ows/kml_exclude_items (#3560) - Removed all refs left to MS_SYMBOL_CARTOLINE (#3798) - Removed GAP, PATTERN, LINECAP/JOIN and POSITION from symbolObj (#3797) - Fixed handling of STYLEITEM AUTO label position codes 10,11,12 (#3806) - Fixed msGEOSGeometry2Shape to handle 'GEOMETRYCOLLECTION EMPTY' as null geometry instead of raising an error (#3811) - Re-added the MYSQL JOIN support. Had been removed with the MYGIS deprecated driver. - Add opacity to legend (#3740) - Updated PHP/MapScript with the new objects properties (#3735) - KML: set layer's projection when it is not defined (#3809) - Updated xml mapfile schema and xsl with the new lexer properties (#3735) - Updated PHP/MapScript for MS RFC 69: clustering. (#3700) - Move allocation of cgiRequestObj paramNames/Values to msAllocCgiObj() (#1888) - Add support for simple aggregates for the cluster layer attributes (#3700) - Improved error reporting in msSaveImage() (#3733) - configure: look for libxslt.so under lib64 as well - added missing ';' before charset in WFS DescribeFeatureType header (#3793) - add brushed line support for agg renderer (#3792) - fix bug with marker symbols along offset line - fix for the cluster layer returning invalid feature count (#3794) - remove some compiler warnings - fix incorrect scaling of hatch symbol spacing (#3773) - fix incorrect background color for INIMAGE exceptions (#3790) ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Angelos Tzotsos Remote Sensing Laboratory National Technical University of Athens http://users.ntua.gr/tzotsos ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] RE: making POINT with SQL
Hi it is not drawing and no error occurs -Original Message- From: Lime, Steve D (DNR) [mailto:steve.l...@state.mn.us] Sent: Thu 4/7/2011 2:43 PM To: Juan Carlos Monestel; mapserver-users@lists.osgeo.org Subject: RE: making POINT with SQL What does not working mean? Steve From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Juan Carlos Monestel Sent: Thursday, April 07, 2011 12:04 PM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] making POINT with SQL Hello I'm trying to make an POINT in the map but it's not working this is my Layer layer name ponto connectiontype POSTGIS connection dbname= user=x host=x port=x data geo_info from table type point status on metadata tile_source nocache end maxscale 301 class style size 4 symbol circulo color 0 0 0 end style size 1 symbol circulo color 255 255 255 end end end The SQL brings me an geo info (010120E61079E9263108DC42C08716D9CEF75338C0) that in text is = POINT(-37.719 -24.328) Any Ideas ? ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] RE: making POINT with SQL
Make sure you're actually turning the layer on. Status ON always makes me wonder. Try setting STATUS to DEFAULT and comment out the maxscale line and see what happens. Steve From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Juan Carlos Monestel Sent: Thursday, April 07, 2011 1:21 PM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] RE: making POINT with SQL Hi it is not drawing and no error occurs -Original Message- From: Lime, Steve D (DNR) [mailto:steve.l...@state.mn.us] Sent: Thu 4/7/2011 2:43 PM To: Juan Carlos Monestel; mapserver-users@lists.osgeo.org Subject: RE: making POINT with SQL What does not working mean? Steve From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Juan Carlos Monestel Sent: Thursday, April 07, 2011 12:04 PM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] making POINT with SQL Hello I'm trying to make an POINT in the map but it's not working this is my Layer layer name ponto connectiontype POSTGIS connection dbname= user=x host=x port=x data geo_info from table type point status on metadata tile_source nocache end maxscale 301 class style size 4 symbol circulo color 0 0 0 end style size 1 symbol circulo color 255 255 255 end end end The SQL brings me an geo info (010120E61079E9263108DC42C08716D9CEF75338C0) that in text is = POINT(-37.719 -24.328) Any Ideas ? ___ 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
Windows can find details on the 6.0-beta5 package at: http://www.maptools.org/ms4w/index.phtml?page=RELEASE_mapserver_ms4w3.x_dev-6.0.0.html -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] error in raster layer
Hello all, I want to create a very simple raster layer, but I faced to this error: msDrawMap(): Image handling error. Failed to draw layer named 'elevation'. msDrawRaster(): Unable to access file. stcon using full path stcon this is my layer: LAYER NAME elevation TYPE raster STATUS on DATA stcon PROJECTION init=epsg:2260 END CLASS STYLE OUTLINECOLOR 0 200 0 END END END I checked paths and names, and everything is correct. I should note that I try to look at the only raster layer of itasca, but although all other layers are working very well, running this layer causes this error: msDrawMap(): Image handling error. Failed to draw layer named 'drgs'. msDrawRaster(): Image handling error. Unrecognized or unsupported image format drawEPP(): Image handling error. /var/www/Mapserver/Amin(Itasca)/data/drgncimq1926.tif is not an EPPL file. Thank you in advance for your help. Amin ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users