WMS TIME using shapefiles

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

WMS TIME using shapefiles

HeZheng
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: WMS TIME using shapefiles

jmckenna
Administrator
Hello,

Hmm. I wonder if you can try the request on a single shapefile (not a
tileindex file).  I wonder if that works for you?

-jeff


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




On 11-08-21 11:48 PM, HeZheng wrote:

> Hello,all:
>
> I am having difficulties to make WMS time series work.
>
> i used ogrtindex to tile the shapefiles and three files was
> created(tileindex.shp, tileindex.dbf, tileindex.shx) , and then i add a
> field named "DATETIME" to the dbf using access. and my *.map is like this:
>
> ####################################
> LAYER
>      METADATA
>        "wms_srs" "epsg:4326"
>        "wms_title" "co2000_ugl"
>        "wms_timeformat" "YYYYMMDD"
>        "wms_timeextent" "20110101/20110105"
>        "wms_timeitem" "DATATIME"
>        "wms_timedefault" "20110101"
>      END
>      NAME "co2000_ugl"
>      STATUS ON
>      TYPE POLYGON
>      UNITS METERS
>      TILEITEM "location"
>      TILEINDEX "tileindex.dbf"
>      CLASS
>        NAME "co2000_ugl"
>        STYLE
>          ANGLE 360
>          COLOR 139 92 169
>          OPACITY 0
>          OUTLINECOLOR 248 70 82
>          SYMBOL 0
>          WIDTH 1
>        END
>      END
>    END
> ##################################
> the Url is:
> "http://localhost:8888/cgi-bin/mapserv.exe?map=e:/Tile/test/test.map&version=1.1.1&request=getmap&layers=co2000_ugl&SRS=EPSG:4326&bbox=-96.860901,
> 41.593990, -82.798264, 49.355503&width=800&height=600&format=image/png"
> i got this error:
> <ServiceException>
> msDrawMap(): Image handling error. Failed to draw layer named
> &#39;co2000_ugl&#39;.
> msDBFGetItemIndex(): DBASE file error. Item&#39;DATETIME&#39; not found.
> </ServiceException>
> can someone help me? Thank you!
>
_______________________________________________
MS4W-Users mailing list
[hidden email]
http://lists.maptools.org/mailman/listinfo/ms4w-users
Reply | Threaded
Open this post in threaded view
|

Re: WMS TIME using shapefiles

HeZheng
This post was updated on .
CONTENTS DELETED
The author has deleted this message.