[HN Gopher] Convert Shapefile to Vector Tiles with FileTiler
___________________________________________________________________
Convert Shapefile to Vector Tiles with FileTiler
Author : brendan8229
Score : 22 points
Date : 2023-06-07 18:26 UTC (4 hours ago)
(HTM) web link (www.clockworkmicro.com)
(TXT) w3m dump (www.clockworkmicro.com)
| tony_cannistra wrote:
| Hm. Not totally sure why someone would pay for this - there are
| lots of readily-available open-source tools that can do this
| easily. GDAL/OGR[0] and Tippecanoe [1] come to mind. Maybe I'm
| missing a less-technical audience?
|
| 0: https://gdal.org/ 1: https://github.com/felt/tippecanoe
| brendan8229 wrote:
| Right. The service allows one to make tiles without any
| knowledge of gdal or tippecanoe. The service also hosts the
| tiles and makes them available.
| tony_cannistra wrote:
| right but, that's pretty straightforward if you've got some
| relatively basic CLI comfort and an account with a cloud
| provider...
| brendan8229 wrote:
| True. And otherwise a tool like this is very handy.
| acdanger wrote:
| It's possible to convert a shapefile to Mapbox Vector Tiles,
| convert those to PMTiles and host them in a bucket in just a
| three commands.
| bdon wrote:
| Two commands!
|
| ogr2ogr -f GeoJSONSeq /vsistdout/ dataset.shp | tippecanoe -o
| dataset.pmtiles
|
| aws s3 cp dataset.pmtiles s3://bucket/output.pmtiles
___________________________________________________________________
(page generated 2023-06-07 23:01 UTC)