Re: [mapserver-users] PHP mapscript - browser showing blank page

2009-03-03 Thread kapilmanoj
Hi pietro, As you suggested me, i checked the error_log file , there is no such error related to php. Actually in my case, its projecting the imagecolor 256 255 255 , the faded green color with the respective width and height in the browser, but it not showing up the map layers . its

Re: [mapserver-users] PHP mapscript - browser showing blank page

2009-03-03 Thread Pietro Giannini
Kapilmanoj, check the extent of your data sources. Maybe you set wrong extent in map file, so the layers are visible but no data overlays the defined window. bye ...pg kapilmanoj ha scritto: Hi pietro, As you suggested me, i checked the error_log file , there is no such error related to

[mapserver-users] Mapserver WMS seem not to read +towgs84 parameters

2009-03-03 Thread Rahkonen Jukka
Hi, I am using Mapserver version 5.2.0 from MS4W delivery through WMS 1.1.1. and I was now trying to add the missing +towgs84 parameters for the Finnish epsg:2393 projection. I located the epsg file from MS4W\proj\nad directory and edited it from this: # KKJ / Finland Uniform Coordinate

Re: [mapserver-users] How to use NQUERY to identify features at a point?

2009-03-03 Thread Arjen de Korte
Steve, Dan, Thank you for your answers. Using imgext and imgsize was the solution! In this case query instead of nquery was not an option, since query only returns one result. In case I would like to query by bounding box (instead of point), would the correct query be something like

[mapserver-users] Database connection in postgresql

2009-03-03 Thread rohan phatak
Hello friends, I am using map server application in which i am displaying my map in web browser. I am creating button in that browser and on that button i want to attach my database connection means if i click this button the database/tables should be open so how to proceed that?

Re: [mapserver-users] (no subject)

2009-03-03 Thread Dan Little
Check the documentation on the metaTile it requires having PIL installed but that is not really a big hassle. From: Nelson Correia nelson...@hotmail.com To: mapserver-users@lists.osgeo.org Sent: Tuesday, March 3, 2009 6:17:10 AM Subject: [mapserver-users] (no

Re: [mapserver-users] Database connection in postgresql

2009-03-03 Thread Alexandre Dube
rohan phatak wrote: Hello friends, I am using map server application in which i am displaying my map in web browser. I am creating button in that browser and on that button i want to attach my database connection means if i click this button the database/tables should be open so

RE: [mapserver-users ] Mapserver images d oesn't fit well on a tiling scheme‏

2009-03-03 Thread Nelson Correia
With metaTile I can issue a pre-defined number of tiles that fit well. But this is per-request (if I'm right). For instance, if I make two consecutive requests of 4 tiles each from consecutive map zones, I get two sets of tiles that does not fit with each other (the first 4 do not fit side

Re: [mapserver-users] Mapserver images doesn' t fit well on a tiling scheme‏

2009-03-03 Thread Dan Little
I think you're a bit wrong there. If you build the Cache using tilecache, when you use the metaTiles it will take a larger sample than the image being generated, for example if you have a 3x3 meta tile grid, the center tile of the nine-tile grid will be used. I had the exact same problem you

[mapserver-users] Re: Mapserver WMS seem not to read +towgs84 parameters

2009-03-03 Thread Rahkonen Jukka
I forget to mention that I am using epsg:3067 in my WMS requests while image data is in epsg:2393 so Mapserver for sure is reprojecting. -Jukka- Lähettäjä: Rahkonen Jukka Lähetetty: 3. maaliskuuta 2009 14:59 Vastaanottaja: mapserver-users@lists.osgeo.org

Re: [mapserver-users] How to use NQUERY to identify features at apoint?

2009-03-03 Thread Steve Lime
You have two choices: 1) just use mapext or 2) use imgbox in conjunction with imgext and imgsize Option 1 is used when you're operating independent of a map interface (usually) and option 2 is common when your bbox is given in pixels (i.e. drawing a box on a map). Steve Arjen de Korte

RE: [mapserver-users ] Mapserver images d oesn't fit well on a tiling scheme‏

2009-03-03 Thread Nelson Correia
I'm not sure if I got it right... When I request a 3x3 meta tile grid, tilecache only caches the center image? What if I request the image on the right of it and again another image to the right? Tilecache will issue new and overlapped requests to Mapserver? Or for the second request it will

Re: [mapserver-users] Mapserver images doesn' t fit well on a tiling scheme‏

2009-03-03 Thread Dan Little
There are two steps to a tilecache... Step 1: Seeding it. Step 2: Querying from it. Metatile usefulness is best seen while seeding the tile cache. If you look at the attached graphic (a rough estimation of a 3x3 meta-tile setup) then you'll see as the tilecache seed iterates through the map,

Re: [mapserver-users] Mapserver images doesn't fit well on a tiling scheme???

2009-03-03 Thread Christopher Schmidt
On Tue, Mar 03, 2009 at 08:31:05AM -0800, Dan Little wrote: There are two steps to a tilecache... Step 1: Seeding it. Step 2: Querying from it. Metatile usefulness is best seen while seeding the tile cache. If you look at the attached graphic (a rough estimation of a 3x3 meta-tile setup)

[mapserver-users] DGN V8 mapserver

2009-03-03 Thread Holger Schiebold
Hi, is it possible to use Microstation DGN V8 files in Mapserver? I know it works for V7 files using OGR but I need this functionality for V8 files also. Could this work using the dgndirect library and (if so) can it be integrated in GDAL? Has anyone of you some experience with that? Would

Re: [mapserver-users] Mapserver images doesn't fit well on a tiling scheme???

2009-03-03 Thread thomas bonfort
To summarize, here is the way to *completely* avoid truncated labels and edge artifacts: * use a 10 pixel metabuffer in your tilecache config (the number of metatiles is irrelevant, but as Chris points out, there'll be more labels included if you use a 3x3 (or more) metatiling scheme than a 1x1

Re: [mapserver-users] Re: Mapserver WMS seem not to read +towgs84 parameters

2009-03-03 Thread Frank Warmerdam
Rahkonen Jukka wrote: I forget to mention that I am using epsg:3067 in my WMS requests while image data is in epsg:2393 so Mapserver for sure is reprojecting. Jukka, I believe the problem is that EPSG:3067 expands as: +proj=utm +zone=35 +ellps=GRS80 +units=m +no_defs with no +towgs84

Re: [mapserver-users] Mapserver images doesn't fit well on a tiling scheme???

2009-03-03 Thread Dan Little
Thanks Chris and Thomas for clarifying... I think my thoughts were correct and my descriptions were not... go figure. MfG - Original Message From: thomas bonfort thomas.bonf...@gmail.com To: Christopher Schmidt crschm...@metacarta.com Cc: Dan Little danlit...@yahoo.com;