Hi,

I believe that QGIS has no way to show both points and polygons on the same 
layer. MapInfo can do it with its own data but I have no experience on MapInfo 
and WFS.

Forget the GIS clients because they only hide what really happens from you.  
Send a direct WFS GetFeature request from your browser and see what it sends 
for you. The URL is like this

http://demo.opengeo.org/geoserver/wfs?service=wfs&version=1.0.0&request=getfeature&typename=topp:states&maxfeatures=20

Edit the server name to point to your server and typename to be your typename. 
Increase maxfeatures little by little. It you can find both kind of geometries 
from the GML that comes from the server you have confirmed that the issue is in 
QGIS and Mapinfo and their limited capabilities for showing mixed geometries. 
If the GML contains only points we must continue our research.

-Jukka Rahkonen-


Sandra Kennish wrote:

Hi Julia

The points only display when I connect in either MapInfo or QGIS with WFS, but 
when connecting with WMS in either MapInfo or QGIS both points and polygons 
show.

Sandra

Sandra Kennish
GIS Officer

From: Rahkonen Jukka (Tike) [mailto:[email protected]]
Sent: 16 June 2014 14:22
To: '[email protected]'
Subject: Re: [Geoserver-users] WFS Mixed Geometry

Hi,

When you wrote  "only the points display in WFS" did you mean that the GML data 
that comes from Geoserver has only points or do you have some client software 
in the middle which shows only points on the map?

-Jukka Rahkonen-

Sandra Kennish wrote:

Hello

We have Geoserver 2.4.1 connected to a PostGIS database.  I have a table with 
mixed geometry (points and areas) which displays fine in WMS, but only the 
points display in WFS.

Can anyone enlighten me as to why WFS wouldn't display the areas please? Do I 
need to have separate tables for different geometry?

Thanks

Sandra

Sandra Kennish
GIS Officer

North York Moors National Park Authority
The Old Vicarage
Bondgate
Helmsley
York
YO62 5BP

Tel: 01439 772700
Mobile: 07813 789126

www.northyorkmoors.org.uk<http://www.northyorkmoors.org.uk>



CONFIDENTIALITY: The contents of this message are the views of the author, not 
necessarily the views of the North York Moors National Park Authority. This is 
a private message intended for the named addressee(s) only. Its contents may be 
confidential.

If you have received this message in error please reply to say so and then 
delete the message. Any use, copying, disclosure or distribution by anyone 
other than the addressee is forbidden.

www.northyorkmoors.org.uk<http://www.northyorkmoors.org.uk>

Scanned by MailDefender - managed email security from intY - 
www.maildefender.net<http://www.maildefender.net>
Scanned by MailDefender - managed email security from intY - 
www.maildefender.net<http://www.maildefender.net>


CONFIDENTIALITY: The contents of this message are the views of the author, not 
necessarily the views of the North York Moors National Park Authority. This is 
a private message intended for the named addressee(s) only. Its contents may be 
confidential.

If you have received this message in error please reply to say so and then 
delete the message. Any use, copying, disclosure or distribution by anyone 
other than the addressee is forbidden.

www.northyorkmoors.org.uk<http://www.northyorkmoors.org.uk>

Scanned by MailDefender - managed email security from intY - 
www.maildefender.net<http://www.maildefender.net>
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to