NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I am trying to generate training data for bunch of ML jobs which take maps as inputs. I'd like to pair each raster tile with its vector data. For example, a map text recognition (OCR) job needs raster images paired with their text labels and label locations (bounding box). To generate a diverse set of styles, I'd like the framework to support map styling.

OpenStreetMap is a good option, but it seems not to support different styles.

I came across OpenMapTiles, installed it on a server and played around with it, but I couldn't find a way to pair the raster maps with vector data. Am I missing something? With OpenStreetMap, one can get a PNG file paired with an SVG. But I don't think OpenMapTiles has an SVG endpoint. I was able to get the GeoJSON file for each tile, but there isn't a 1:1 correspondence between the GeoJSON features and the raster map (GeoJSON has a lot of data which are not rendered).

I am open to try different tools if OpenStreetMap or OpenMapTiles are not recommended. I'd like the final solution to be open source and open data.

asked 20 Jun '19, 19:57

sasan's gravatar image

sasan
1111
accept rate: 0%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×440
×362
×45
×4

question asked: 20 Jun '19, 19:57

question was seen: 771 times

last updated: 20 Jun '19, 19:57

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum