OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

#1 2019-07-05 20:10:39

Christian Plonka
Member
Registered: 2019-07-05
Posts: 3

Cannot find water-polygons-generalized-3857.zip

Hi,

I tried setting up an OSM server and followed the excellent tutorial of OpenTopoMap. However, the tutorial asks me to download http://data.openstreetmapdata.com/water … d-3857.zip.
The problem is, that http://data.openstreetmapdata.com/ is discontinued and redirects to https://osmdata.openstreetmap.de/ where I can find water-polygons-split-3857.zip but not water-polygons-generalized-3857.zip.

Without the file, I get an error from renderd:

renderd[3835]: An error occurred while loading the map layer 'ajt': Shape Plugin: shapefile '/home/gis/OpenTopoMap/mapnik/data/water-polygons-generalized-3857/water_polygons_z1.shp' does not exist  encountered during parsing of layer 'waterpolys_z1' in Layer at line 72 of '/home/gis/OpenTopoMap/mapnik/opentopomap.xml'

and later

renderd[3835]: Received request for map layer 'ajt' which failed to load

Any hint where I can get the file or how I can get it to work?

Thanks,
Chris

Offline

#2 2019-07-06 07:32:21

Christian Plonka
Member
Registered: 2019-07-05
Posts: 3

Re: Cannot find water-polygons-generalized-3857.zip

Hi all,

I found that I can use simplified-water-polygons-split-3857 when I change OpenTopoMap/mapnik/styles-otm/basemap-sea.xml

If someone needs the modified file, please let me know.

Cheers,
Chris

Offline

#3 2019-08-27 17:44:05

kdoc
Member
Registered: 2019-08-27
Posts: 1

Re: Cannot find water-polygons-generalized-3857.zip

Exact same issue and log output here as well, Chris.  Did you also have issues with the map not loading at all?  Can I please kindly get that file mod from you when you get a chance?  Very much appreciated!

Offline

#4 2019-09-03 16:16:44

Christian Plonka
Member
Registered: 2019-07-05
Posts: 3

Re: Cannot find water-polygons-generalized-3857.zip

Hi kdoc,

I was on holiday, therefore sorry for the late reply.

Yes, the result was that the map did't show at all. Not sure how I can attach files here, but if you give me your mail address I can send them to you.

Otherwise, I can post the diff here:

3a4,52
>               &minscale_zoom1;
>               <PolygonSymbolizer fill="#97d2e3" />
>       </Rule>
> </Style>
> <Style name="waterpolys_z2">
>       <Rule>
>               &maxscale_zoom2;
>               &minscale_zoom2;
>               <PolygonSymbolizer fill="#97d2e3" />
>       </Rule>
> </Style>
> <Style name="waterpolys_z3">
>       <Rule>
>               &maxscale_zoom3;
>               &minscale_zoom3;
>               <PolygonSymbolizer fill="#97d2e3" />
>       </Rule>
> </Style>
> <Style name="waterpolys_z4">
>       <Rule>
>               &maxscale_zoom4;
>               &minscale_zoom4;
>               <PolygonSymbolizer fill="#97d2e3" />
>       </Rule>
> </Style>
> <Style name="waterpolys_z5">
>       <Rule>
>               &maxscale_zoom5;
>               &minscale_zoom5;
>               <PolygonSymbolizer fill="#97d2e3" />
>       </Rule>
> </Style>
> <Style name="waterpolys_z6">
>       <Rule>
>               &maxscale_zoom6;
>               &minscale_zoom6;
>               <PolygonSymbolizer fill="#97d2e3" />
>       </Rule>
> </Style>
> <Style name="waterpolys_z7">
>       <Rule>
>               &maxscale_zoom7;
>               &minscale_zoom7;
>               <PolygonSymbolizer fill="#97d2e3" />
>       </Rule>
> </Style>
> <Style name="waterpolys_z8">
>       <Rule>
>               &maxscale_zoom8;
24a74,121
>       <Datasource>
>               <Parameter name="type">shape</Parameter>
>               <Parameter name="file">data/water-polygons-generalized-3857/water_polygons_z1</Parameter>
>       </Datasource>
> </Layer>
> <Layer name="waterpolys_z2">
>       <StyleName>waterpolys_z2</StyleName>
>       <Datasource>
>               <Parameter name="type">shape</Parameter>
>               <Parameter name="file">data/water-polygons-generalized-3857/water_polygons_z2</Parameter>
>       </Datasource>
> </Layer>
> <Layer name="waterpolys_z3">
>       <StyleName>waterpolys_z3</StyleName>
>       <Datasource>
>               <Parameter name="type">shape</Parameter>
>               <Parameter name="file">data/water-polygons-generalized-3857/water_polygons_z3</Parameter>
>       </Datasource>
> </Layer>
> <Layer name="waterpolys_z4">
>       <StyleName>waterpolys_z4</StyleName>
>       <Datasource>
>               <Parameter name="type">shape</Parameter>
>               <Parameter name="file">data/water-polygons-generalized-3857/water_polygons_z4</Parameter>
>       </Datasource>
> </Layer>
> <Layer name="waterpolys_z5">
>       <StyleName>waterpolys_z5</StyleName>
>       <Datasource>
>               <Parameter name="type">shape</Parameter>
>               <Parameter name="file">data/water-polygons-generalized-3857/water_polygons_z5</Parameter>
>       </Datasource>
> </Layer>
> <Layer name="waterpolys_z6">
>       <StyleName>waterpolys_z6</StyleName>
>       <Datasource>
>               <Parameter name="type">shape</Parameter>
>               <Parameter name="file">data/water-polygons-generalized-3857/water_polygons_z6</Parameter>
>       </Datasource>
> </Layer>
> <Layer name="waterpolys_z7">
>       <StyleName>waterpolys_z7</StyleName>
>       <Datasource>
>               <Parameter name="type">shape</Parameter>
>               <Parameter name="file">data/water-polygons-generalized-3857/water_polygons_z7</Parameter>
>       </Datasource>
> </Layer>
> <Layer name="waterpolys_z8">
28c125
<               <Parameter name="file">data/simplified-water-polygons-split-3857/simplified_water_polygons</Parameter>
---
>               <Parameter name="file">data/water-polygons-generalized-3857/water_polygons_z8</Parameter>

Offline

Board footer

Powered by FluxBB