Hi All,
This is a tricky one - so bear with me... i'm a Geoserver newbie...
Basically, i have two very similar queries that return species records for a
given species in a given geograpic area. One query uses WFS (returns JSON
data that I then parse and map on Google maps); the other uses WMS and
returns a map with the records just plotted as points.
Despite there being no obvious filtering on the WMS (apart from the species
name and bounding box), the WMS only returns a fraction of the records.
I'm running Geoserver 2.3.3 on Windows server 2008. All the data I am
querying is in shapefiles.
Here is the WMS query:
And the WFS query:
Map from the WMS query (pretty much only one record returned!):
<http://osgeo-org.1560.x6.nabble.com/file/n5074531/wms.png>
And the WFS points plotted on Google Maps (returns 32 features):
<http://osgeo-org.1560.x6.nabble.com/file/n5074531/wfs.jpg>
Any help would be very much appreciated!
Steve
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/WMS-not-returning-all-records-tp5074531.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Hi Steve,
(We seem to have lost the list there; ooops)
I don’t see anything obviously wrong with it. Maybe someone else can.
I’m not that familiar with WMS requests via POST, but shouldn’t there be a layer specified in there somewhere? I can’t see one.
Cheers,
Jonathan
This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.
I ask because looking a the maps, the WFS is clearly using a different source for the Wales county boundaries than the WMS is. This may also be the case with the points.
Jonathan
This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.
···
On 28 August 2013 13:57, Jonathan Moules <jonathanmoules@anonymised.com> wrote:
Hi Steve,
(We seem to have lost the list there; ooops)
I don’t see anything obviously wrong with it. Maybe someone else can.
I’m not that familiar with WMS requests via POST, but shouldn’t there be a layer specified in there somewhere? I can’t see one.
Cheers,
Jonathan
Hi Jonathan,
The WFS does not need the welsh boundary - it simply queries based on a
bounding box.
The WMS just used the welsh boundary for 'styling' - otherwise it would be a
white square with a few dots! Like the WFS, it uses a bounding box for the
actual query.
Both queries use the 'bis_4_other_species' layer in Geoserver.
Thanks for looking!
Steve
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/WMS-not-returning-all-records-tp5074531p5074782.html
Sent from the GeoServer - User mailing list archive at Nabble.com.