Re: [mapserver-users] White Picture

2009-06-02 Thread Rahkonen Jukka
Hi, Mapserver does not find your image. Try with an full image name starting with driwe letter in DATA. By the way, Is Argentina_gg for sure the name of your raster image? -Jukka Rahkonen- Gonzalo Lionel Rodriguez wrote: Hi everyone, I have a problem with my mapserver when i test the map,

RE: [mapserver-users] White Picture

2009-06-02 Thread Fawcett, David
It sounds like MapServer can't find the raster that you are using as the data source for your layer. Have you set a SHAPEPATH at the MAP level? I am guessing that you either need to put the path to your raster in SHAPEPATH, or put the absolute path to your raster in the LAYER DATA statement. If

[mapserver-users] White Picture

2009-06-02 Thread Gonzalo Lionel Rodriguez
Hi everyone, I have a problem with my mapserver when i test the map, with shp2img i have this error: # ./shp2img -m /home/orsep/public_html/gis/mapoteca/presas_gis/presas_gis.map -o /home/orsep/public_html/gis/tocado.png -all_debug 3 [Tue Jun 2 20:53:25 2009].653282 msLoadMap(): 0.002s [Tue Jun

Re: [mapserver-users] Finding the centroid given the feature

2009-06-02 Thread Varun saraf
I had my mapfile extent changed and it worked "Perfect". Thanks a lot Steve. It was a great help! On Tue, Jun 2, 2009 at 4:16 PM, Varun saraf wrote: > Thanks a lot Steve. I am able to use the itemquery to fetch the other > attributes correctly but somehow, the center of polygon isn't working > ri

Re: [mapserver-users] Finding the centroid given the feature

2009-06-02 Thread Varun saraf
Thanks a lot Steve. I am able to use the itemquery to fetch the other attributes correctly but somehow, the center of polygon isn't working right. Its returning to me, the co-ordinates that are outside the bounds of the mapping application. All my data is in the actual geographic co-ordinate system

Re: [mapserver-users] Finding the centroid given the feature

2009-06-02 Thread Steve Lime
Yes, you'd need to create a template for that. You could return JSON, XML, csv or whatever. This would be the most straightfoward using 5.2 or ideally 5.4.1 (due out today) and the new style templates. You could create a template output format to use like so: OUTPUTFORMAT NAME 'geom_center'

Re: [mapserver-users] Non stoping generation

2009-06-02 Thread Alexandre Dube
Hi, That looks like a TileCache problem. Try the TileCache mailing list. Do you use a MapServerLayer in your tilecache.cfg ? If so, use WMSLayer instead. Alexandre Nelson Branco wrote: I have a problem generating a few images, tiles with TileCache, that run “forever” until Web server time

Re: [mapserver-users] Finding the centroid given the feature

2009-06-02 Thread Varun saraf
Center of the geometry works perfect. I need to get access to any point inside the polygon feature. I believe I can use an itemQuery on mapserver to query the attribute but how does mapserver return the center point? Do I need to create an HTML template for that too? On Mon, Jun 1, 2009 at 4:11 PM

Re: [mapserver-users] WMS + Layers with OPACITY

2009-06-02 Thread Rahkonen Jukka
Hi, Satellite images tend to look ugly with 8 bits as you are serving now. Try with 24-bit png by changing IMAGEMODE to RGB. -Jukka Rahkonen- Alvarez Saldarriaga wrote: > > Hey, I'm trying to use a WMS map from the NASA as myy BASE > map and som other layers (SHP), but I don't know why the >

Re: [mapserver-users] Re: Upgrading 5.2 -> 5.4 generating CGI error on IIS(5.1 and 6.0) ... Possible BUG?

2009-06-02 Thread Paul james
Probably is a mapserver CGI bug... Paul On Sat, May 30, 2009 at 11:56 PM, Brian Fischer wrote: > Paul, > > Just to let you know you are not alone. I am experiencing the same problem > with MS4W 3.0 beta 1 and 2. I’ve reported it as a bug to the MS4W project. > Here’s a link to the bug report

[mapserver-users] Non stoping generation

2009-06-02 Thread Nelson Branco
I have a problem generating a few images, tiles with TileCache, that run "forever" until Web server timed out (after more than 5 minutes). The tiles failing are a rare occurrence, 1 in a half million or so, and all in zoom level with a resolution of 0.29858214168548585 in epsg:900913 projection