[mapserver-users] MapServer SOS eventtime problems

2009-06-03 Thread Fong,Phil [Burlington]

Hi, 

I'm having some problems in getting an SOS GetObservation request to
return back data when an eventtime filter is specified. No data is being
returned when I know there should be something. The request is working
(i.e., I'm getting data back) when there is no eventtime parameter and
also when there is a filter (using result=Filter   /Filter) on a
non-date field.

The data are stored in a SQL Server 2005 database and the connection is
done using a OGRVRTDataSource and ODBC. 
I'm using MapServer 5.2.1 and gdal 1.6 (I believe).

Does anyone know of any issues with this setup?

Thanks in advance.

-Phil


 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] WFS Getfeature returning incorrect features

2009-01-19 Thread Fong,Phil [Burlington]

Hello,

I have a mapserver (5.2.1) setup that is returning incorrect features
from a WFS getfeature request. For example, if a bbox is specified:
bbox=-100,50,-99,51, then some point features outside of bbox get
returned. However, the overall bounding box of the features (in the
gml:boundedBy element) looks right and is inside the bbox, but is not
representative of the features that are returned (see below). Also, if I
try different bboxes, it would appear that it's always  taking the first
N (which varies) features in the layer (sites.1, sites.2 always appear).


What is going on and how to fix? Has anyone else encountered this odd
behaviour? The point features are stored in a database table (mssql to
be specific) and connection is using OGR (through ODBC). Mapserver is
running in Windows Server 2003 (64-bit).

Thanks for any help.

-Phil


?xml version='1.0' encoding=ISO-8859-1 ?
wfs:FeatureCollection
   xmlns:ms=http://mapserver.gis.umn.edu/mapserver;
   xmlns:wfs=http://www.opengis.net/wfs;
   xmlns:gml=http://www.opengis.net/gml;
   xmlns:ogc=http://www.opengis.net/ogc;
   xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
   xsi:schemaLocation=http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd 
   http://mapserver.gis.umn.edu/mapserver
http://ecburlwbidev/ms/mapserv.exe?SERVICE=WFSamp;VERSION=1.0.0amp;REQ
UEST=DescribeFeatureTypeamp;TYPENAME=sitesamp;OUTPUTFORMAT=XMLSCHEMA
  gml:boundedBy
gml:Box srsName=EPSG:4326
gml:coordinates-99.976390,50.190280
-99.675000,50.675000/gml:coordinates
/gml:Box
  /gml:boundedBy
gml:featureMember
  ms:sites fid=sites.1
gml:boundedBy
gml:Box srsName=EPSG:4326
gml:coordinates-97.429440,49.679170
-97.429440,49.679170/gml:coordinates
/gml:Box
/gml:boundedBy
ms:msGeometry
gml:Point srsName=EPSG:4326
  gml:coordinates-97.429440,49.679170/gml:coordinates
/gml:Point
/ms:msGeometry
  /ms:sites
/gml:featureMember
gml:featureMember
  ms:sites fid=sites.2
gml:boundedBy
gml:Box srsName=EPSG:4326
gml:coordinates-97.261670,49.696670
-97.261670,49.696670/gml:coordinates
/gml:Box
/gml:boundedBy
ms:msGeometry
gml:Point srsName=EPSG:4326
  gml:coordinates-97.261670,49.696670/gml:coordinates
/gml:Point
/ms:msGeometry
  /ms:sites
/gml:featureMember




___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users