-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GEOS-11486] Mapml Adding customdims to mapMl document #371
Conversation
bb847a7
to
a50fa90
Compare
@prushforth what do you think of this one? |
While I do see the custom dimension in the capabilities document, and of course the GetMap response in the preview reflects the default value, I don't see it reflected in any of the URLs in the text/mapml document as a DIM_WHATEVER variable / parameter, and I was hoping it would get reflected into a <map-select name="DIM_WHATEVER"> so that it could be queried by the client and be useful as a way to query the content. My understanding of how to use WMS dimensions is a bit limited, but if you create a custom dimension for a layer that has say 50 values for that dimension, you could present them for selection by the client. That's what I've done so far with non-custom dimensions, at least. |
Hi @prushforth. This is how the mapml HTML client preview looks like: Where we can select one of the possible values and see the output reflected in the preview: And when requesting the MapML output, I'm getting this content (Please, click on the image to enlarge it): With all the supported map-options reported in the map-select
And the map-link containing the dim_corr parameter:
When requesting the MapML output (with the check box on Use Tiles), I'm getting this (Please, click on the image to enlarge it): Is it what you was expecting or are we still missing something? |
That's what I'm expecting. I couldn't recall where I put that custom data, so I tried it with the states layer on population and couldn't reproduce the results, so probably user error. Please proceed! |
…oserver#7804) * [GEOS-11368] Allow Freemarker templates to update MapML responses started on template page ftl file names correction fixed xml code block and added map-property Created preview header integration test and started extracting template swapped in better method for empty feature finished first integration test switched to dedicated template head template style registering servicelink fixed servicelink changed serviceLink to base,path,kvp cleanup dollar signs breaking code block started on subfeature span insertion with integration test Got point xml interpolation working progressing on polygon Got polygon unmarshal working got multipolygon to unmarshal changed strings to coords and linestring parsing removed interpolated, created head styles using basic mapml attributes and point test working and phantom space removed polygon and multipolygon tests added feature id check to multipolygon test tests with space replacement version that uses lists of coordinates instead of strings removed some other remainder stuff from the space thing cleanup added check for tagged geom doc update PR changes, mainly map-span tests updated without xml escape updated documentation removing cdata escaping added template attributes to mapml feature fixed attribute replacement and added documentation examples more doc update line test fix fixed issue with geometrycollection and updated documentation with example better output if error format coordinates, including number of decimals fixed pmd PR doc updates and started on a wrapper fixed underline in template doc preview header change restored test remoe ipr iws simplified optional doc updates * Small doc edits * Make MapMLMapTemplate thread safe * Make MapMLMapTemplate thread safe --------- Co-authored-by: Andrea Aime <andrea.aime@gmail.com>
Attempt updating to latest Marlin renderer
Closing PR after having rebased to main (which introduced some commits from Joseph and Andrea). |
https://osgeo-org.atlassian.net/browse/GEOS-11486
Checklist
main
branch (backports managed later; ignore for branch specific issues).For core and extension modules:
[GEOS-XYZWV] Title of the Jira ticket
.