DigitalNZ API documentation has been updated

5 views
Skip to first unread message

Elliott Young

unread,
Oct 27, 2010, 8:48:50 PM10/27/10
to DigitalNZ
Hi all,

The developer documentation has been updated:

http://digitalnz.org/developer/api-docs/search-records/
http://digitalnz.org/developer/api-docs/custom-search-records/
http://digitalnz.org/developer/api-docs/get-metadata/

Includes documentation for the new geo_co_ords field which allows you
to build googlemaps style interfaces like:

http://elliottyoung.com/labs/nzpictureshow/?search_text=%2A%3A%2A&display=map

Please let me know if you have any queries or suggestions for the
documentation.

Cheers

Elliott Young
DigitalNZ Tech Lead

Brenda Wallace

unread,
Oct 27, 2010, 10:43:56 PM10/27/10
to digi...@googlegroups.com
Is there a parameter i can pass so it only return records that
actually have geo_co_ords set?

--
statusnet: @sh...@status.net
twitter: @br3nda
freenode: shiny
Kotahi tamaiti, Kotahi rorohiko iti no Aotearoa http://laptop.org.nz

Elliott Young

unread,
Oct 27, 2010, 10:53:18 PM10/27/10
to bre...@coffee.geek.nz, digi...@googlegroups.com
Great point. I will add this to the docs.

To only return results that are geotagged, add to your search string:

geo_co_ords:[* TO *]

eg searching for geotagged turtles would be a search for

turtles geo_co_ords:[* TO *]

remember to url encode it.

Cheers

Elliott.


>>> Brenda Wallace <bre...@coffee.geek.nz> 10/28/10 3:43 PM >>>

Reply all
Reply to author
Forward
0 new messages