Created
March 30, 2010 23:42
-
-
Save ajturner/349748 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Link to URL datasource | |
Finder can register data source URL's from the internet or a network. This allows users to define data sources that will be continually updated, aggregated and archived in GeoCommons. | |
To register a datasource, provide the URL to a file type that is supported in GeoCommons and POST using the overlay[wild_url] parameter to /overlays.xml. | |
curl -i -X POST -u "yourusername:yourpassword" -d "overlay[wild_url]=http://earthquake.usgs.gov/eqcenter/catalogs/1day-M2.5.xml" http://finder.geocommons.com/overlays.xml | |
URL's can only be registered once in GeoCommons. So if the URL has already been registered by a user, you will receive a redirect to this existing Overlay. You can make a copy of that overlay if you want to modify the metadata. | |
Data sources are automatically updated periodically depending on the frequency of updates in the data and availability of the service and aggregation server. | |
Ping updates | |
It is possible to ping the GeoCommons server explicitly when new updates are available. Ping updates are only possible by the owner or authorized users of the registered data source, or URL. | |
Send an authenticated GET request to the overlay that you want updated. When a request is made, the aggregation is queued and will be updated as soon as possible: | |
curl -i -X GET -u "yourusername:yourpassword" http://finder.geocommons.com/overlays/#{id}/fetch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I seem that it is the better program that exist...!!