[mapserver-users] RE: mapserver-users Digest, Vol 36, Issue 32

Anzel, Phil - Fort Collins, CO Phil.Anzel at ftc.usda.gov
Fri Jan 21 12:03:08 EST 2011


Excellent! Thanks, Frank.

-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of mapserver-users-request at lists.osgeo.org
Sent: Friday, January 21, 2011 10:00 AM
To: mapserver-users at lists.osgeo.org
Subject: mapserver-users Digest, Vol 36, Issue 32

Send mapserver-users mailing list submissions to
	mapserver-users at lists.osgeo.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.osgeo.org/mailman/listinfo/mapserver-users
or, via email, send a message with subject or body 'help' to
	mapserver-users-request at lists.osgeo.org

You can reach the person managing the list at
	mapserver-users-owner at lists.osgeo.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of mapserver-users digest..."


Today's Topics:

   1. Re: Apache installation for ms4w (Jeff McKenna)
   2. Re: Raster input file delete access prohibited by	MapScript
      (Frank Warmerdam)


----------------------------------------------------------------------

Message: 1
Date: Fri, 21 Jan 2011 09:47:42 -0400
From: Jeff McKenna <jmckenna at gatewaygeomatics.com>
Subject: Re: [mapserver-users] Apache installation for ms4w
To: mapserver-users <mapserver-users at lists.osgeo.org>
Message-ID: <4D398E7E.4010008 at gatewaygeomatics.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hello David,

First, all questions related to MS4W should be sent to the MS4W-users 
mailing list, where hundreds of users and devs can assist you with your 
issues (subscribe at http://lists.maptools.org/mailman/listinfo/ms4w-users).

As you mentioned, MS4W is designed for new installations and contains a 
ready to use Web server and everything you need to move forward.  If you 
need to use MS4W in an existing environment, there are some options:

  - follow the existing notes to install in other environments in your 
local README file 
(http://www.maptools.org/ms4w/index.phtml?page=README_INSTALL.html#k-installing-the-ms4w-mapserver-binaries-in-other-environments)
  - search the MS4W mailing list for other users asking this same 
question and the responses (search at: 
http://osgeo-org.1803224.n2.nabble.com/ms4w-users-f4995553.html)
  - contact me directly for assistance

Hope that helps.

-jeff


-- 
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/




On 11-01-20 7:51 PM, David Hildebrand wrote:
> The installation package for ms4w contains a preconfigured version of
> Apache. This works well for a new installation. In the case of an
> existing Apache installation what are the requirements which need to be
> met for ms4w? Are there potential conflicts to be aware of?




------------------------------

Message: 2
Date: Fri, 21 Jan 2011 09:59:28 -0500
From: Frank Warmerdam <warmerdam at pobox.com>
Subject: Re: [mapserver-users] Raster input file delete access
	prohibited by	MapScript
To: mapserver-users at lists.osgeo.org
Message-ID: <4D399F50.3050906 at pobox.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

On 11-01-20 10:13 AM, Anzel, Phil - Fort Collins, CO wrote:
> All,
>
> I have an application that uses the MapScript API under C# to create map
> images. Without exiting the application, I need to delete the input raster
> (JPEG) files that have been used in the image creation. Deletion of the
> input files is not possible until the application terminates.
...
> Can you help? I'm guessing that the input JPG file is opened for reading by
> MapServer and is never explicitly closed, even when the layer is closed. Is
> there a method defined in the API that will force the closure, if that is
> even the situation?

Phil,

In recent versions MapServer aggressively keeps single raster files used for
raster layers open even after the map is destroyed in order accelerate the
next access to it.  This can be controlled/disabled by adding the following
line in your raster layer:

   PROCESSING "CLOSE_CONNECTION=NORMAL"

The default setting is DEFER for raster files.

Best regards,
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



------------------------------

_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


End of mapserver-users Digest, Vol 36, Issue 32
***********************************************


More information about the mapserver-users mailing list