Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I want to remove the maritime border in higher admin levels( > 4) #2215

Closed
Revathi001 opened this issue Jul 6, 2016 · 7 comments
Closed

Comments

@Revathi001
Copy link

Am using carto boundaries to generate my map tiles, when my map rendered over admin level 4, it shows the maritime borders extending on sea which looks very odd on map UI. You could see that in the below link ... , the red colored maritime lines extending on sea.
(https://cloud.githubusercontent.com/assets/19591188/16609096/ac5066da-436e-11e6-97cb-6fb927ca106d.png)

Kindly help ...am in need .

@nebulon42
Copy link
Contributor

Unfortunately, it seems that the borders you want to get rid of are not tagged with maritime=yes so it is a bit difficult. One possibility would be to use ocean polygons instead of land polygons to "hide" the parts below the water. Another possibility would be to clip borders on the outlines of the land polygons. But this may need preprocessing since it may be slow on the fly.

Others might have other or better ideas.

@RevathiKanakapathi
Copy link

RevathiKanakapathi commented Jul 6, 2016

I filtered [maritime]=0 in my xml file... its only working for below admin_level <5 and for the above one's

For sample
<Rule> <Filter>[maritime]=0 and [admin_level]=5</Filter> &maxscale_zoom8; &minscale_zoom18; <LineSymbolizer stroke="grey" stroke-width="1" stroke-dasharray="6,3,2,3,2,3" stroke-opacity="0.3"/> </Rule>

@nebulon42
Copy link
Contributor

For Mapnik XML and general help with cartography questions you might get better help on gis.stackexchange.com. In the strict sense this issue tracker is only for discussions around openstreetmap-carto.

@RevathiKanakapathi
Copy link

Ok thank you so much for your fast response

@matthijsmelissen
Copy link
Collaborator

See also #621.

@dieterdreist
Copy link

sent from a phone

Il giorno 06 lug 2016, alle ore 11:57, Michael Glanznig [email protected] ha scritto:

Unfortunately, it seems that the borders you want to get rid of are not tagged with maritime=yes so it is a bit difficult

maybe you should simply add this tag where it is missing

@RevathiKanakapathi
Copy link

Yes i can't tag them, but can i add that them manually

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants