geobtaa / geoportal

Big Ten Academic Alliance Geoportal
Other
10 stars 5 forks source link

Consider how to display complex geometry in map inset #505

Closed karenmajewicz closed 7 months ago

karenmajewicz commented 1 year ago

Related to #477

The map inset will show both the geometry and the bounding box. If they represent different shapes, they appear on top of each other. Example: https://geodev.btaa.org/catalog/camel-1006400

Would it be possible to use a different color for the geometry overlay? With some explanatory text? Just brainstorming here on making this more intuitive....

karenmajewicz commented 7 months ago

Circling back to this - for an upcoming article, I am planning to document some examples on how the complex geometry is useful. The case might be stronger if the bbox looks different from the geometry polygons. A few candidates I might use:

U.S. Air Force. (2016). Aeronautical Planning Charts: Iran AP-12. U.S. Air Force. Available from: https://geo.btaa.org/catalog/camel-1015121- shows how a map warps over a large area

Hondius, Hendrik, 1597-1651. Appendix Atlas of the British Isles and Northern Europe, Jansson, Jan, 1588-1664. Appendix Atlas of the British Isles and Northern Europe, Mercator, Gerhard, 1512-1594, Vignaud, Henry, 1830-1922, former owner.. (n.d.). Anglesey; Garnesay; Wight olim vectis; Iarsay; Per Gerardum Mercatorem.; Title on verso: Isles d'Anglesey Wight Jarsay et Garnesay. Available from: https://geo.btaa.org/catalog/c8b46b52-0846-4abb-ba56-b484064f84ac - This pages has 4 inset maps on one page

ewlarson commented 7 months ago

For complex geoms, we could style the bbox like so:

Screenshot 2024-02-29 at 11 59 57 AM

We have a lot of control here: color of the line, solid vs. dashed, etc. In the screenshot above, I've made it a dashed line with the same color as the geojson polygon.

ewlarson commented 7 months ago

The second example. Screenshot 2024-02-29 at 12 07 19 PM

karenmajewicz commented 7 months ago

Looks good.