Re: [mapserver-users] msProcessProjection(): Projection library error. no system list, errno: 13

2009-10-13 Thread Lars Lingner
Adrian Popa schrieb: Hmm, any idea on this one? How can I find out if proj is trying to read the epsg file? I'm thinking of using strace to see what files it tries to open, but I don't know what syntax to use to try to project from 4326 to 900913... Just to clarify: - Your data is in wgs84

[mapserver-users] Pls help!! Mapinfo Tab Objects and Symbols

2009-10-13 Thread ibrahimsaricicek
Hi all, I have a tab file including points and lines joint to points. With ogr2ogr i've converted those to postgis as GEOMETRY type. How can i show them on mapserver as it's seen on Mapinfo. I've added a screenshot of 2 objects on Mapinfo with symbols.

Re: [mapserver-users] Glacier symbology

2009-10-13 Thread Milo van der Linden
Hello Bill, I cannot provide you with a free glacier icon, although I would love to draw one. I also need to make a symbol for mangrove forest to use in conjunction with openstreetmap. However, you triggered me to share some other information: I find that a good source ánd a good place to share

Re: [mapserver-users] msProcessProjection(): Projection library error. no system list, errno: 13

2009-10-13 Thread Adrian Popa
Update: I have symlinked the null file to epsg, and now strace shows that the file is read, but I still get the same error when trying to call WMS GetMap... :( [r...@terra map]# ls -l /usr/share/proj/null lrwxrwxrwx 1 root root 20 Oct 13 10:50 /usr/share/proj/null - /usr/share/proj/epsg

Re: [mapserver-users] Glacier symbology

2009-10-13 Thread Alex Mandel
I think this is a general issue for all the of the FOSS GIS stack. There are several relatively new lists from OSGeo: carto and graphics (not sure why these aren't the same list) http://lists.osgeo.org/mailman/listinfo Check and see if there's something here for you, the US Park Service has a

Re: [mapserver-users] msProcessProjection(): Projection library error.no system list, errno: 13

2009-10-13 Thread Rahkonen Jukka
Hi, First, it is possible to tell Mapserver where to find the projection files in the mapfile, in MAP section. Excerpt from http://www.mapserver.org/mapfile/map.html PROJ_LIB [path] The CONFIG parameter can be used to define the location of your EPSG files for the Proj.4 library. Setting

[mapserver-users] Problem with configure

2009-10-13 Thread Alan Hale
Hi Running on CentOS5 I am getting an error with configure relating to gd. Here is the last part of the output: MapServer Version from mapserver.h: '5.4.2' checking if pkg-config path is provided... checking for pkg-config... /usr/bin/pkg-config configure: checking where FreeType 2.x is

Re: [mapserver-users] msProcessProjection(): Projection library error. no system list, errno: 13

2009-10-13 Thread Adrian Popa
Thank you for your reply Lars, my info is inline. Lars Lingner wrote: Adrian Popa schrieb: Hmm, any idea on this one? How can I find out if proj is trying to read the epsg file? I'm thinking of using strace to see what files it tries to open, but I don't know what syntax to use to try to

[mapserver-users] MapServer CGI GDAL Raster reprojection

2009-10-13 Thread Heiko Schröter
Hi, is there a small howto recipe of how to reproject Raster Images via MapServer (CGI call) with the Gdal Lib ? I need to go from EPSG:4326 to +proj=ortho +lat_0=90 (Polar View) and i cannot figure out how to pass the Projection. The output image stays in EPSG:4326. This is not a proj4 issue.

Re: [mapserver-users] msProcessProjection(): Projection library error.no system list, errno: 13

2009-10-13 Thread Adrian Popa
Hello Jukka, I have added the PROJ_LIB statement in the map file. Unfortunately, nothing changes... strace still shows that shp2img tries to read /usr/share/proj/null (and it succeeds). I have added the line with the google projection to the end of the epsg (and null) file. I still get the

[mapserver-users] Templating problem

2009-10-13 Thread Clément MONIER
Hi, Classic problem : I want to get features coordinates in pixels inside my MS map picture (db = shapefiles) to build an html map tag. I've followed this webpage http://mapserver.org/output/imagemaps.html And succeeded in getting pixels-coordinates and attributes with templates. But it seems

Re: [mapserver-users] msProcessProjection(): Projection libraryerror.no system list, errno: 13

2009-10-13 Thread Rahkonen Jukka
Hi, I fear I can't help you more with this. There might be something wrong with environment settings or in compiling Mapserver but I only use MS4W so I have never suffered from these problems. -Jukka- Lähettäjä:

VS: [mapserver-users] MapServer CGI GDAL Raster reprojection

2009-10-13 Thread Rahkonen Jukka
Hi The projection of your Bild layer is PROJECTION proj=ortho END I am not familiar with ortho projection, but are you sure that this is enough? In your gdalwarp example you are using also lat_0=90. There is no difference in reprojecting raster or vector data. This is a working

Re: VS: [mapserver-users] MapServer CGI GDAL Raster reprojection

2009-10-13 Thread Heiko Schröter
Am Dienstag 13 Oktober 2009 12:30:32 schrieben Sie: Hello, the mapfile i've tested looks similar to your setup. I'am just trying to strip out everything which is not needed. But still it gets stuck in the EPSG:4326 projection. From strace i can see that libgdal is touched but the search fails

[mapserver-users] WCS GetCoverage question

2009-10-13 Thread bartvde
Hi list, my bathymetry source raster (tiff file) has a field value_0 which contains the depth in meters. I've got a classification on the raster on value_0. When doing a WCS GetCoverage request, I get out a Geotiff raster, but it contains value_0, value_1 and value_2 with the R G B values

Re: [mapserver-users] WCS GetCoverage question

2009-10-13 Thread Rahkonen Jukka
Hi, Here is my outputformat from some multichannel Landsat experiment. I remember that IMAGEMODE BYTE was needed for creating multichannel GeoTIFFS. Let's hope it makes something good with depth values as well. -Jukka- OUTPUTFORMAT NAME GEOTIFF MIMETYPE image/tiff DRIVER

Re: [mapserver-users] WCS GetCoverage question

2009-10-13 Thread bartvde
Hi Jukka, it results in a fully black tiff file with all values 0. I am using MS 5.2.0. Best regards, Bart Hi, Here is my outputformat from some multichannel Landsat experiment. I remember that IMAGEMODE BYTE was needed for creating multichannel GeoTIFFS. Let's hope it makes something

Re: [mapserver-users] Pls help!! Mapinfo Tab Objects and Symbols

2009-10-13 Thread Daniel Morissette
ibrahimsaricicek wrote: Hi all, I have a tab file including points and lines joint to points. With ogr2ogr i've converted those to postgis as GEOMETRY type. How can i show them on mapserver as it's seen on Mapinfo. I've added a screenshot of 2 objects on Mapinfo with symbols. Can you keep

Re: [mapserver-users] WCS GetCoverage question

2009-10-13 Thread Frank Warmerdam
bart...@osgis.nl wrote: Hi Jukka, it results in a fully black tiff file with all values 0. Bart, I think Jukka is going in the right direction with use of the IMAGEMODE, but if your bathymetry data has negative values you might want to substitute IMAGEMODE INT16 for signed sixteen bit

Re: [mapserver-users] Problem with configure

2009-10-13 Thread Frank Warmerdam
Alan Hale wrote: Hi Running on CentOS5 I am getting an error with configure relating to gd. Here is the last part of the output: ... libiconv found. Enabling internationalization (-DUSE_ICONV) configure: checking for GD 2.0.16 or higher... checking for gdFontCacheSetup in -lgd... yes

[mapserver-users] Control access to WMS

2009-10-13 Thread Steve . Toutant
Hi, I defined a WMS Raster layer that I use in my OpenLayers/GeoExt apps, I would like to control the access to this WMS, so people can use it via my application, but can not call the WMS to use it in their client application. The reason is there is a context that comes with this WMS. Without

[mapserver-users] Mapserver, WFS, ArcMap 8.3, and WKT in a non-spatial database

2009-10-13 Thread Brent Fraser
A couple of questions: 1. Will Mapserver WFS work with ArcMap 8.3 Interoperability Add-on - does it require the new-ish MS RFC 36: Simplified template support for query output to get ArcMap 8.3 acceptable WFS syntax? 2. Is there a way to have Mapserver pass the bounding box of an WFS query

Re: [mapserver-users] help in Building mapserver

2009-10-13 Thread Frank Warmerdam
Medve Zsolt wrote: Hy! I have a problem to re-build from source code the mapserver because it doesnt work with SDE. (mapserv.com -v gives theres is no SDE input) Can anybody help me? Or do someone know anybody or just a good description about building mapserver? (expecialy SDE) IF you do help

Re: [mapserver-users] help in Building mapserver

2009-10-13 Thread Smith, Michael ERDC-USACE-NH
The --with-sde-version= \ needs to be there for more recent versions of SDE (I'm not sure exactly when it changed) as they have stopped including the version in the library files (eg libsde83.so is used in 8.3 versions, just libsde.so is used in 9.3). Mike On 10/13/09 12:10 PM, Frank Warmerdam

Re: [mapserver-users] Control access to WMS

2009-10-13 Thread Joshua Hevenor
Hi Steve, I haven't seen a reply here yet so I thought I throw in my 2 cents. I don't know of anything specific in MapServer that would do what you're looking for. But many/most WMS services are run through a wrapper script (php or server-side script of your choice). It would be pretty easy to

Re: [mapserver-users] [Fwd: mapserver - postgis bug]

2009-10-13 Thread Peter Freimuth
P Kishor schrieb: On Mon, Oct 12, 2009 at 3:00 PM, Peter Freimuth pfreim...@arcor.de wrote: My Mapserver Configuration owsu...@map2:~ /srv/www/cgi-bin/mapserv -v MapServer version 5.4.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG

Re: [mapserver-users] Control access to WMS

2009-10-13 Thread Milo van der Linden
You might consider implementing an specific wms access control proxy. 52North offers this on their open source stack: http://52north.org/maven/project-sites/security/ steve.tout...@inspq.qc.ca schreef: Hi, I defined a WMS Raster layer that I use in my OpenLayers/GeoExt apps, I would like

Re: [mapserver-users] Control access to WMS

2009-10-13 Thread Martin Kofahl
WSS/WAS requires authentication. I wonder if and which http_referer header is usually sent to the server when using openlayers. You could check if this header either contains the url where your site runs or if it is empty/not set for clients not sending this header. This can be realized in the

[mapserver-users] python mapscript - FORMATOPTION

2009-10-13 Thread Ivan Mincik
Dear all, I am trying to set FORMATOPTION QUANTIZE_FORCE=ON option using python mapscript. I can successfully use this code snippet to write OUTPUTFORMAT in to my mapfile: of = mapscript.outputFormatObj(AGG/PNG,PNG_AGGAQ) of.name = PNG_AGGAQ

Re: [mapserver-users] python mapscript - FORMATOPTION

2009-10-13 Thread Guillaume Sueur
Hi, Just an idea on the fly, because I didn't try it myself, but you could maybe try : of.setOption(QUANTIZE_FORCE, ON) and see what happens... regards Guillaume Le mardi 13 octobre 2009 à 23:54 +0200, Ivan Mincik a écrit : Dear all, I am trying to set FORMATOPTION QUANTIZE_FORCE=ON option

[mapserver-users] Calling WMS layer via openlayers when STATUS ON

2009-10-13 Thread Paul Curran
Hi, Ive been struggling with this problem for a little while now. My WMS layer will only display if STATUS is set to DEFAULT within the mapfile. If status is set to ON, i get following error message within OL Map window. WMSLoadGetMapParams(): WMS Server Error. What am i missing to call the

Re: [mapserver-users] python mapscript - FORMATOPTION

2009-10-13 Thread Ivan Mincik
On Wed, Oct 14, 2009 at 12:58 AM, Guillaume Sueur no-re...@neogeo-online.net wrote: Hi, Just an idea on the fly, because I didn't try it myself, but you could maybe try : of.setOption(QUANTIZE_FORCE, ON) and see what happens... Thanks a lot Guillaume. It is working, but I am sure, I was

Re: [mapserver-users] Calling WMS layer via openlayers when STATUS ON

2009-10-13 Thread P Kishor
On Tue, Oct 13, 2009 at 6:37 PM, Paul Curran paul_ever...@hotmail.com wrote: Hi, Ive been struggling with this problem for a little while now. My WMS layer will only display if STATUS is set to DEFAULT within the mapfile. If status is set to ON, i get following error message within OL Map

[mapserver-users] Tileindex of DGN files

2009-10-13 Thread TA
Dear all, I make a tileindex to my DGN files by ogrtindex tool and create a shp file. The mapserver can connect to this file, but nothing is displayed. There is my code related to the DGN part: Layer Name LND group raster type line Connectiontype OGR

Re: [mapserver-users] Tileindex of DGN files

2009-10-13 Thread Brent Fraser
Try removing the Connectiontype and specify tileindex /ms4w/DGN/ogrindex.shp. The empty CLASS may be a problem too; try putting a STYLE object in there. Best Regards, Brent Fraser Dear all, I make a tileindex to my DGN files by ogrtindex tool and create a shp file. The mapserver can

Re: [mapserver-users] Tileindex of DGN files

2009-10-13 Thread TA
Brent Fraser wrote: Try removing the Connectiontype and specify tileindex /ms4w/DGN/ogrindex.shp. The empty CLASS may be a problem too; try putting a STYLE object in there. Best Regards, Brent Fraser Dear all, I make a tileindex to my DGN files by ogrtindex tool and create a

Re: [mapserver-users] Control access to WMS

2009-10-13 Thread Daniel Morissette
Martin Kofahl wrote: WSS/WAS requires authentication. I wonder if and which http_referer header is usually sent to the server when using openlayers. You could check if this header either contains the url where your site runs or if it is empty/not set for clients not sending this header. This

[mapserver-users] MapServer Code Sprint at FOSS4G

2009-10-13 Thread Daniel Morissette
For those who are going to be in Sydney next week and would like to work on MapServer at the Code Sprint, please enter your name on the wiki page so the organizers can get a sense for attendance numbers: http://wiki.osgeo.org/wiki/FOSS4G_2009_Code_Sprint#MapServer We will focus mainly on the