[ms4w-users] Problem with WFS and shapefile coverage
Jordi García
jordi.garcia at gtd.es
Wed Feb 25 09:43:32 EST 2009
Hi,
I have a shapefile coverage defined in this way:
- A shapefile tileindex:
LAYER
NAME "idx_nasa_trmm_shp"
TYPE TILEINDEX
DATA "c:/data/idx_nasa_trmm_shp.shp"
FILTERITEM "time"
FILTER "%time%"
METADATA
OWS_EXTENT "30.125 -27.125 40.625
-11.125"
END
PROJECTION
"init=epsg:4326"
END
END
The file idx_nasa_trmm_shp is the tileindex containing a set
of polygons(bounding boxes) with the atributes location and time filled.
- The layer containing all the shapefiles indexed by a tileindex
LAYER
NAME "nasa_trmm_shp"
STATUS OFF
DUMP TRUE
TYPE POINT
PROJECTION
"init=epsg:4326"
END
METADATA
OWS_LABEL "nasa_trmm_shp"
OWS_SRS "EPSG:900913 EPSG:4326"
WMS_TIMEEXTENT "2006-11-01
00:00:00.000/2006-11-01 03:00:00.000"
WMS_TIMEITEM "time"
WMS_TIMEDEFAULT "2006-11-01 00:00:00.000"
GML_GEOMETRIES "the_geom"
GML_INCLUDE_ITEMS "all"
"GML_THE_GEOM_TYPE" "point"
"GML_RAIN_TYPE" "double"
"GML_TIME_TYPE" "string"
"GML_TYPE_TYPE" "string"
OWS_EXTENT "30.125 -27.125 40.625
-11.125"
WCS_TIMEPOSITION "2006-11-01
00:00:00.000,2006-11-01 03:00:00.000
END
TILEINDEX "idx_nasa_trmm_shp"
TILEITEM "location"
END
Making a render in WMS results OK accessing by a BBOX and a TIME parameter,
but when getting data through WFS nothing is returned:
<wfs:FeatureCollection>
<gml:boundedBy>
<gml:null>missing</gml:null>
</gml:boundedBy>
</wfs:FeatureCollection>
Is there any problem with WFS and shapefile coverages??
Also, i have no problem with raster coverages defined in the same way
(location and time).
Thansks,
Jordi G. Padrao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ms4w-users/attachments/20090225/9b3e0af3/attachment.htm
More information about the ms4w-users
mailing list