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

P Kishor punkish at EIDESIS.ORG
Thu Aug 31 10:36:31 PDT 2006


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
>


-- 
Puneet Kishor http://punkish.eidesis.org/
Nelson Inst. for Env. Studies, UW-Madison http://www.ies.wisc.edu/
Open Source Geospatial Foundation https://edu.osgeo.org/



More information about the MapServer-users mailing list