spwoodcock's Comments
| Post | When | Comment |
|---|---|---|
| Cés’t finí | All the best Eden! I hope you stay involved in the HOT community and we can keep in touch 😄 I’m always available to help with coding questions you may have! |
|
| ODK Entities for OpenStreetMap | (I forgot a line break between the sentence and bullet points and can’t update the comment, here is the nicely formatted list) The workflow would be:
|
|
| ODK Entities for OpenStreetMap | You raise a great point that I forgot to include the section on how this relates to OSM - I updated! For your questions: - FMTM currently has the default baselayer set to Mapbox Outdoors, which does of course use OSM as one of it’s sources. The attribution is present when selecting OSM as the basemap, but you are right we should probably also add the attribution to the Mapbox layer too - thanks!
The workflow would be: - Get survey data out of ODK along with geolocation. - Map each survey question to an OSM tag (this is mostly handled automatically by using good XLSForm field names). - Conflate the generated data with the existing OSM data (i.e. check if we should update existing tags, or add new tags). - Upload the updated tag information to OSM. |
|
| Leveraging PostGIS to Write Your FlatGeobuf Files | I ended up writing the reverse query: flatgeobuf –> GeoJSON FeatureCollection. It was slightly more complex that the previous. There are two steps required. - First a table must be created with fields representing the field types in the flatgeobuf. - Then the data is extracted from the file, using the table type as reference. This wasn’t very intuitive to me & the PostGIS docs are really lacking here, so I hope this helps someone! async def flatgeobuf_to_geojson( db: Session, flatgeobuf: bytes ) -> Optional[geojson.FeatureCollection]: “"”Converts FlatGeobuf data to GeoJSON.
|
|
| Leveraging PostGIS to Write Your FlatGeobuf Files | Ah, I didn’t realise it was kramdown, different to fenced blocks in markdown. I will update it 👍 |
|
| Revolutionizing Field Mapping (with FMTM): Part 2 | That would be fantastic if you are able to contribute in either docs or code @mahjabin08! Thank you for the offer 🙏 For code there are two routes: - Check the current issues on GitHub and leave a comment that you would like to work on something. We can have a discussion for how in the issue. - Join the HOTOSM Slack community & send me a message. For docs, as Rob said having more usage guides and FAQs for mappers and managers would be great. The best way to write those would be to give FMTM a go! Then write down the steps / any issues you faced =) In general, all of the docs in the repo could do with proof reading and validating too. Thanks again! |
|
| Revolutionizing Field Mapping (with FMTM): Part 2 | Thank you Pradip! Excited to see FMTM taking shape - it’s moved from a prototype to a usable tool very quickly! |
|
| Revolutionizing Field Mapping (with FMTM): Part 2 | Great feedback, thank you! The underlying code actually supports this, so making it configurable by the user should be easy enough 😄 |
|
| Vector Tile File Formats | Also, to further reduce your costs, you can follow the guide to deploy behind a CDN for better tile caching: https://protomaps.com/docs/cdn |
|
| Vector Tile File Formats | Pretty much! Although the main cost reduction is in the number of requests that need to be made. Imagine you store your tiles in a typical directory structure of a TMS / XYZ server. Each tile is an individual file, and a cost is incurred when requesting each tile. If you store all the files in a neatly packaged single file (PMTiles), then your costs reduce significantly. Only a couple of requests are made:
(I may have oversimplied slightly, but that’s pretty much the concept). Thanks for reading! |