-
I have followed the setup for Ubuntu (I am using Ubuntu 22.04) |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 8 replies
-
You need to either have config.json in your current directory, or point to a JSON config file somewhere with the
|
Beta Was this translation helpful? Give feedback.
-
That’s awesome Richard, I will give it a try this morning.
Also, do the shapefiles have to be in a certain place for the tilemaker
command to see them.
John
…On Mon, Nov 27, 2023 at 8:25 AM Richard Fairhurst ***@***.***> wrote:
Have a try with the latest code - I've reverted a change which seemed to
be causing this. Sorry for the hassle.
—
Reply to this email directly, view it on GitHub
<#592 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABRHMFLATHTAMB7CRGJVE33YGSIDNAVCNFSM6AAAAAA7ZM3BLSVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TMOBQHA3DE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi Richard
So I ran into the same problem with another .pbf file
North America is the PBF and my ultimate goal is the Planet PBF
Here is the error:
***@***.***:/data/Tilemaker/server$ tilemaker --input
/data/dump/north-america-latest.osm.pbf --output
/data/dump/on_mbtiles/na.mbtiles --config
/data/Tilemaker/resources/config-openmaptiles.json --process
/data/Tilemaker/resources/process-openmaptiles.lua --verbose
Layer place (z0-14)
Layer boundary (z0-14)
Layer poi (z12-14)
Layer poi_detail (z14-14) -> poi
Layer housenumber (z14-14)
Layer waterway (z8-14)
Layer waterway_detail (z12-14) -> waterway
Layer transportation (z4-14)
Layer transportation_name (z8-14)
Layer transportation_name_mid (z12-14) -> transportation_name
Layer transportation_name_detail (z14-14) -> transportation_name
Layer building (z13-14)
Layer water (z6-14)
Layer ocean (z0-14) -> water
Layer water_name (z14-14)
Layer water_name_detail (z14-14) -> water_name
Layer aeroway (z11-14)
Layer aerodrome_label (z10-14)
Layer park (z11-14)
Layer landuse (z4-14)
Layer urban_areas (z4-8) -> landuse
Layer landcover (z0-14)
Layer ice_shelf (z0-9) -> landcover
Layer glacier (z2-9) -> landcover
Layer mountain_peak (z11-14)
Bounding box -180, 5.57228, 180, 85.0418
Reading .shp ocean
Shapefile entity #3017 type 5 is invalid. Parts:28. Reason:Geometry has
invalid self-intersections. A self-intersection point was found at
(-110.642, 25.7673); method: i; operations: u/i; segment IDs {source,
multi, ring, segment}: {0, 0, -1, 214}/{0, 0, -1, 216}... failed to
correct. Reason: Geometry has invalid self-intersections. A
self-intersection point was found at (-110.642, 25.7673); method: i;
operations: u/i; segment IDs {source, multi, ring, segment}: {0, 0, -1,
214}/{0, 0, -1, 216}
Shapefile entity #9230 type 5 is invalid. Parts:223. Reason:Geometry has
invalid self-intersections. A self-intersection point was found at
(-71.4807, 45.5092); method: i; operations: i/u; segment IDs {source,
multi, ring, segment}: {0, 0, -1, 30261}/{0, 0, -1, 30263}... failed to
correct. Reason: Geometry has invalid self-intersections. A
self-intersection point was found at (-71.4807, 45.5092); method: i;
operations: i/u; segment IDs {source, multi, ring, segment}: {0, 0, -1,
30261}/{0, 0, -1, 30263}
Shapefile entity #10693 type 5 is invalid. Parts:3163. Reason:Geometry has
invalid self-intersections. A self-intersection point was found at
(9.87713, 83.8271); method: i; operations: i/u; segment IDs {source, multi,
ring, segment}: {0, 0, 2915, 3}/{0, 0, 2915, 5}... failed to correct.
Reason: Geometry has invalid self-intersections. A self-intersection point
was found at (9.87713, 83.8271); method: i; operations: i/u; segment IDs
{source, multi, ring, segment}: {0, 0, 2915, 3}/{0, 0, 2915, 5}
Reading .shp urban_areas
Reading .shp ice_shelf
Reading .shp glacier
Shapefile entity #360 type 5 is invalid. Parts:7. Reason:Geometry has
invalid self-intersections. A self-intersection point was found at
(-152.169, 78.8039); method: t; operations: u/u; segment IDs {source,
multi, ring, segment}: {0, 0, 0, 5}/{0, 0, 0, 87}... corrected
Shapefile entity #1875 type 5 is invalid. Parts:54. Reason:Geometry has
invalid self-intersections. A self-intersection point was found at
(-141.942, 76.9594); method: t; operations: u/u; segment IDs {source,
multi, ring, segment}: {0, 0, -1, 2543}/{0, 0, -1, 2505}... corrected
Sorting loaded shapes
Reading .pbf /data/dump/north-america-latest.osm.pbf
Killed62133/242025 ways 0 relations 0
…On Mon, Nov 27, 2023 at 9:26 AM Richard Fairhurst ***@***.***> wrote:
The config JSON looks in coastline/water_polygons.shp, so that's where
they should be (relative path not absolute) unless you change the config.
—
Reply to this email directly, view it on GitHub
<#592 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABRHMFMVYWUXYLMISVS2MDLYGSPH7AVCNFSM6AAAAAA7ZM3BLSVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TMOBRGU2TG>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Just wanted to say thanks for all the tips and tricks. Got North America
completed in about 13 hours
…On Mon, Nov 27, 2023, 1:55 p.m. Richard Fairhurst ***@***.***> wrote:
That's because you don't have enough RAM to do North America, I'm afraid.
You can try using the --store option pointing to somewhere on an SSD,
which will reduce RAM usage and use more on-disk - e.g. --store
/path/to/my/ssd/temp/. You'll still need a lot of RAM for North America
even then though.
—
Reply to this email directly, view it on GitHub
<#592 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABRHMFPGUWVXMKQBGUVKLA3YGTOZ7AVCNFSM6AAAAAA7ZM3BLSVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TMOBUGQ2DM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
You need to either have config.json in your current directory, or point to a JSON config file somewhere with the
--config
argument. Same applies for the Lua processing script. Typically you might use something like