Skip to content

Commit

Permalink
Update constraints demo to include relative simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
gwaldron committed Jan 21, 2025
1 parent 4cfc0e4 commit 7ec1146
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/constraints.earth
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,12 @@


<TerrainConstraint name="Virginia cut-out" remove_interior="true" min_level="0">
<OGRFeatures url="../data/virginia.shp"/>
<comment>Simplify the constraint to 1% of the tile extent</comment>
<OGRFeatures url="../data/virginia.shp">
<filters>
<simplify tolerance="1%"/>
</filters>
</OGRFeatures>
</TerrainConstraint>

<DebugImage show_tessellation="true" open="true"/>
Expand Down

0 comments on commit 7ec1146

Please sign in to comment.