Re: [mapserver-users] Horizontal line appears at the edge with circle symbol
Thanks, Steve, for the quickest response. I managed to upgrade the GD library and recompile PHP, Mapserver and the problem is gone. GD: 2.0.35 (previously 2.0.33 from yum) PHP: 5.2.6 (previously 5.1.6 from yum) Mapserver: 5.2 Ei Stephen Woodbridge wrote: This is a know bug. I think it is: http://trac.osgeo.org/mapserver/ticket/1719 -Steve W Ei Fujioka wrote: Dear experts, I'm upgrading Mapserver from 4.2 to 5.2 and experiencing a very annoying problem. There appears a horizontal line at the edge of the map drawn by Mapserver 5.2 when the symbol is set to "circle". This didn't happen with Mapserver 4.2. When I change the symbol to "square", the line doesn't appear. I've tried various settings (e.g. SIZE, ANGLE, ANTIALIAS etc.) with no luck. Does anyone have any idea what's wrong with it? ** Examples: ** Mapserver 5.2 with circle symbol: http://seamap-dev.env.duke.edu/seamap2/main/seamap2_gm.php?sid=horizontal_line_with_circle&mode=draw_map&outputformat=PNG24&layer_name=dist_sp_01deg&layer_type=point&mapsize=256%2B256&mapext=-90%2C27.059125784374068%2C-84.375%2C31.95216223802497 Mapserver 5.2 with square symbol: http://seamap-dev.env.duke.edu/seamap2/main/seamap2_gm.php?sid=no_line_with_square&mode=draw_map&outputformat=PNG24&layer_name=dist_sp_01deg&layer_type=point&mapsize=256%2B256&mapext=-90%2C27.059125784374068%2C-84.375%2C31.95216223802497 ** Mapserver info. ** ./mapserv -v MapServer version 5.2.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=GEOS INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE ** Mapfile exerpt ** MAP EXTENT -20001364 -15000982 20001253 15000982 IMAGECOLOR 255 255 255 IMAGETYPE gif SYMBOLSET "/var/www/seamap2/map/symbolset.map" SHAPEPATH "/data/shapefiles/" SIZE 256 256 STATUS ON TRANSPARENT TRUE UNITS DD NAME "SEAMAP ONLINE MAPPER" PROJECTION "init=epsg:54004" END LAYER CLASSITEM "_sp_tsn" CONNECTION "host=***" CONNECTIONTYPE POSTGIS DATA "_geom from (***) ***" NAME "zd_35" PROJECTION "init=epsg:4326" END STATUS ON TOLERANCE 0.1 TYPE POINT CLASS NAME "Anatidae" EXPRESSION "174983" STYLE ANGLE 360 COLOR 255 255 0 OPACITY 50 OUTLINECOLOR 0 0 0 SIZE 9 SYMBOL "circle" : annoying horizontal line appears #SYMBOL "square" : when square is used, no horizontal line END TITLE "174983" END ... -- == Ei Fujioka Research Associate Duke University (919) 613-8021 [EMAIL PROTECTED] == ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] GeoTiffs not displaying correctly
Is anyone else having issues with GeoTiffs in v5.2? I am getting weird banding and intermittent rendering. _ Joost van Ulden Natural Resources Canada / Ressources Naturelles Canada 625 Robson Street / 625 rue Robson Vancouver, B.C. / Vancouver (C.B.) V6B 5J3 tel/tél: 604.666.7525 fax/télécopieur: 604.666.1124 email / courriel: [EMAIL PROTECTED] ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Ogr connection to mysql.
Νίκος Παπαδάκης wrote: Hi to everyone! I try to read data from mysql database and i follow the direction in this example. http://mapserver.gis.umn.edu/docs/howto/ogrmysql I have created a database and a table containing coordinate pairs according to the example and placed the .ovf file inside the directory defined in shapepath. but when i run mapserver ,after some seconds i get the following message: 500 Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Νίκος, I would encourage you to first try connecting to mysql directly from ogrinfo, then try doing it using the VRT, and then move to doing it in the mapfile, but using a commandline program like shp2img (or even mapserv) against the mapfile. Best regards, -- ---+-- I set the clouds in motion - turn up | Frank Warmerdam, [EMAIL PROTECTED] light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush| Geospatial Programmer for Rent ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Ogr connection to mysql.
Hi to everyone! I try to read data from mysql database and i follow the direction in this example. http://mapserver.gis.umn.edu/docs/howto/ogrmysql I have created a database and a table containing coordinate pairs according to the example and placed the .ovf file inside the directory defined in shapepath. but when i run mapserver ,after some seconds i get the following message: 500 Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. I run Mysql server 5.0. Any ideas? Thank you! ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Hacking PROJ4...
Try with this? +proj=lcc +lat_1=45.89891889 +lat_2=47.69601444 +lat_0=46.8 +lon_0=0 +k_0=1 +x_0=60 +y_0=220 +a=6378249.2 +b=6356515 +towgs84=-168,-60,320,0,0,0,0 +pm=paris +units=m no_defs <> 2008/8/8 Yvan Calcagni <[EMAIL PROTECTED]> > > Hi everybody, > > for my own developments, I set up a wms server serving data in both > EPSG:4326 (wgs84) and EPSG:27582. And as these 2 projections are not based > on the same meridian, the lat/lon bounding box are always false even if the > EPSG:27582 BBOX goes well. So I need to override the EPSG:4326 by adding > this parameter : +pm=-2.33722917. I tried to change this in the epsg file > (/usr/local/share/proj/epsg) but it failed, so I tried to change this in the > source file and recompile Proj4 but nothing happened too. > > So, is there a way to do this, or anything else to solve this problem. > > Thanks in advance for your answers. > > Vanvan > > > > Avant de prendre le volant, repérez votre itinéraire et visualisez le > trafic ! http://itineraire.voila.fr/itineraire.html > > > ___ > 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] Hacking PROJ4...
Hi everybody, for my own developments, I set up a wms server serving data in both EPSG:4326 (wgs84) and EPSG:27582. And as these 2 projections are not based on the same meridian, the lat/lon bounding box are always false even if the EPSG:27582 BBOX goes well. So I need to override the EPSG:4326 by adding this parameter : +pm=-2.33722917. I tried to change this in the epsg file (/usr/local/share/proj/epsg) but it failed, so I tried to change this in the source file and recompile Proj4 but nothing happened too. So, is there a way to do this, or anything else to solve this problem. Thanks in advance for your answers. Vanvan Avant de prendre le volant, repérez votre itinéraire et visualisez le trafic ! http://itineraire.voila.fr/itineraire.html ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Color mapping floating point raster
Hi guys, I am searching for a possibility to automatically ramp colors in floating point raster formats. I found a workaround dealing with gdalinfo and bash scripting here: http://www.nabble.com/-UMN_MAPSERVER-USERS--floating-point-grass-rasters-and -mapserver---a-resume-td1132414.html#a1132447 But I am rather looking forward to have a built in solution in Mapserver itself. Also the target format should be GTIFF to avoid a GRASS DB PS: I am using the latest 5.2 Mapserver Thanks in advance, Christian _ Dipl. Geogr. Christian Braun Tel: +352- 425991-608 Mobil: +49-179-6845896 Mail: [EMAIL PROTECTED] *** www.crte.lu *** Resource Centre for Environmental Technologies, Public Research Centre Henri Tudor, Technoport Schlassgoart, 66 rue de Luxembourg, P.O. BOX 144, L-4002 Esch-sur-Alzette, Luxembourg ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] GetFeature Filterproblem with OGR
Hi List, i have a problem sending a getfeature request, after changing the connectiontype OGR for a layer. this request works, i get the gml which i expect http://localhost/cgi-bin/mapserv.exe?map=./mapfiles/gbh.map&VERSION=1.0.0&SERVICE=WFS&REQUEST=GetFeature&TYPENAME=Verwaltungseinheiten &Filter=escape='!'>GemarkungH* this request doesnt work: http://localhost/cgi-bin/mapserv.exe?map=./mapfiles/gbh.map&VERSION=1.0.0&SERVICE=WFS&REQUEST=GetFeature&TYPENAME=Verwaltungseinheiten &Filter=escape='!'>GST1 it returns the following: http://www.opengis.net/ogc http://schemas.opengis.net/wms/1.1.1/OGC-exception.xsd";> msQueryByRect(): Search returned no results. No matching record(s) found. but before changing to OGR everything worked fine. Has anyone some hints, what is wrong? i attached the layer-definition. regards Thorsten LAYER NAMEVerwaltungseinheiten CONNECTIONTYPE OGR #DATAVE.shp CONNECTION VE.shp TYPEPOLYGON STATUS OFF TEMPLATE'/global.html' DUMPTRUE CLASS NAME Verwaltungseinheiten STYLE OUTLINECOLOR000 000 200 WIDTH 1 END END METADATA WMS_TITLE Verwaltungseinheiten WMS_SRS "EPSG:31467" WFS_TITLE Verwaltungseinheiten WFS_SRS "EPSG:31467" WFS_FEATUREID VE GML_FEATUREID VE GML_INCLUDE_ITEMS ALL END END___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users