Re: [mapserver-users] qGIS mapfile error!

2010-02-03 Thread Jeff McKenna
James Card wrote: On Tue, 02 Feb 2010 17:19:11 -0800, Vasile Cristian Stan wrote: I've created a mapfile using qGiS and when i run mapfile on the mapserver it gives me this error: loadSymbolSet(): Unable to access file. (./symbols/symbols.txt) Either make sure that you've got a valid symb

[mapserver-users] Access to a remote raster file in wms-mapfile

2010-02-03 Thread David Alda Fernandez de Lezea
Hi list, I'm trying to access a remote raster file stored in NAS device (Iomega StorCenter Pro NAS 150D) which ip address is (192.168.1.4). In my mapfile I'm putting the url like this: DATA "\\192.168.1.4\ortofotos\EUSKADI_2009_ED50.ecw" But when I try to load the wms layer, I don't get anyth

Re: [mapserver-users] high quality print from external wms

2010-02-03 Thread Rahkonen Jukka
Hi, WMS servers have often an upper limit for the output image size. If that is the case you can not do anything else than capture the print area in smaller pieces and combine them with your application. Test the service by sending WMS calls manually with different HEIGHT and WIDTH parameters.

[mapserver-users] Rendering bridges

2010-02-03 Thread tommasodb
Hallo list, how can I render road bridges, like in mapnik? (Example: http://www.openstreetmap.org/?lat=53.398022&lon=-2.35&zoom=18&layers=null) Which symbol can I use? Greets, Tom ___ mapserver-users mailing list mapserver-users@lists.osgeo.org h

[mapserver-users] colorramp and datarange on the fly?

2010-02-03 Thread Bart van den Eijnden
Hi list, is it possible to have a colorramp in Mapserver based on the min and max value in the current extent? So instead of predefining the min and max in DATARANGE, have Mapserver use the min and max value of the dataset in the current extent? If not, would it be an easy change or a very com

[mapserver-users] Re: display isolines with raster data

2010-02-03 Thread windfreak
I tested gdal_contour and it actually looks ok. I think I can use that as a pre process for mapserver. My eye immediately fell on gdal_polygonize because I think that can create polygon shapefiles. I haven't got gdal_polygonize running yet because of some compatibility errors (gdal.Polygonize() no

[mapserver-users] OCI-22053: overflow error with CONNECTIONTYPE oraclespatial

2010-02-03 Thread Stefan Schantz
Hello, I am trying to visualize some points from a oracle database (10.2) : I am using MapServer version 5.2.0 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 SUPPORT

Re: [mapserver-users] colorramp and datarange on the fly?

2010-02-03 Thread Jan Hartmann
Would be dead easy with postGIS ... Jan On 3-2-2010 12:12, Bart van den Eijnden wrote: Hi list, is it possible to have a colorramp in Mapserver based on the min and max value in the current extent? So instead of predefining the min and max in DATARANGE, have Mapserver use the min and max va

Re: [mapserver-users] msplugin_mssql2008 and getFeature()

2010-02-03 Thread stela anders
Hi... All I can say is mssql2008 is broken... I can´t use WMS GetFeatureInfo because is buggy... The CGI nquery also doest work... You should back to PostGis or something else... Stella 2010/2/3 Gabe Codina > Hi All > > I have a web mapping app based on ms 5.2.1 and php mapScript. Our busines

Re: [mapserver-users] colorramp and datarange on the fly?

2010-02-03 Thread Bart van den Eijnden
Hi Jan, can you elaborate on this approach? Using WKTRaster? Best regards, Bart On Feb 3, 2010, at 2:11 PM, Jan Hartmann wrote: > Would be dead easy with postGIS ... > > Jan > > On 3-2-2010 12:12, Bart van den Eijnden wrote: >> Hi list, >> >> is it possible to have a colorramp in Mapserver b

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

2010-02-03 Thread Frost89
That's exactly what i was looking for, thanks a lot. - Kristian -- View this message in context: http://n2.nabble.com/Raster-layer-as-a-way-of-branding-tp4439127p4507272.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapse

Re: [mapserver-users] colorramp and datarange on the fly?

2010-02-03 Thread Jan Hartmann
Hi Bart, Not sure if this is what you mean, but you can always compute a variable with the range you want. The following is inefficient, and not really dead easy, but it works. Say, in your PostGIS table "tbl", your want to display the column "val" in 10 colors, with "[minx],[miny],[maxx],[m

Re: Re: [mapserver-users] high quality print from external wms

2010-02-03 Thread DeDuikertjes
Hi, WMS services do often have an upper limit for the output image size. According to WMS specs they should advertise that in response to a getcapabilities request. Despite that, Mapserver doesn't always do that. At least my version (5.1) doesn't. Piecing together an image from smaller piece

Re: [mapserver-users] Access to a remote raster file in wms-mapfile

2010-02-03 Thread Daniel Morissette
I'd suggest you start by making sure GDAL can open the file: 1- Does "gdalinfo --formats" list the ECW format? 2- Check that you are able to open the file with gdalinfo \\192.168.1.4\ortofotos\EUSKADI_2009_ED50.ecw Daniel David Alda Fernandez de Lezea wrote: Hi list, I'm trying to access

Re: [mapserver-users] high quality print from external wms

2010-02-03 Thread Bart van den Eijnden
Marco, this is not exactly right. Only WMS 1.3 has elements in the GetCapabilities response to advertize this limit (MaxWidth and MaxHeight). WMS 1.1.X did not have this mechanism. You are using MS 5.1, and there is no WMS 1.3 support in that version. So it's logical that Mapserver can't adver

Re: [mapserver-users] high quality print from external wms

2010-02-03 Thread DeDuikertjes
Bart, OK, I stand corrected! Nice to see that there are actually people who know such things by heart. Marco Bart van den Eijnden schreef: Marco, this is not exactly right. Only WMS 1.3 has elements in the GetCapabilities response to advertize this limit (MaxWidth and MaxHeight). WMS 1.1.

Re: [mapserver-users] Using e00 files

2010-02-03 Thread Jon Miner
- Original Message From: Peter N. Schweitzer To: mapserver-users@lists.osgeo.org Sent: Tue, February 2, 2010 12:24:44 PM Subject: Re: [mapserver-users] Using e00 files On 02/02/2010 11:32 AM, Jon Miner wrote: > Now, I'm trying to layer on information from the GRANIT website: > > http:/

Re: [mapserver-users] Using e00 files

2010-02-03 Thread Peter N. Schweitzer
On 02/03/2010 09:29 AM, Jon Miner wrote: I had to specify the raster layer as: LAYER NAME "usgs" TYPE RASTER STATUS on DATA o43071a4.tif PROJECTION "init=epsg:26719" END END So, I think the answer to your question is, no they're not in the same projection. What do I nee

RE: [mapserver-users] Rendering bridges

2010-02-03 Thread Lime, Steve D (DNR)
What feature type are bridges represented with in OpenStreetMap? -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of tommasodb Sent: Wednesday, February 03, 2010 6:08 AM To: mapserver-users@lists.osgeo.org Subject:

RE: [mapserver-users] colorramp and datarange on the fly?

2010-02-03 Thread Lime, Steve D (DNR)
How big a change would depend on the implementation. The brute force approach where you simply loop through features once to compute ranges and then again to draw would be probably pretty straight forward and driver independent. Wouldn't be fast (but would be simple). Complexity would be added a

Re: [mapserver-users] Rendering bridges

2010-02-03 Thread Stephen Woodbridge
Lime, Steve D (DNR) wrote: What feature type are bridges represented with in OpenStreetMap? I believe they are just vector "ways" that have an attribute tag on them like tunnel=yes or bridge=yes So you would just add an additional STYLE to draw the dark outline before the road or you could

RE: [mapserver-users] Rendering bridges

2010-02-03 Thread Fawcett, David (MPCA)
The feature that he is referencing is just a line segment with an additional attribute of 'bridge=yes'. * bridge: yes * highway: trunk * layer: 1 * name: Manchester Road * ref: A56 If you just wanted to use the road data and not create an additional bridges data set, you w

Re: [mapserver-dev] RE: [mapserver-users] colorramp and datarange on the fly?

2010-02-03 Thread Jan Hartmann
If you allow two passes, you can have all sorts of summarized values in the template, to be used in the second pass, like Bart's actual extent used for coloring. Doesn't look to difficult to implement to me, as long as the two passes only get called when really necessary. I'm not sure if perfor

[mapserver-users] WMS Mapfile implementation

2010-02-03 Thread Joseph Harwood
Greetings, I have a 2 part question. The USGS offers aerial imagery WMS service. This URL shows the location: http://seamless.usgs.gov/wms_services.php?layerid=15 I want to incorporate a WMS service from the USGS that references many layers (in this case, county aerial imagery). The getcapabilit

Re: [mapserver-users] Rendering bridges

2010-02-03 Thread tommasodb
Stephen Woodbridge wrote: Check out this: http://code.google.com/p/mapserver-utils This code has an example of how to do that. -Steve W Hallo Stephen, thanks, but unfortunately the rendering of bridges are not configured there. cheers, tom ___ ma

Re: [mapserver-dev] RE: [mapserver-users] colorramp and datarange on the fly?

2010-02-03 Thread Stephen Woodbridge
Right, I think there are two use cases: 1) data exploration - can be slower but needs flexibility 2) production serving - needs to be fast, and probably limits flexibility to some predefined models I think that there is also another angle to this, which is how the summary data is computed f

Re: [mapserver-dev] RE: [mapserver-users] colorramp and datarange on the fly?

2010-02-03 Thread Stephen Woodbridge
To add a little more to this... What I have done in the past for thematic maps is to do the analysis in the database and to bin the data into a new column or columns for each analysis. Then in my mapfile, I can select the column that I want to display. This made it easy to get fast maps becaus

Re: [mapserver-users] Layer (line) with LABELITEM...

2010-02-03 Thread Paul james
Hi Steve! Is it posible to do that now with new mapserver? Thanks On Mon, Oct 20, 2008 at 5:40 PM, Steve Lime wrote: > Hi Paul: For now you must have 2 layers. There's no way to make one > style apply > to the line work and the another to a label marker. That may change in > 5.4 but for > now yo

RE: [mapserver-users] Rendering bridges

2010-02-03 Thread Lime, Steve D (DNR)
I don't believe this will get you the desired effect. You'll get the lines but you'll also get the line end caps. That's the real trick, turning those off. I'm not sure that you can. Steve -Original Message- From: Fawcett, David (MPCA) Sent: Wednesday, February 03, 2010 10:13 AM To: Li

RE: [mapserver-dev] RE: [mapserver-users] colorramp and datarange on the fly?

2010-02-03 Thread Lime, Steve D (DNR)
At one point I toyed with the idea of supporting a .stats file for a layer and supplying a routine (command-line) that would populate it. The file would contain data like you're talking about. Doesn't help with the on-the-fly needs Bart was articulating. Steve -Original Message- From:

Re: [mapserver-users] Rendering bridges

2010-02-03 Thread Christy Nieman
Hi, If you draw it in two layers, one with the colour and width you want for the bridges, and the other with the road line to go on top, you will essentially cover up the end caps. The bridges layer would have to come first in the mapfile, followed by the road line layer. Christy -- Christy

RE: [mapserver-users] Rendering bridges

2010-02-03 Thread Lime, Steve D (DNR)
Good idea. The width of the bridge would have to be larger than the road so it sticks out a bit at well... From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Christy Nieman Sent: Wednesday, February 03, 2010 12:13 PM To: mapserver-users@l

RE: [mapserver-users] OCI-22053: overflow error with CONNECTIONTYPEoraclespatial

2010-02-03 Thread Nolte, Tim
Stefan, Do you have the Georaptor extension installed in SQL Dev? Have you tried to run the verification on all of the geom data in that table? - Tim Timothy J Nolte - tno...@ilpcs.com Network Planning Engineer 4717 Broadmoor Ave, Suite G Kentwood, MI 49512 Office: 616-656-5163 PCS:   

[mapserver-users] Triangle symbol

2010-02-03 Thread Steve . Toutant
Hi, I need to create 2 triangles as symbol. I thought that would be an easy task but I can'T make it works!! >From this example http://mapserver.org/mapfile/symbology/examples.html#example-3-vector-triangle-marker-symbol I use SYMBOL NAME "triangle" TYPE vector POINTS 0 4 2 0 4

Re: [mapserver-users] Rendering bridges

2010-02-03 Thread Stephen Woodbridge
This is just from memory (haven't tried it, but something like this should work wit agg on 5.6 bridge gets a solid black outline tunnel gets a dashed black outline others get a normal rendition Try playing with this LAYER CLASS # if its a bridge draw it here EXPRESSION ("[bridge]" == "y

Re: [mapserver-users] Access to a remote raster file in wms-mapfile

2010-02-03 Thread Rahkonen Jukka
Hi, I guess that you will also need to configure Apache server so that it gives an access to the remote disk. I have not done it with IP-address but by assigning a drive letter for it first. This has a side effect that Apache cannot be installed as Windows service in a simple way. -Jukka Rah

Re: [mapserver-users] msplugin_mssql2008 and getFeature()

2010-02-03 Thread Tamas Szekeres
Gabe, I suspect your issue may be related to some parsing problem with the DATA section. I think you might want to try defining a single view for your data and then use this view to define the DATA section like: gExtent from MyView using unique [iId] using SRID=4326 Best regards, Tamas 2010

RE: [mapserver-users] Triangle symbol

2010-02-03 Thread Lime, Steve D (DNR)
The origin for graphics coordinates is in the UL corner of an image. Symbol defs are the same with 0,0 being the UL corner of a symbol. Steve From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of steve.tout...@inspq.qc.ca Sent: Wednesday, F

RE: [mapserver-users] msplugin_mssql2008 and getFeature()

2010-02-03 Thread Gabe Codina
Thanks I have a work around - I am maintaining the selection in the database and have defined a class to highlight the selected features - ironically making my data section even more verbose. If I have to come back to this I will have a look at the simple view approach (you should see some of my

[mapserver-users] unsubscribe

2010-02-03 Thread W.John Guineau
___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users

RE: [mapserver-users] Access to a remote raster file in wms-mapfile

2010-02-03 Thread David Alda Fernandez de Lezea
Thanks for your answers: Daniel: I tried what you mentioned: 1- Does "gdalinfo --formats" list the ECW format? Yes it does. Supported Formats: VRT (rw+): Virtual Raster GTiff (rw+): GeoTIFF NITF (rw+): National Imagery Transmission Format RPFTOC (ro): Raster Product Format TO