anyways-open / NetTopologySuite.IO.VectorTiles

A package that can be used to generate vector tiles using NTS.
Other
14 stars 8 forks source link

Is there an example of creating vector tiles from osm files #15

Open veikkoeeva opened 3 years ago

veikkoeeva commented 3 years ago

I was looking for ways to create Mapbox vector tiles using .NET. One plan that occurred to me was to download .osm files, store them to PostgreSQL PostGIS database as nodes, labels etc. and us its functions to do this. Then I noticed this library.

Though now looking at this I think it should be possible to load an OpenStreetMap .osm file and create Mapbox vector layers. Though I don't know how so I was thinking to ask here if there are examples of creationg Mapbox vector tiles out of OpenStreetMaps .osm files?

(I took a first stab, maybe I'm just too sleepy and missed something obvious.)

xivk commented 3 years ago

This is an example of OSM->vt in C#:

https://github.com/anyways-open/cycle-network-vector-tiles

veikkoeeva commented 3 years ago

@xivk Thank you for coming so quickly to help. I will look into this example. I noticed I was a bit blunt with how how I started, apologies for that and thank you again for pointing out this working example, I will check it.