-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export HOTOSM tool #10
Labels
Comments
YAML
Eg: buildings:
select:
- name
- building
types:
- polygons
where: "building IS NOT NULL"
hospitals:
select:
- name
- amenity
where: "amenity = hospital"
waterways:
select:
- name
- waterway
types:
- lines
- polygons
where: "natural IN ('waterway')"
This is equivalent to: {buildings:{select:[name, building], types:[polygons], where:"building IS NOT NULL"},
hospitals:{select:[name, amenity], where:"amenity=hospital"},
waterways:{select:[name, watrway], types:[lines, polygons], where:"natural IN ('waterway')"} |
From NetworkOn clicking Example payload: {
"published": false,
"feature_selection": "planet_osm_point:\n types:\n - points\n select:\n - 'access:roof'\n - 'addr:housenumber'\n - 'addr:street'\n - building\n - 'building:material'\n - name\n - 'roof:material'\n where:\n - building IS NOT NULL\nplanet_osm_polygon:\n types:\n - polygons\n select:\n - 'access:roof'\n - 'addr:housenumber'\n - 'addr:street'\n - building\n - 'building:material'\n - name\n - 'roof:material'\n where:\n - building IS NOT NULL\n",
"export_formats": ["shp"],
"aoi": {
"description": "India, Tamil Nadu, Cuddalore",
"geomType": "Polygon",
"title": "Neyveli"
},
"the_geom": {
"type": "Polygon",
"coordinates": [
[
[79.49, 11.599999999999994],
[79.49, 11.620000000000005],
[79.51, 11.620000000000005],
[79.51, 11.599999999999994],
[79.49, 11.599999999999994]
]
]
},
"name": "Test"
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Referencing #7, HOTOSM's export tool is another option to download OpenStreetMap data. While playing around with the interface, looks like the tool can deal with any rectangular/custom polygon boundaries. Using this ticket to document learnings.
The text was updated successfully, but these errors were encountered: