Can the creation date of a SHP file be retrieved via a MAPSERVER call?

Bob Basques bob.basques at CI.STPAUL.MN.US
Thu Aug 31 10:53:29 PDT 2006


I discounted this approach because I would need a separate list of the 
SHP files ahead of time to pass them in to the CGI request.

Right now, the MAP files is the only location where the SHP file is 
referenced.  That's why I was looking for a way to read the change date 
from MapServer.

Each of our layer are set up with their own MAP file rather than one 
large one.  So getting the info From Mapserver seems like the best 
approach in the long run


bobb


P Kishor wrote:
> http://httpd.apache.org/docs/1.3/howto/ssi.html#today'sdate
>
> This document last modified <!--#flastmod file="my_shapefile.shp" -->
>
> On 8/31/06, Bob Basques <bob.basques at ci.stpaul.mn.us> wrote:
>   
>> Frank Warmerdam wrote:
>>     
>>> Bob Basques wrote:
>>>
>>>       
>>>> All,
>>>>
>>>> Can the creation date of a SHP file be retrieved via a MAPSERVER call?
>>>>
>>>>         
>>> Bob,
>>>
>>> No mechanism exists to get at this from a CGI or mapscript point of view.
>>>
>>>       
>> I thought about that, I also thought about using Metadata in the
>> MapFile, IT just seems like a thing that should be available for some
>> reason.  :c)
>>
>> I also thought about using a Web call to a Web Service that could read
>> the info ala a folder list display and pass that into the CGI call to
>> mapserver, but then I would need to rig up some access to the SHP file
>> itself on the server which didn't seem quite right either.
>>
>> Hmmm, I wonder what it would take to add this into MapServer, I mean,
>> it's opening the file anyway, right . . . .
>>
>> The end product is to display a "Last Updated" message beneath some
>> attribute data.being displayed.
>>
>> A last thought is to use the SHP file itself to store the data with an
>> additional column.  That seems like overkill too though.
>>
>> bobb
>>
>>     
>
>
>   



More information about the MapServer-users mailing list