Skip to content

Serialize alternate projection links for known applicable MapML: projections #82

@prushforth

Description

@prushforth

Related

Currently, 'well-known' MapML: authority projections are serialized as alternate projection links in each MapML document:

<map-link rel="alternate" projection="OSMTILE" href="https://example.org/geoserver/msc/wms?format_options=mapml-wms-format%3Aimage%2Fpng&request=GetMap&crs=MapML%3AOSMTILE&service=WMS&bbox=-1.9771353430346526E7%2C3550701.251005205%2C2.0000184074674536E7%2C1.8524695031846646E7&format=text%2Fmapml&layers=CURRENT_CONDITIONS&width=364&version=1.3.0&height=768"></map-link>
<map-link rel="alternate" projection="APSTILE" href="https://example.org/geoserver/msc/wms?format_options=mapml-wms-format%3Aimage%2Fpng&request=GetMap&crs=MapML%3AAPSTILE&service=WMS&bbox=-5266985.219718212%2C-5266985.219718212%2C9266985.219718212%2C9266985.219718212&format=text%2Fmapml&layers=CURRENT_CONDITIONS&width=364&version=1.3.0&height=768"></map-link>
<map-link rel="alternate" projection="WGS84" href="https://example.org/geoserver/msc/wms?format_options=mapml-wms-format%3Aimage%2Fpng&request=GetMap&crs=MapML%3AWGS84&service=WMS&bbox=-177.60908974209215%2C30.366141302758248%2C179.66471039483983%2C83.72878702993546&format=text%2Fmapml&layers=CURRENT_CONDITIONS&width=364&version=1.3.0&height=768"></map-link>

If there are custom MapML: authority projections defined by the local service, their alternate links should also be serialized alongside the pre-defined projections:

<map-link rel="alternate" projection="OSMTILE" href="https://example.org/geoserver/msc/wms?format_options=mapml-wms-format%3Aimage%2Fpng&request=GetMap&crs=MapML%3AOSMTILE&service=WMS&bbox=-1.9771353430346526E7%2C3550701.251005205%2C2.0000184074674536E7%2C1.8524695031846646E7&format=text%2Fmapml&layers=CURRENT_CONDITIONS&width=364&version=1.3.0&height=768"></map-link>
<map-link rel="alternate" projection="APSTILE" href="https://example.org/geoserver/msc/wms?format_options=mapml-wms-format%3Aimage%2Fpng&request=GetMap&crs=MapML%3AAPSTILE&service=WMS&bbox=-5266985.219718212%2C-5266985.219718212%2C9266985.219718212%2C9266985.219718212&format=text%2Fmapml&layers=CURRENT_CONDITIONS&width=364&version=1.3.0&height=768"></map-link>
<map-link rel="alternate" projection="WGS84" href="https://example.org/geoserver/msc/wms?format_options=mapml-wms-format%3Aimage%2Fpng&request=GetMap&crs=MapML%3AWGS84&service=WMS&bbox=-177.60908974209215%2C30.366141302758248%2C179.66471039483983%2C83.72878702993546&format=text%2Fmapml&layers=CURRENT_CONDITIONS&width=364&version=1.3.0&height=768"></map-link>

<map-link rel="alternate" projection="USNATATLAS" href="https://example.org/geoserver/msc/wms?format_options=mapml-wms-format%3Aimage%2Fpng&request=GetMap&crs=MapML%3AUSNATATLAS&service=WMS&bbox=-177.60908974209215%2C30.366141302758248%2C179.66471039483983%2C83.72878702993546&format=text%2Fmapml&layers=CURRENT_CONDITIONS&width=364&version=1.3.0&height=768"></map-link>

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions