Select to view content in your preferred language

Strange offset makes query result 0 features

357
0
02-15-2019 03:14 AM
LarsFagerbakke
New Contributor III

What works:

Start at 0, taking 1000 records:

HTTPGET: MapServer/3/query?where=1=1&supportsPagination=true&resultOffset=0&resultRecordCount=1000&f=json&outSR=4326&outFields=*

Returns 1000 elements.

Start at 2, taking 1000 records:

HTTPGET: MapServer/3/query?where=1=1&supportsPagination=true&resultOffset=2&resultRecordCount=1000&f=json&outSR=4326&outFields=*

Returns 1000 elements.

Start at 3, taking 10(!) records:

HTTPGET: MapServer/3/query?where=1=1&supportsPagination=true&resultOffset=3&resultRecordCount=10&f=json&outSR=4326&outFields=*

Returns 0 elements!

At 0 and 2 offset, I get 1000 elements. But starting at offset 3 taking 10 elements I'm getting 0 elements. I don't understand this. Some help please.

Tags (1)
0 Kudos
0 Replies