Re: [mapserver-users] openlayers in vs2005 website

2009-05-27 Thread Adam Eskreis
Pretty sure since OpenLayers is pure javascript, running it in a .net environment would be just fine -Adam On Mon, May 25, 2009 at 11:17 AM, Paolo Corti pco...@gmail.com wrote: sunny74 wrote: I want to use openlayers javascript library for doing operations like pan zoom, rectangular

[mapserver-users] Problems getting a JP2 or TIFF raster layer drawen

2009-05-27 Thread Michael Da Silva Pereira
Hi, I am having a problem displaying a JP2 / TIFF image in mapserver, it draws my shape files. However I can not get it to draw my RASTER layer :( Any Suggestions? MAP SIZE 1300 600 DEBUG 5 EXTENT 23.5 -34 23.6 -25 IMAGECOLOR 180 180 250 UNITS DD

Re: [mapserver-users] Problems getting a JP2 or TIFF raster layer drawen

2009-05-27 Thread David Martinez Morata
Hello. Try to change the palcement of your layers and configure your shape with TRANSPARENT TRUE varible.. Something like LAYER NAME '2627D' TYPE RASTER STATUS ON DATA /var/www/ms-tmp/2627D.JP2 END LAYER NAME vereenigingroads STATUS ON DATA

RE: [mapserver-users] MapServer Demo

2009-05-27 Thread Fawcett, David
Chris and I solved this one yesterday. It was the problem that Ben and Brent also pointed out. The solution was either to drop the '/' prefix or get rid of the 'C:/'. David. -Original Message- From: mapserver-users-boun...@lists.osgeo.org

Re: [mapserver-users] Problems getting a JP2 or TIFF raster layer drawen

2009-05-27 Thread Frank Warmerdam
Michael Da Silva Pereira wrote: I am trying to display from browser using browse mode, and using shp2img to test drawing to a straight .png /home/michael/mapserver-5.4.0/shp2img -m global.map -o test.png -all_debug 1000 Michael, And what output do you see? You might also try setting the

RE: [mapserver-users] MapServer Demo

2009-05-27 Thread Paolo Corti
Thanks for the suggestion, but that doesn't do it - same error message. I have been wondering if the problem has to do with the tmp file not having permission for other (web-based) users to access it, but I tried declaring it as a system environment variable, still no success. Going round in

Re: [mapserver-users] Problems getting a JP2 or TIFF raster layer drawen

2009-05-27 Thread Michael Da Silva Pereira
It displays everything normally, except the raster, which is just not drawn GDAL: Auto register /usr/lib/gdal15plugins/gdal_GRASS.so using GDALRegister_GRASS. [Wed May 27 18:04:41 2009].197691 msLoadMap(): 0.570s [Wed May 27 18:04:41 2009].414187 msDrawMap(): Layer 0 (vereenigingroads), 0.194s

Re: [mapserver-users] Problems getting a JP2 or TIFF raster layer drawen

2009-05-27 Thread Frank Warmerdam
Michael Da Silva Pereira wrote: It displays everything normally, except the raster, which is just not drawn GDAL: Auto register /usr/lib/gdal15plugins/gdal_GRASS.so using GDALRegister_GRASS. [Wed May 27 18:04:41 2009].197691 msLoadMap(): 0.570s [Wed May 27 18:04:41 2009].414187 msDrawMap():

[mapserver-users] Attribute based symbol

2009-05-27 Thread Adam Eskreis
I am trying to create a layer that has a symbol, however, I want the symbol for each geometry to be based on a field from the database. For instance, I am trying to make a layer that would look something like this: LAYER GROUP symbol_layer TYPE point STATUS on CONNECTIONTYPE postgis

Re: [mapserver-users] Attribute based symbol

2009-05-27 Thread Steve Lime
You can bind a style symbol to an attribute. The value needs to be the name of a system already loaded by MapServer or the name of a local image. You cannot reference a image url. Steve On 5/27/2009 at 12:26 PM, in message a3cc80ca0905271026p141e3f92mf817e0e596f7...@mail.gmail.com, Adam Eskreis

Re: [mapserver-users] Attribute based symbol

2009-05-27 Thread Adam Eskreis
It doesn't seem to be working for me I get the following error from apache: [MapServer Error]: msAddImageSymbol(): Error opening image file /var/www/htdocs/maps/[symbol]. I am using the symbol as: SYMBOL [symbol] I also tried SYMBOL [symbol] neitehr works Is this only possible with

[mapserver-users] Can MapServer host JPEG2000 Interactive Protocol (JPIP) streaming?

2009-05-27 Thread John Mitchell
Hi, Can MapServer host JPEG2000 Interactive Protocol (JPIP) streaming? Thanks, John Mitchell ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Can MapServer host JPEG2000 Interactive Protocol (JPIP) streaming?

2009-05-27 Thread Frank Warmerdam
John Mitchell wrote: Hi, Can MapServer host JPEG2000 Interactive Protocol (JPIP) streaming? John, No, MapServer cannot *serve* JPIP. It may be able to act as a client to a JPIP server - using a JPIP server's output for an input to rendering. But that is not widely used and might be tricky.

Re: [mapserver-users] Attribute based symbol

2009-05-27 Thread Steve Lime
Yup, this is a 5.0+ function. Steve On 5/27/2009 at 1:59 PM, in message a3cc80ca0905271159w2f5863f7ueda9f601a8849...@mail.gmail.com, Adam Eskreis aeskr...@gmail.com wrote: It doesn't seem to be working for me I get the following error from apache: [MapServer Error]: msAddImageSymbol():

[mapserver-users] problems with 'MapServer Itasca Application (ms v5.0)'

2009-05-27 Thread Andre Steenveld sr
Hi, I try to install mapserver and to get it going but I run into some problems. Can someone advise me on what I'm doing wrong? This is what I have (and have done). Systems: 1) Windows Vista, dutch version. 2) Windows XP, dutch version. Installed mapserver as suggested in

[mapserver-users] 5.4.0 installation problem

2009-05-27 Thread Adam Eskreis
Hello all I have mapserver almost full configured, however, I can't figure out how to enable png support I am certain that my installation of GD has png support. When I run gdlib-config --libs, i get -ljpeg -lfontconfig -lfreetype -lpng12 -lz -lm /usr/local/lib/libiconv.so -Wl,-r path

[mapserver-users] Mapserver/PostGIS map file problem (double quotes in layer 'DATA' element)

2009-05-27 Thread Peter Willis
Hello, I am having a problem serving a PostGIS layer via mapserver as WFS. The problem arises from the generation/use of column names in PostgreSQL that require double quotes. ie: SELECT oid,gid, the_geom, Area,Perimeter,PixelValue FROM global_Land_poly WHERE PixelValue=1; In the map

Re: [mapserver-users] Mapserver/PostGIS map file problem (double quotes in layer 'DATA' element)

2009-05-27 Thread Adam Eskreis
You could try regex \Area\ -Adam On Wed, May 27, 2009 at 6:48 PM, Peter Willis pet...@borstad.com wrote: Hello, I am having a problem serving a PostGIS layer via mapserver as WFS. The problem arises from the generation/use of column names in PostgreSQL that require double quotes. ie:

Re: [mapserver-users] Mapserver/PostGIS map file problem (double quotes in layer 'DATA' element)

2009-05-27 Thread Peter Willis
I tried that. I get the following error: loadLayer(): Unknown identifier. Parsing error near (Area):(line 30) Mapserver doesn't appear to like the additional formatting. Do I need to recompile with system regex I wonder? Peter Adam Eskreis wrote: You could try regex \Area\ -Adam On

Re: [mapserver-users] Mapserver/PostGIS map file problem (double quotes in layer 'DATA' element)

2009-05-27 Thread Simon Haddon
Have you tried DATA 'the_geom from (select oid,gid, the_geom, Area,Perimeter,PixelValue FROM global_Land_poly WHERE PixelValue=1 ) AS FOO using SRID=4326' The other options is to change the table name and column names to be lower case or case insensitive. Mixed case table and column

[mapserver-users] [RESOLVED:] Mapserver/PostGIS map file problem (double quotes in layer 'DATA' element)

2009-05-27 Thread Peter Willis
After a bit of experimentation I have discovered that using single quotes, to enclose the element value, allows double quotes to be used in the query. ie: DATA 'the_geom from (select oid,gid, the_geom, Area,Perimeter,PixelValue FROM global_Land_poly WHERE PixelValue=1 ) AS FOO using

Re: [mapserver-users] Mapserver/PostGIS map file problem (double quotes in layer 'DATA' element)

2009-05-27 Thread Peter Willis
Hello, Darn!, I just sent a [RESOLVED] with the same solution. (just as I was receiving your email...) Yes, this is how I managed to to make it work. Everything works now. I guess you get the badge for that one. Thanks for your help. Peter Simon Haddon wrote: Have you tried DATA

Re: [mapserver-users] Mapserver/PostGIS map file problem (double quotes in layer 'DATA' element)

2009-05-27 Thread Simon Haddon
Thanks, Now I just need that chest. lol On Wed, 27 May 2009 16:29:54 -0700, Peter Willis pet...@borstad.com wrote: Hello, Darn!, I just sent a [RESOLVED] with the same solution. (just as I was receiving your email...) Yes, this is how I managed to to make it work. Everything works now.

[mapserver-users] MapServer: Premature end of script headers

2009-05-27 Thread Gonzalo Lionel Rodriguez
Hi everyone, I have mapserver: mapserv -v MapServer version 5.4.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WCS_SERVER SUPPORTS=THREADS INPUT=EPPL7 INPUT=OGR INPUT=GDAL INPUT=MYGIS