Re: [mapserver-users] error in raster layer

2011-04-08 Thread fruitwerks
That error is fairly vague. The first thing I would look at is
permissions. Also a good rule of thumb is to not use () in file or
directory names.

On Thu, Apr 7, 2011 at 9:16 PM, morteza shabihkhani
m.shabihkh...@gmail.com wrote:
 Hello all,

 I want to create a very simple raster layer, but I faced to this error:

 msDrawMap(): Image handling error. Failed to draw layer named 'elevation'.
 msDrawRaster(): Unable to access file. stcon using full path stcon

 this is my layer:

 LAYER
   NAME elevation
   TYPE raster
   STATUS on
   DATA stcon


   PROJECTION
     init=epsg:2260

   END

   CLASS
  STYLE
   OUTLINECOLOR 0 200 0
  END
   END

 END

 I checked paths and names, and everything is correct.

 I should note that I try to look at the only raster layer of itasca, but
 although all other layers are working very well, running this layer causes
 this error:

 msDrawMap(): Image handling error. Failed to draw layer named 'drgs'.
 msDrawRaster(): Image handling error. Unrecognized or unsupported image
 format drawEPP(): Image handling error.
 /var/www/Mapserver/Amin(Itasca)/data/drgncimq1926.tif is not an EPPL file.

 Thank you in advance for your help.

 Amin

 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users





-- 
___
Any use, dissemination, distribution, posting on Internet bulletin
boards, disclosure or copying of this e-mail or any information
contained herein by or to anyone other than the intended recipient(s)
is strictly prohibited. Use of this content for any other purpose is a
violation of International Copyright Laws.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] MapServer 6: outputformat gd/jpeg missing

2011-04-05 Thread fruitwerks
The only recent mention of jpg I see is:

AGG/PNG and AGG/JPEG are the only valid agg drivers.  Imagetypes
aggpng24 and aggjpeg can be used to refer to the default output
formats.

Is there a documentation for 6 yet? I know there are a few migration /
quirk / changes texts, but I was unable to find full blown
documentation.


On Tue, Apr 5, 2011 at 3:51 AM, Johannes Smith johannes.sm...@ymail.com wrote:
 Hi, trying MapServer 6 beta 4 I recognized that output format gd/jpeg is no
 longer supported. Instead there's agg/jpeg. Is that intended? J.

 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users





-- 
___
Any use, dissemination, distribution, posting on Internet bulletin
boards, disclosure or copying of this e-mail or any information
contained herein by or to anyone other than the intended recipient(s)
is strictly prohibited. Use of this content for any other purpose is a
violation of International Copyright Laws.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Too many open files...

2011-03-28 Thread fruitwerks
Hey Lee,

Look into a little thing called ulimit

best of luck,

Corey

On Mon, Mar 28, 2011 at 2:05 PM, Lee Meilleur lee.meill...@gis.leg.mn wrote:
 Hello,



 Has anyone run into the error: “Too many open files: couldn’t set child
 process attributes: /var/www/cgi-bin/mapserv”?  This error shows up in an
 Apache error_log.  A broken image now shows up for MapServer layers since
 this started.  I’ve tried changing the ulimits or the MaxRequestsPerChild
 for Apache with no luck.  Any other ideas?



 Thanks,



 Lee

 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users





-- 
___
Any use, dissemination, distribution, posting on Internet bulletin
boards, disclosure or copying of this e-mail or any information
contained herein by or to anyone other than the intended recipient(s)
is strictly prohibited. Use of this content for any other purpose is a
violation of International Copyright Laws.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] display tile error as text?

2011-03-16 Thread fruitwerks
Is there a way to get a request resulting in an error to return plain text?

Thanks!
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] mapscript - unable to draw map (new server)

2011-02-19 Thread fruitwerks
Hi everyone,

I'm a bit stuck and I'm not sure what is going on, I moved to a newer server
- but I can't find any information that is of any use.

I am unable to draw my map - permissions and the mapfile is fine.

here is a link: http://www.timbermap.com/view_forest_uk.php?id=57

This includes a var_dump of the map object I am passing to draw()

Here is the code that fails:

$image=$map-draw();
 $image_url=$image-saveWebImage();

What is different on the serer is newer GD (1.? to 2.0), mapscript (5.0.3 to
5.6.1)

Thanks!
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users