Having trouble with 1 of 2 GeoServers that we deployed-- one works fine,
the other has a problem as described below.
The call that we use to test:
http://xxx:8080/geoserver/xxx/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=xxx:tz_world_mp&cql_filter=CONTAINS%28the_geom,POINT%28-84+10%29%29&maxFeatures=1&propertyName=TZID&outputFormat=json
What the "good" server returns:
{"type":"FeatureCollection","totalFeatures":1,"features":[{"type":"Feature","id":"tz_world_mp.386","geometry":null,"properties":{"TZID":"America/Costa_Rica"}}],"crs":null}
What the "bad" server returns:
{ "type": "FeatureCollection", "totalFeatures": 0, "features": [ ], "crs":
null }
Same exact call to both, the only difference is the host name.
Also, poking around in the Data => Layer Preview, we notice that we are
missing data at certain zoom levels-- but it's the SAME data as deployed on
our "good" GeoServer.
We are stumped. Both deployments should work the same but obviously
something is different. I don't expect people to solve this remotely, but
any hints as to where to look would be greatly appreciated.
Background:
jdk1.7.0_45_x64
apache-tomcat-7.0.50
Data
http://efele.net/maps/tz/world/
GeoServer:
Version 2.6.1
Build Date 15-Nov-2014 10:59
GeoTools Version 12.1
GeoWebCache Version 1.6.0
Locks 0
Free locks
Connections 1
Memory Usage 404 MB
JVM Version Oracle Corporation: 1.7.0_45
Native JAI false
Native JAI ImageIO false
GeoServer Log:
2014-12-02 14:41:19,036 INFO [geoserver.wfs] -
Request: getServiceInfo
2014-12-02 14:41:19,041 INFO [geoserver.wfs] -
Request: getFeature
service = WFS
version = 1.0.0
baseUrl = http://xxx:8080/geoserver/
query[0]:
propertyName[0] = TZID
filter = [ the_geom contains POINT (-84 10) ]
typeName[0] = {http://xxx/geo/data/reference/}tz_world_mp
maxFeatures = 1
outputFormat = json
resultType = results
2014-12-02 14:41:19,043 INFO [wfs.json] - about to encode JSON
Thanks
--
John
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users