Skip to content

Commit

Permalink
updated index
Browse files Browse the repository at this point in the history
  • Loading branch information
Aklakan committed Aug 21, 2024
1 parent 32eaf40 commit 98224eb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/demos/leaflet-graphql/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,14 @@ <h3>Edit GraphQL Query</h3>
}
""", from: "s", to: "o")
# Note: simplifyDp simplifies polygons on query time
# Reduces amount of data and thus loading time
geometry @one
@pattern(of: """
?s geo:hasGeometry/geo:asWKT ?x .
BIND(STRDT(STR(geof:asGeoJSON(?x)), norse:json) AS ?o)
BIND(STRDT(STR(geof:asGeoJSON(
geof:simplifyDp(?x, 0.2)
)), norse:json) AS ?o)
""", from: "s", to: "o")
}
}
Expand Down

0 comments on commit 98224eb

Please sign in to comment.