[mapserver-users] PHP mapscript recenter problem

2010-01-22 Thread Donatas Malinauskas
HGood day, I have some problem. I want to recenter my map exactly to users given georeferenced coordinates. For that purpose I use php mapscript function - zoompoint(ZOOMFACTOR,$myXY, WIDTH, HEIGHT, EXTENT) with ZOOMFACTOR=1. But this function doesn't work correctly. ZoomPoint function centers

[mapserver-users] Projection error, RT90 in MapServer

2010-01-22 Thread Fia
Hello, I have a problem showing data in the former Swedish standard reference system RT90 2,5 gon V. The point is projected ~250 meters northwest of where it should be. I have used the projection parameters for MapServer from Spatialreference.org. The underlying map projection is SWEREF 99 TM (t

[mapserver-users] required parameters WMS not used in client request: How to resolve?

2010-01-22 Thread RODIER BATISSE, ALEXANDRE
Hi everybody, I am trying to resolve this problem: some wms client, like Arcgis 9.2, does not use some required wms parameters when it makes a request. Example: Arcgis does not use the FORMAT required parameter, from GetMap request, when I do a GetFeatureInfo request. So the question is:

[mapserver-users] Raster layer as a way of branding

2010-01-22 Thread Frost89
Hi I was wondering if it's possible to generate a map with a raster layer/png in the bottom right corner? As a way of branding the map with our company logo. /Kristian -- View this message in context: http://n2.nabble.com/Raster-layer-as-a-way-of-branding-tp4439127p4439127.html Sent from the Map

Re: [mapserver-users] required parameters WMS not used in client request: How to resolve?

2010-01-22 Thread bartvde
Hi, which version of Mapserver are you using, since this was fixed a long time ago (Mapserver was made less strict): http://trac.osgeo.org/mapserver/ticket/2517 Best regards, Bart > Hi everybody, > > > > I am trying to resolve this problem: some wms client, like Arcgis 9.2, > does not use some

[mapserver-users] GRASS GIS layers -help!

2010-01-22 Thread Gazz1982
I am using GRASS GIS with gdal and ogr support: mapserv -v MapServer version 5.4.2 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERV

Re: [mapserver-users] Projection error, RT90 in MapServer

2010-01-22 Thread Rahkonen Jukka
Hi, Have you tried adding 'towgs84=0,0,0,0,0,0,0' also to RT90 definitions? -Jukka Rahkonen- > -Alkuperäinen viesti- > Lähettäjä: mapserver-users-boun...@lists.osgeo.org > [mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta Fia > Lähetetty: 22. tammikuuta 2010 10:56 > Vastaanott

RE: [mapserver-users] required parameters WMS not used in client request: How to resolve?

2010-01-22 Thread RODIER BATISSE, ALEXANDRE
Hi Bart, We use 5.0.0. So we Hill upgrade it. Thanks. -Mensaje original- De: bart...@osgis.nl [mailto:bart...@osgis.nl] Enviado el: viernes, 22 de enero de 2010 10:52 Para: RODIER BATISSE, ALEXANDRE CC: mapserver-users@lists.osgeo.org Asunto: Re: [mapserver-users] required parameters W

[mapserver-users] Re: PNG24 problem in IE6

2010-01-22 Thread Frost89
You can try this: http://www.twinhelix.com/css/iepngfix/ http://www.twinhelix.com/css/iepngfix/ . -- View this message in context: http://n2.nabble.com/PNG24-problem-in-IE6-tp4408017p4439253.html Sent from the Mapserver - User mailing list archive at Nabble.com.

Re: [mapserver-users] VRT / CSV data sources are not displayed in a layer

2010-01-22 Thread Stefan Schantz
Hi Greg, thank you! The issue was the two blanks ahead the coordinates. After I have removed them, the mapserver visualized the csv-file. Nevertheless, I don't understand, why ogr2ogr could read and transform the csv-file, but this is a different issue... Thanks! Stefan greg.lu...@scu.edu.au

[mapserver-users] mapserver using grib file

2010-01-22 Thread Martijn van der pauw
Hello, I have searched quite long for good documentation and a working example of a mapserver mapfile that uses a GRIB file. I need it to present meteorological data on the map. I didn't find it. Can somebody help me with that? Martijn ___ mapserver-use

[mapserver-users] mapscript - getting square map image from rectangular piece of space

2010-01-22 Thread wostok
Hello, I am using mapscript to obtain square map image from rectangular piece of space with method zoomPoint, but returned image isn't transformed. It's cropped not coarcted. I need something like gives wms request with BBOX=-180,-90,180,90 and WIDTH=300&HEIGHT=300. How the parameters to the zoom

[mapserver-users] queryByAttributes syntax

2010-01-22 Thread Berend Veldkamp
Hi, Where can I find more information about the queryByAttributes() function? I found http://mapserver.org/mapscript/php/index.html#layerobj-class , but it is not very detailed. By trial and error I found that for a PostGIS layer, I should use this syntax: layer.queryByAttributes(map, null, "myfi

[mapserver-users] No bound at the line end

2010-01-22 Thread ibrahimsaricicek
Hi all; I use for road segments and for segment borders; STYLE OUTLINECOLOR 25 25 25 WIDTH 3 ANTIALIAS TRUE END STYLE

Re: [mapserver-users] PHP mapscript recenter problem

2010-01-22 Thread Alan Boudreault
Donatas, The x,y given to the zoomPoint function are in PIXEL, not lonlat. You cannot specify a half pixel. That said, pixel are integers, not double. Alan On January 22, 2010 03:22:30 am Donatas Malinauskas wrote: > HGood day, > > I have some problem. I want to recenter my map exactly to use

SV: [mapserver-users] Projection error, RT90 in MapServer

2010-01-22 Thread Sofia Bryntse
Hi Jukka, Thank you, I tried adding your line to my RT90 projection parameter list now, but it didn't help. The point moved 50 meters or so, but not in the right direction. (See attached screenshot.) Regards, Sofia Från: Rahkonen Jukka [jukka.rahko...@mm

Re: [mapserver-users] Projection error, RT90 in MapServer

2010-01-22 Thread Rahkonen Jukka
Hi, How about these parameters? "+proj=tmerc +lat_0=0 +lon_0=15.808278 +k=1 +x_0=150 +y_0=0 +ellps=bessel +units=m +towgs84=414.0978567149,41.3381489658,603.0627177516,-0.8550434314,2.1413465,-7.0227209516,0 +no_defs" Taken from http://www.zonefivesoftware.com/SportTracks/Forums

RE: [mapserver-users] Raster layer as a way of branding

2010-01-22 Thread Fawcett, David (MPCA)
This example should help: http://mapserver.org/faq.html#how-do-i-add-a-copyright-notice-on-the-corner-of-my-map David. -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Frost89 Sent: Friday, January 22, 2010 3

Re: [mapserver-users] PHP layer->updateFromString problem setting type and symbol name

2010-01-22 Thread Daniel Morissette
Sounds like a bug to me. Could you please file a ticket in Trac (http://trac.osgeo.org/mapserver/) about this under the "MapScript-PHP" component and one of us will have a look? Daniel Joe Franklin wrote: I really like the updateFromString functions in Mapserver Mapscript. I've eliminated m

Re: [mapserver-users] GRASS GIS layers -help!

2010-01-22 Thread Daniel Morissette
Gary, With POINT/LINE/POLYGON layer types, MapServer tries to open the DATA as shapefiles by default, that's why you get that error message. Assuming your GDAL/OGR is built with GRASS support, then you should use "CONNECTIONTYPE OGR" in your layer definition, and specify the path to the datas

RE: [mapserver-users] queryByAttributes syntax

2010-01-22 Thread Lime, Steve D (DNR)
There's a single way to call the method, it's that you don't always have to supply the query item. The method signature is queryByAttributes (map (mapObj, qitem (string), qstring (string), mode (int)); The qstring is given in a format compatible with the underlying driver. For the database

Re: [mapserver-users] Raster layer as a way of branding

2010-01-22 Thread Rahkonen Jukka
Hi, But I understood that the aim is to burn a logo from an image file in png format into output map, not a plain text annotation. Is that possible? -Jukka Rahkonen- Fawcett, David wrote: > This example should help: > http://mapserver.org/faq.html#how-do-i-add-a-copyright-notice-on-the-corn

RE: [mapserver-users] Raster layer as a way of branding

2010-01-22 Thread Lime, Steve D (DNR)
Sure, that's possible too. Just use the image in question as a symbol (e.g. SYMBOL 'mylogo.png') and the same strategy should work. # place a logo in the lower right corner LAYER NAME 'logo' TYPE POINT STATUS DEFAULT TRANSFORM LR FEATURE POINTS -10 10 END END CLASS STYLE SYMBOL 'm

Re: [mapserver-users] Raster layer as a way of branding

2010-01-22 Thread Jeff McKenna
Lime, Steve D (DNR) wrote: Sure, that's possible too. Just use the image in question as a symbol (e.g. SYMBOL 'mylogo.png') and the same strategy should work. # place a logo in the lower right corner LAYER NAME 'logo' TYPE POINT STATUS DEFAULT TRANSFORM LR FEATURE POINTS -10 10 END EN