geoadmin / mf-geoadmin3

Legacy source code of map.geo.admin.ch
https://map.geo.admin.ch
Other
227 stars 72 forks source link

Topic and single Topic #3157

Closed davidoesch closed 7 years ago

davidoesch commented 8 years ago

Situation

Task: -merge single topics and topics to have them in map.geo.admin.ch and www.geo.admin.ch

Action: (tbd)

map.geo.admin.ch

www.geo.admin.ch add the GREEN, RED BLUE as well in a divider (see example fanguin)

Result: tipic selection in map and www are synced

@gjn @cedricmoullet feedback?

gjn commented 8 years ago

+1.

cedricmoullet commented 8 years ago

I like the idea to synch both. But I don't get how the single topics will be integrated in map.geo.admin.ch (from design perspective). Do you have a mockup for desktop and mobile ?

2016-02-19 8:51 GMT+01:00 Gilbert Jeiziner notifications@github.com:

+1.

— Reply to this email directly or view it on GitHub https://github.com/geoadmin/mf-geoadmin3/issues/3157#issuecomment-186107206 .

Twitter: http://twitter.com/cedricmoullet Linked In: http://www.linkedin.com/in/cedricmoullet

http://twitter.com/cedricmoullet

davidoesch commented 8 years ago

they are just images with a permalink as they do currently exits at the bottom of www.geo.admin.ch.

cedricmoullet commented 8 years ago

yes, ok. But how do you integrate this in the UI of map.geo.admin.ch ?

2016-02-19 11:05 GMT+01:00 David Oesch notifications@github.com:

they are just images with a permalink as they do currently exits at the bottom of www.geo.admin.ch.

— Reply to this email directly or view it on GitHub https://github.com/geoadmin/mf-geoadmin3/issues/3157#issuecomment-186147515 .

Twitter: http://twitter.com/cedricmoullet Linked In: http://www.linkedin.com/in/cedricmoullet

http://twitter.com/cedricmoullet

davidoesch commented 8 years ago

Horizontal slider. As in www.geo.admin.ch

cedricmoullet commented 8 years ago

On mobile ? Do you really want to use such a big space of the screen ?

2016-02-19 11:40 GMT+01:00 David Oesch notifications@github.com:

Horizontal slider. As in www.geo.admin.ch

— Reply to this email directly or view it on GitHub https://github.com/geoadmin/mf-geoadmin3/issues/3157#issuecomment-186164684 .

Twitter: http://twitter.com/cedricmoullet Linked In: http://www.linkedin.com/in/cedricmoullet

http://twitter.com/cedricmoullet

gjn commented 8 years ago

It's topic selection - rarely or never used.

davidoesch commented 8 years ago

half a year later: topic selector is even bigger now. 2 complaints this weeks regarding this For the mockup: desktop: see the description above. we keep it in three lines. Mobile: alphabetical sorting

gjn commented 8 years ago

ping @pfanguin

gjn commented 8 years ago

These are 2 issues. Will split them out.

loicgasser commented 8 years ago

make three lines, scrollable horizontally first line BLUE topics and the end the RED ones, Second line GREEN topics

We need to extend the topic service for that. I propose a new attribute called topicGroup.

mariokeusen commented 7 years ago

This is getting some more relevance, since we'll have two additional topics to come in the next few weeks: geodesy and emapis. Means: would be one additional line on desktop with the current selector layout.

davidoesch commented 7 years ago

ping @gjn

loicgasser commented 7 years ago

PR for horizontal scrolling is ready, but please describe second part.

Third line Single topic maps.

@davidoesch

This is still not clear. Those are simply layers belonging to different topics. I think it's great to have images that are easy to browse and understand but you also understand that with the current topic restrictions/implementation this is not doable as is.

Why not put all the layers that belong to ech (which we could add in all topics and we treat them as a layer only) in a another panel or modal you could browse. At the end of the layer manager for instance. (top layers or something)

or remove all the topics restrictions....

loicgasser commented 7 years ago

Note that if you treat those as a topic they also need a catalog, a topic entry and so on....

davidoesch commented 7 years ago

Third line: Those are simply URLS. I propose that switching to those topics just loads the permalink. No resticton for the needed. So they are actually all ech topics ... Question: would we need to configure them via the topic spreadsheet?

loicgasser commented 7 years ago

no they don't belong all to ech at least natively but ok: https://s.geo.admin.ch/6ba218a46f which is a link for the accidents map

This is what topics are based on http://api3.geo.admin.ch/rest/services

and then everything is based on topics. https://api3.geo.admin.ch/1610261737/rest/services/blw/CatalogServer?lang=fr https://api3.geo.admin.ch/1610261737/rest/services/blw/SearchServer?searchText=acciden&lang=fr&type=layers etc...

Question: would we need to configure them via the topic spreadsheet?

We would need to change the topics service (e.g. http://api3.geo.admin.ch/rest/services) and therefore the spreadsheet. So yes doable via spreadsheet.

Maybe if we separate the names and ids, adapt a bunch of code in geoadmin we can do it. I guess you have the plConfig parameter in mind we used for schneesport topic.

But know that technically we first apply the permalink parameters and then switch to schneesport topic with the whole config. So you actually can't provide a topic in the link with topic=...

We need a proper id for those as well. A proxy topic if you prefer.

So those are not simply URLs...

loicgasser commented 7 years ago

Question: on mobile we had those to the select box? It's something like 30 new entries.

loicgasser commented 7 years ago

I am making some tests, but these are really two separate issues.

davidoesch commented 7 years ago

I see all your points: Question is: how would you, from tech perspective implement a quick access in Topic selctor to URLS?

loicgasser commented 7 years ago

I did find something pushing in a few minutes.

loicgasser commented 7 years ago

I am basically falling back on the main topic of interest where needed and building a topic configuration identical to the topicFallback expect for permalink configuration. Good thing is that we still have new topic names in the permalink. complexity is growing though.

davidoesch commented 7 years ago

one interesting approach would be to use subdomains like adminboundaries.map.geo.admin.ch for SEO good for SSL mmgt a nightmare @gjn ?

loicgasser commented 7 years ago

closed via https://github.com/geoadmin/mf-geoadmin3/issues/3612