[Featureserver] maxfeatures issue
Getman, Dan
Dan.Getman at nrel.gov
Thu May 5 09:38:36 EDT 2011
I am having an interesting problem with featureserver that I wanted to get a sanity check on.
When I use the maxfeatures parameter I get very inconsistent results. With a spatial query that should return three results, and does in the direct SQL query, feature will not return any results when the maxfeatures parameter is set to numbers < 184.
So, a URL that ends in maxfeatures=183 returns no results and the same URL that ends in maxfeatures=184 returns three. Also, this only happens on a few layers and only with some bounding boxes.
We are on
FeatureServer v 1.12
Postgres v 8.3.9
Any confirmation of this issue or information of how to start debugging it would be greatly appreciated.
Dan
URLS for reference:
Will not work:
http://mapsdb.nrel.gov/cgi-bin/fserv/fs.cgi/fa_2011_SAMPLE_FLEETc37023303b7383e268e4f35905eee0
?cfg=/opt/apps/web/mapsdb.nrel.gov/htdocs/sites/default/files/oc_router/fa_2011_SAMPLE_FLEETc37023303b7383e268e4f35905eee0/fa_2011_SAMPLE_FLEETc37023303b7383e268e4f35905eee0.fcfg
&bbox=-97.7685546874,32.1636918007,-95.9228515625,32.9784226962
&maxfeatures=100
Works fine:
http://mapsdb.nrel.gov/cgi-bin/fserv/fs.cgi/fa_2011_SAMPLE_FLEETc37023303b7383e268e4f35905eee0
?cfg=/opt/apps/web/mapsdb.nrel.gov/htdocs/sites/default/files/oc_router/fa_2011_SAMPLE_FLEETc37023303b7383e268e4f35905eee0/fa_2011_SAMPLE_FLEETc37023303b7383e268e4f35905eee0.fcfg
&bbox=-97.7685546874,32.1636918007,-95.9228515625,32.9784226962
&maxfeatures=184
More information about the Featureserver
mailing list