I'm using java client of geonames and the default maxRows of WebService.children is 200. How I change this to get all children (in some cases there's more than 200)?

有帮助吗?

解决方案

As with most WebServices that offer both a free and a premium service it is likely that the WebService.children call that you are making has an upper limit of 200 results.

Looking at the terms of their premium web services it states:

Advantages of the 'Premium Webservices' over the 'free webservice'

  • Higher max limits for a couple of parameter like maxRows or startRow
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top