All:
This is a strange one. I have some features and the counts
returned by
geoserver are not correct or in one case 0.
I am running geoserver 2.10.1
With the latest Geomesa 1.3.1
Here is the WFS request:
http://172.16.152.130:8181/geoserver/OE_Repository/ows?service=WFS&version=1.1&request=GetFeature&typeName=OE_Repository:GDELTArtifact_GDELT_0.1.GDELTArtifactSection.GDELTArtifactRecordset&outputFormat=application%2Fjson
Here is the first part of the result:
{"type":"FeatureCollection","totalFeatures":0,"features":[{"type":"Feature","id":"00fa1380-0000-4024-80a5-3a0c8941d859","geometry":{"type":"Polygon","coordinates":[[[-180,-90],[-180,90],[180,90],[180,-90],[-180,-90]]]},"geometry_name":"theWorld","properties":{"objectKey":"0d43af79-4f3c-4b23-94ad-2e50c8ef6a07","entityName":"GDELTArtifact","entitySource":"GDELT","entityTitle":"G2CoreEntity","recordKey":"3a9aaa67-3502-4601-8542-fd3024770bec","SourceFileName":"20170119161500.export.CSV","GlobalEventID":618742924,"RawText":"618742924\\t20170119\\t201701\\t2017\\t2017.0521\\tIRL\\tDUBLIN\\tIRL\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t0\\t192\\t192\\t19\\t4\\t-9.5\\t2\\t1\\t2\\t-0.51679586563308\\t1\\tGibraltar\\tGI\\tGI\\t\\t36.1833\\t-5.3667\\tGI\\t0\\t\\t\\t\\t\\t\\t\\t\\t4\\tDublin, Dublin, Ireland\\tEI\\tEI07\\t18288\\t53.3331\\t-6.24889\\t-1502554\\t20170119161500\\thttp://www.chicagotribune.com/news/sns-wp-brexit-trump-b53d117a-de56-11e6-acdf-14da832ae861-20170119-story.html"}},
If I ask for just the hits via:
http://172.16.152.130:8181/geoserver/OE_Repository/ows?service=WFS&version=1.1&request=GetFeature&typeName=OE_Repository:GDELTArtifact_GDELT_0.1.GDELTArtifactSection.GDELTArtifactRecordset&resultType=hits
I get:
<wfs:FeatureCollection xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:OE_Repository="http://oerepo.tradoc.army.mil" xmlns:wfs="http://www.opengis.net/wfs"xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:ows="http://www.opengis.net/ows" xmlns:xlink="http://www.w3.org/1999/xlink"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" numberOfFeatures="0" timeStamp="2016-11-13T00:26:02.701Z" xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"/>
I have another layer which I know has 13K points and it's count
returns just over 3K.
I am not seeing any relevant errors in my geoserver or catalina
logs.
--
========= mailto:dboyd@xxxxxxxxxxxxxxxxx ============
David W. Boyd
VP, Data Solutions
10432 Balls Ford, Suite 240
Manassas, VA 20109
office: +1-703-552-2862
cell: +1-703-402-7908
============== http://www.incadencecorp.com/ ============
ISO/IEC JTC1 WG9, editor ISO/IEC 20547 Big Data Reference Architecture
Chair ANSI/INCITS TC Big Data
Co-chair NIST Big Data Public Working Group Reference Architecture
First Robotic Mentor - FRC, FTC - www.iliterobotics.org
Board Member- USSTEM Foundation - www.usstem.org
The information contained in this message may be privileged
and/or confidential and protected from disclosure.
If the reader of this message is not the intended recipient
or an employee or agent responsible for delivering this message
to the intended recipient, you are hereby notified that any
dissemination, distribution or copying of this communication
is strictly prohibited. If you have received this communication
in error, please notify the sender immediately by replying to
this message and deleting the material from any computer.