postGIS problem WFS

Milo van der Linden mlinden at ZEELANDNET.NL
Tue Aug 7 04:22:43 EDT 2007


Hello Gregor,

Thank you for taking the time in responding my question. I know it lacks
some information, but I did some postings that unfortunately no one
responded to.

Regarding your suggestions:

a) a getSRID in postGIS returns the right projection: 4326, opening the
postGIS layer in QuantumGIS and combining it with a WMS layer from the
same server that is in EPSG:4326 shows that all the dots are in the
right place
b) the DUMP is set. GetCapabilities returns that the layer is there, but
shows no data at all.
http://82.176.214.209/cgi-bin/mapserv.exe?map=/ms4w/apps/mappingworlds/service/wfs.map&service=WFS&REQUEST=getCapabilities&typename=worldcities_x&version=1.0.0

Here is some more detailed information.

My Original worldcities layer (MapInfo TAB) returns;
<FeatureType>
<Name>worldcities</Name>
<Title>World Cities</Title>
<SRS>EPSG:4326</SRS>
<LatLongBoundingBox minx="-176.18" miny="-54.28" maxx="179.22"
maxy="69.35"/>
</FeatureType>

I then uploaded this particular layer into postGIS with qGIS and now it
states:

<FeatureType>
<Name>worldcities_x</Name>
<Title>World Cities PostGIS</Title>
<SRS>EPSG:4326</SRS>
<LatLongBoundingBox minx="-2.5e+007" miny="-2.5e+007" maxx="2.5e+007"
maxy="2.5e+007"/>
</FeatureType>

I have a postGIS table that contains cities. I am trying to get this
running through mapserver WFS.

Mapserver WFS doesn't generate errors, but returns no data at all.

A postgres getsrid tells me the srid is 4326, which is also in my
geometry_columns
qGIS shows the postGIS table direct from the database without problems.

http://82.176.214.209/cgi-bin/mapserv.exe?map=/ms4w/apps/mappingworlds/service/wfs.map&service=WFS&REQUEST=getfeature&typename=worldcities_x&version=1.0.0

Gregor Mosheh schreef:
> Milo van der Linden wrote:
>> One more try, I am getting bounding box errors on postGIS tables when
>> I set up mapserver as WFS.
>> Is there anyone out there who can help me??
>
> Not without a lot more information.
> What sort of errors are you getting, and what is your configuration?
>
> The more common problems I run into are really simple, but fatal: a)
> The projection is not set properly for the layer, so the bbox doesn't
> line up with the data (symptom: all requests are blank). b) The DUMP
> property isn't set on the layer (symptom: "no such layer").
>


-- 


	

Milo van der Linden
skype: milovanderlinden <skype:milovanderlinden?add>
mlinden at zeelandnet.nl <mailto:mlinden at zeelandnet.nl>
milovanderlinden at gmail.com <mailto:milovanderlinden at gmail.com>
milo at 3dsite.nl <mailto:milo at 3dsite.nl>
http://www.3dsite.nl

	  	

De informatie in dit bericht reflecteert mijn persoonlijke mening en
niet die van een bedrijf of instantie. Aan de informatie kunnen geen
rechten worden ontleend. Indien dit bericht onderdeel is van een forum,
mailing-list of community dan gelden automatisch de bij het betreffende
medium behorende voorwaarden. The information in this message reflects
my personal opinion and not that of a company or public body. All rights
reserved.If this message is contained in a mailing-list or community,
the rights on the medium are automatically adapted.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070807/e21c8db4/attachment.html


More information about the mapserver-users mailing list