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

2
1

Hi,

I'm new to osm and mapnik, i finally found a way to hide the borders tagged as maritime through mapnik but there is a border, also tagged as maritime on which my rules are not applied.

Only belgium data are imported but a border of Netherlands is showing on the map: Click here for screenshot

You can see that the maritime borders of Belgium are correctly hidden but there is one remaining in front of the Netherlands. The data were downloaded this morning from geofabrik. If you follow this link you can see how that border is tagged, it has admin_level=2 and maritime=yes.

Can anyone explain why my rules are not applied on that border? And why it is in the Belgium data extract whereas it's related to the Netherlands?

Here is my mapnik config from layer-admin.xml.inc from dropbox

asked 16 Jun '14, 13:26

QuentP's gravatar image

QuentP
41115
accept rate: 0%

edited 16 Jun '14, 13:28

Me too having having same problem. i followed the instruction given in http://switch2osm.org/serving-tiles/manually-building-a-tile-server-12-04/ in planet_osm_roads i cant find any attributes with name maritime. in planet_osm_line i have find only few row for condition "boundary" = 'maritime'

Can u explain how did u import the data to postgres ?

(10 Nov '14, 11:31) Arun kmp
(12 Nov '14, 08:26) QuentP

At a very rough guess I'd suggest looking at the relations which include that way. You could try a PostGIS query to find which linestrings in your database intersect this area, and examine their tags.

Personally I have chosen to change the ordering of my rendering thus:

  1. (bottom) Land
  2. Borders
  3. (top) Sea

such that the sea always appears above these accursed fugly maritime boundaries.

permanent link

answered 12 Nov '14, 10:55

Richard's gravatar image

Richard ♦
30.9k44279412
accept rate: 18%

edited 12 Nov '14, 10:55

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:

×341
×32
×4

question asked: 16 Jun '14, 13:26

question was seen: 4,092 times

last updated: 12 Nov '14, 10:55

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