SOS and PostGIS

Jørn Vegard Røsnes jorn at SPACETEC.NO
Tue Oct 2 09:04:29 EDT 2007


> > we are trying to setup Mapserver to provide SOS observations
> > from a PostGIS table.
> > So far without success.
> > We have managed to setup a map file to provide SOS
> > observations from shapefiles and OGR VRT Datasource.
> >
> > For PostGIS we have been using the same connection as be
> > normally use for WMS:
> > CONNECTIONTYPE POSTGIS
> > CONNECTION "user=postgres dbname=db_name host=host.domain.org
> > port=5432"
> > DATA "geom from feature using SRID=4326"
> >
> > Are there constraints for SOS and PostGIS?
> > Maybe someone has examples?
>
On Tuesday 02 October 2007 14:13, Kralidis,Tom [Burlington] wrote:
> That's weird.  What version of MapServer are you using?  Can you send along
> (offlist) a mapfile and perhaps a small dump (if possible) of records; I
> can do an initial test.
>
> ..Tom

I found the problem when creating the test case.
We had wrong format for the EXTENT in the beginning of the map file.
It was in meters, should be dd.
Very annoying ;-)

cheers
Jørn Vegard



More information about the mapserver-users mailing list