Render themes: revert tessellation in water areas except sea #224
This commit is contained in:
parent
f7acfd9017
commit
892ea92580
@ -106,7 +106,7 @@
|
||||
<!--water-->
|
||||
<!--<style-area id="water" fill="#97b7e5" afc5e3 /> -->
|
||||
<!-- src="assets:textures/water.png" -->
|
||||
<style-area fade="-1" fill="#99badf" id="water" mesh="true" />
|
||||
<style-area fade="-1" fill="#99badf" id="water" />
|
||||
|
||||
<!--###### LINE styles ######-->
|
||||
|
||||
@ -168,7 +168,7 @@
|
||||
<!--###### ASSIGNMENT ######-->
|
||||
|
||||
<m e="way" k="natural" v="issea|sea">
|
||||
<area use="water" />
|
||||
<area mesh="true" use="water" />
|
||||
</m>
|
||||
|
||||
<m e="way" k="natural" v="nosea">
|
||||
|
@ -74,7 +74,7 @@
|
||||
<style-area fade="15" fill="#ee404040" id="building" />
|
||||
|
||||
<!--water-->
|
||||
<style-area fill="#001223" id="water" mesh="true" />
|
||||
<style-area fill="#001223" id="water" />
|
||||
|
||||
|
||||
<!--###### LINE styles ######-->
|
||||
@ -122,7 +122,7 @@
|
||||
<!--###### ASSIGNMENT ######-->
|
||||
|
||||
<m e="way" k="natural" v="issea|sea">
|
||||
<area use="water" />
|
||||
<area mesh="true" use="water" />
|
||||
</m>
|
||||
|
||||
<m e="way" k="natural" v="nosea">
|
||||
|
@ -102,7 +102,7 @@
|
||||
<!--water-->
|
||||
<!--<style-area id="water" fill="#97b7e5" afc5e3 /> -->
|
||||
<!-- src="assets:textures/water.png" -->
|
||||
<style-area fade="-1" fill="#99badf" id="water" mesh="true" />
|
||||
<style-area fade="-1" fill="#99badf" id="water" />
|
||||
|
||||
|
||||
<!--###### LINE styles ######-->
|
||||
@ -356,7 +356,7 @@
|
||||
<m k="layer" v="water">
|
||||
<m k="class">
|
||||
<m v="ocean|lake|river">
|
||||
<area use="water" />
|
||||
<area mesh="true" use="water" />
|
||||
</m>
|
||||
</m>
|
||||
</m>
|
||||
|
@ -41,7 +41,7 @@
|
||||
<!--###### AREA styles ######-->
|
||||
|
||||
<!--water-->
|
||||
<style-area fill="#d0d0d0" id="water" mesh="true" />
|
||||
<style-area fill="#d0d0d0" id="water" />
|
||||
|
||||
|
||||
<!--###### LINE styles ######-->
|
||||
@ -56,7 +56,7 @@
|
||||
<!--###### ASSIGNMENT ######-->
|
||||
|
||||
<m e="way" k="natural" v="issea|sea">
|
||||
<area use="water" />
|
||||
<area mesh="true" use="water" />
|
||||
</m>
|
||||
|
||||
<m e="way" k="natural" v="nosea">
|
||||
|
@ -41,7 +41,7 @@
|
||||
<!--###### AREA styles ######-->
|
||||
|
||||
<!--water-->
|
||||
<style-area fill="#b5d6f1" id="water" mesh="true" />
|
||||
<style-area fill="#b5d6f1" id="water" />
|
||||
|
||||
|
||||
<!--###### LINE styles ######-->
|
||||
@ -56,7 +56,7 @@
|
||||
<!--###### ASSIGNMENT ######-->
|
||||
|
||||
<m e="way" k="natural" v="issea|sea">
|
||||
<area use="water" />
|
||||
<area mesh="true" use="water" />
|
||||
</m>
|
||||
|
||||
<m e="way" k="natural" v="nosea">
|
||||
|
@ -73,7 +73,7 @@
|
||||
<style-area fade="15" fill="#ee606060" id="building" />
|
||||
|
||||
<!--water-->
|
||||
<style-area fill="#001223" id="water" mesh="true" />
|
||||
<style-area fill="#001223" id="water" />
|
||||
|
||||
|
||||
<!--###### LINE styles ######-->
|
||||
@ -122,7 +122,7 @@
|
||||
<!--###### ASSIGNMENT ######-->
|
||||
|
||||
<m e="way" k="natural" v="issea|sea">
|
||||
<area use="water" />
|
||||
<area mesh="true" use="water" />
|
||||
</m>
|
||||
|
||||
<m e="way" k="natural" v="nosea">
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright 2013 Hannes Janetzek
|
||||
* Copyright 2017 devemux86
|
||||
* Copyright 2017-2019 devemux86
|
||||
*
|
||||
* This file is part of the OpenScienceMap project (http://www.opensciencemap.org).
|
||||
*
|
||||
@ -102,7 +102,7 @@ public class MeshBucket extends RenderBucket {
|
||||
}
|
||||
if (!tess.tesselate()) {
|
||||
tess.dispose();
|
||||
log.debug("error in tessellation {}", numPoints);
|
||||
log.error("error in tessellation {}", numPoints);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user