[mapserver-users] how to display datas selected from the combobox in map

2009-03-25 Thread syed mohseen
hi, ia m newbie to fgs and i have created amap all i have to do is i want to display the name in my map when i selct the name from my combobox as it is already saved in the database will any help me out to overcome this problem any help appreciated thanks in advance syedmohseen

[mapserver-users] Problems in making AGG outputformat for WMS

2009-03-25 Thread Rahkonen Jukka
Hi, This MapServer version is 5.2.1 from MS4W, and it tells me for examle: MapServer version 5.2.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG So it should support AGG rendering. Now I have created agg OUTPUTFORMAT about as

[mapserver-users] Perl mapscript installation problem

2009-03-25 Thread Alan Boudreault
Hi, I've tried to install Perl Mapscript... i'm not familiar with perl in general. I've followed the instructions in the readme file and now i got this error when i try a script: Can't locate auto/mapscript/mapObj/swig_scale_.al in @INC (@INC contains: .

Re: [mapserver-users] Perl mapscript installation problem

2009-03-25 Thread Steve Lime
What's the script look like? Alan Boudreault aboudrea...@mapgears.com 03/25/09 7:39 AM Hi, I've tried to install Perl Mapscript... i'm not familiar with perl in general. I've followed the instructions in the readme file and now i got this error when i try a script: Can't locate

[mapserver-users] ogr connection to postgis problems

2009-03-25 Thread Travis Kirstine
I am trying to test a connection to a postgis db using ogrinfo and am having difficulties. I am running the command on the same server that hosts the postgis db. I checked the pg_hba.config file to see if it allows local connections and everything looks OK but I still get Failure when

Re: [mapserver-users] ogr connection to postgis problems

2009-03-25 Thread Jeff McKenna
Travis Kirstine wrote: I am trying to test a connection to a postgis db using ogrinfo and am having difficulties. I am running the command on the same server that hosts the postgis db. I checked the pg_hba.config file to see if it allows local connections and everything looks OK but I still

Re: [mapserver-users] ogr connection to postgis problems

2009-03-25 Thread Stephen Woodbridge
Jeff McKenna wrote: Travis Kirstine wrote: I am trying to test a connection to a postgis db using ogrinfo and am having difficulties. I am running the command on the same server that hosts the postgis db. I checked the pg_hba.config file to see if it allows local connections and everything

Re: [mapserver-users] Problems in making AGG outputformat for WMS

2009-03-25 Thread Yewondwossen Assefa
Hi There, It is a bug. ticket related to it is http://trac.osgeo.org/mapserver/ticket/2957 and should be available for the next MapServer release. Best Regards, Rahkonen Jukka wrote: Hi, This MapServer version is 5.2.1 from MS4W, and it tells me for examle: MapServer version 5.2.1

[mapserver-users] WMS and transparent

2009-03-25 Thread Fischer, Brian
I am trying to consume this WMS service with MapServer 5.0.2 as a client and would like to make the background transparent instead of white. Is this possible mapserver? I tried the wms_transparent true, but that didn't seem to work. Thanks for any suggestions. NAME '2003orthos'

Re: [mapserver-users] WMS and transparent

2009-03-25 Thread bartvde
Hi, jpegs can not be transparent. Only if you switch to another image format like image/png. Best regards, Bart I am trying to consume this WMS service with MapServer 5.0.2 as a client and would like to make the background transparent instead of white. Is this possible mapserver? I

RE: [mapserver-users] WMS and transparent

2009-03-25 Thread bartvde
Yeah maybe OFFSITE can do this for you, give it a try, it works for normal rasters so why not for a WMS client layer (haven't tried though). Best regards, Bart Thanks for the reply. I was hoping maybe MapServer could consume that jpeg and set the white color to transparent, then mapserver

Re: [mapserver-users] WMS and transparent

2009-03-25 Thread Rahkonen Jukka
Hi, Or perhaps OFFSITE will have difficulties because jpeg compression makes totally black to almost black. If it works the result could still be only partially transparent image with some non-transparent pixels here and there. -Jukka Rahkonen- Bart wrote: Yeah maybe OFFSITE can do this

[mapserver-users] Oracle Spatial Layer + C# map script

2009-03-25 Thread Murty Maganti
Hi I am using a oracle spatial layer which has roughly 100,000 features. When I call layerObj.getExtents() function, it takes a long time to return. This is the query sent to oracle by map server SELECT SDO_AGGR_MBR(GEOM) AS GEOM from (SELECT GEOM FROM ORSPTL.PARCELS) If I run the

[mapserver-users] Installation Problems

2009-03-25 Thread Praveen Kumar Koppula
Hello, I am having problem installing mapserver which is as follows. I have already installed png,freetype and pthreads libraries. configuration with libpng,zlib and freetype was successfull. when i am trying to configure GD the error occured which is listed below for your reference. **

Re: [mapserver-users] ogr connection to postgis problems

2009-03-25 Thread Travis Kirstine
2009/3/25 Stephen Woodbridge wood...@swoodbridge.com: Jeff McKenna wrote: Travis Kirstine wrote: I am trying to test a connection to a postgis db  using ogrinfo and am having difficulties.  I am running the command on the same server that hosts the postgis db.  I checked the pg_hba.config

Re: [mapserver-users] ogr connection to postgis problems

2009-03-25 Thread Even Rouault
Travis, this is really weird. I've reviewed a bit the source of the PG driver and the influence of the read-only mode vs update mode is very thin. The only behavioural differences are : 1) the result of TestCapabilities() method depend on it, but ogrinfo doesn't request layer

[mapserver-users] msOGRFileNextShape(): OGR error. TopologyException: side location conflict

2009-03-25 Thread Tamas Szekeres
Hi All, I've found this issue when drawing a map with MapServer in a certain view. By setting the center to a slightly different position the problem disappears and the map is drawn correctly. msDrawMap(): Image handling error. Failed to draw layer named 'MainStreet'.;msOGRFileNextShape(): OGR

[mapserver-users] Move point symbols (water valves) along a line (waterline) depending on scale

2009-03-25 Thread boesiii
I have a point shapefile representing gate valves for waterlines and some of the gate valves are very close to each other and you may or may not be able to view them depending on scale. Is there a way to have MapServer automatically adjust point symbols (water valves) along a line (waterline)

[mapserver-users] nquery against mysql is ignoring 1 row from resultset

2009-03-25 Thread P. R.M.
I need help figuring out why mapserver is ignoring one row from my resultset. Ive attached all of the necessary files. testdata.sql - sql commands to setup a simple mysql table with some test data test.map - my mapfile test.ovf - the ogr/mysql file testmap.html - the html template file out.html