SamatsWiki

https://twitter.com/#!/nmrgis/status/14805880004419584

nmrgis New Mexico RGIS @SamatJain Yes, use the REST API. There is some info available here: http://gstore.unm.edu. Sample call: http://bit.ly/hXeXtY

Example queries

Fetch the first 15 results

http://rgis.unm.edu/gstore/search/datasets.json?offset=0&sort=lastupdate&dir=desc&limit=15&theme=Digital+Orthophotography&subtheme=2011+NAIP&groupname=County+Mosaic+-+sid

Fetch the next 15:

http://rgis.unm.edu/gstore/search/datasets.json?offset=15&sort=lastupdate&dir=desc&limit=15&theme=Digital+Orthophotography&subtheme=2011+NAIP&groupname=County+Mosaic+-+sid

because we know the total results are 41, we can also retrieve them all:

http://rgis.unm.edu/gstore/search/datasets.json?offset=0&sort=lastupdate&dir=desc&limit=42&theme=Digital+Orthophotography&subtheme=2011+NAIP&groupname=County+Mosaic+-+sid

SamatsWiki: RGIS (last edited 2011-12-30 20:24:50 by SamatJain)