[mapserver-users] spatial and time index
Frank Warmerdam
warmerdam at pobox.com
Mon Oct 6 16:05:51 PDT 2008
Zhao Peisheng,
I'm sorry, but I don't really know much about how the time dimension
support works in MapServer. After reviewing the applicable howto's
I'd suggest you ask on mapserver-users.
Good luck,
On Mon, Oct 6, 2008 at 11:55 AM, zhao peisheng <zhaops at hotmail.com> wrote:
> Now I use gdaltindex to build a set of tile index SHP for a time-series
> data. And I put this SHPs into PostGIS But I don't know how to configure the
> tileindex in Map file. I tried to do like this. PostGIS can return the
> correct SHP file with time filter, but MapServer think it is a data file,
> not tile file, and draw failed. How to figure it out? Thanks.
>
> LAYER
>
> STATUS ON
>
> NAME "AIRSSO2MAPAIDX"
>
> TYPE POLYGON
>
> CONNECTIONTYPE POSTGIS
>
> CONNECTION "dbname=mapserver password=anonymous user=anonymous
> port=5432"
>
> DATA "the_geom from airs_so2_map_a"
>
> METADATA
>
> "wms_title" "AIRS SO2 Map Total Ascending INDEX"
>
> "ows_service" "none"
>
> END
>
> END
>
>
>
> #
>
> # AIRS SO2 Map Ascending Layer
>
> #
>
>
>
> LAYER
>
> NAME 'AIRS_SO2_A'
>
> TYPE RASTER
>
> STATUS ON
>
> DEBUG ON
>
> DUMP TRUE
>
> PROCESSING "DITHER=YES"
>
> PROJECTION
>
> "init=epsg:4326" ##recommended
>
> END
>
> METADATA
>
> wms_title "AIRS_SO2_A" ##required
>
> wms_timeextent "2008-09-18/2008-10-02"
>
> wms_srs "EPSG:4326"
>
> wms_timeitem "time"
>
> wms_timedefault "2008-10-02"
>
> wms_extent "-180.0 -90.0 180.0 90.0"
>
> END
>
> TILEITEM "location"
>
> TILEINDEX "AIRSSO2MAPAIDX"
>
>
>
>
>
>
>
> END # Layer
>
> ________________________________
> Get more out of the Web. Learn 10 hidden secrets of Windows Live. Learn Now
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
--
---------------------------------------+--------------------------------------
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
More information about the MapServer-users
mailing list