-
Notifications
You must be signed in to change notification settings - Fork 83
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
Use OAM as imagery source #43
Comments
OAM reverses the order of the xyz values in the database from most other map tile servers use. I have this now working in a branch in order to produce basemaps for the Turkey earthquake, but it needs to be cleaned up and the result tested to make sure it doesn't break other imagery sources. |
This has already been complete via the --tms flag and works: e.g. pdm run osm_fieldwork/basemapper.py -b
New_Kru_Town_MERGED.geojson -d $PWD -o New_Kru_Town_Basemap.mbtiles -z 12-20 --xy=True
-t https://tiles.openaerialmap.org/5e6785161804990005e37072/0/5e6785161804990005e37073/{
z}/{x}/{y} |
The geojson content for those wishing to reproduce the mbtiles with the above command: {
"type": "FeatureCollection",
"name": "New_Kru_Town_MERGED2",
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
"features": [
{ "type": "Feature", "properties": { "id": 0, "country": "Liberia", "area": 1.7e-05, "perimeter": 0.016581 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -10.7938424154191, 6.36566446544188 ], [ -10.795144938864549, 6.369300019093447 ], [ -10.79320532649367, 6.370264783563053 ], [ -10.791896296184481, 6.370164711508116 ], [ -10.79146494532514, 6.369379587575136 ], [ -10.789732430818949, 6.366126169489173 ], [ -10.78956466274909, 6.365788466299136 ], [ -10.78991618820425, 6.365746651092064 ], [ -10.790463189266021, 6.365722411326678 ], [ -10.7938424154191, 6.36566446544188 ] ] ] } }
]
} |
If possible, use OpenArialMap as the imagery source for the basemapper.py program.
The text was updated successfully, but these errors were encountered: