{"action":"created","issue":{"url":"https://api.github.com/repos/heron-mc/heron-mc/issues/324","labels_url":"https://api.github.com/repos/heron-mc/heron-mc/issues/324/labels{/name}","comments_url":"https://api.github.com/repos/heron-mc/heron-mc/issues/324/comments","events_url":"https://api.github.com/repos/heron-mc/heron-mc/issues/324/events","html_url":"https://github.com/heron-mc/heron-mc/issues/324","id":74893379,"number":324,"title":"Implement Catalogue into Heron (GXP AddLayers, via W*S Capabilities)","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/heron-mc/heron-mc/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/heron-mc/heron-mc/labels/Milestone-Release1.0.3","name":"Milestone-Release1.0.3","color":"ededed"},{"url":"https://api.github.com/repos/heron-mc/heron-mc/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/heron-mc/heron-mc/labels/Project-Warwick-Ph2","name":"Project-Warwick-Ph2","color":"ededed"},{"url":"https://api.github.com/repos/heron-mc/heron-mc/labels/Type-Enhancement","name":"Type-Enhancement","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/heron-mc/heron-mc/milestones/1","html_url":"https://github.com/heron-mc/heron-mc/milestones/Release-1.0.6","labels_url":"https://api.github.com/repos/heron-mc/heron-mc/milestones/1/labels","id":1103657,"number":1,"title":"Release-1.0.6","description":null,"creator":{"login":"justb4","id":582630,"avatar_url":"https://avatars.githubusercontent.com/u/582630?v=3","gravatar_id":"","url":"https://api.github.com/users/justb4","html_url":"https://github.com/justb4","followers_url":"https://api.github.com/users/justb4/followers","following_url":"https://api.github.com/users/justb4/following{/other_user}","gists_url":"https://api.github.com/users/justb4/gists{/gist_id}","starred_url":"https://api.github.com/users/justb4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justb4/subscriptions","organizations_url":"https://api.github.com/users/justb4/orgs","repos_url":"https://api.github.com/users/justb4/repos","events_url":"https://api.github.com/users/justb4/events{/privacy}","received_events_url":"https://api.github.com/users/justb4/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":8,"state":"open","created_at":"2015-05-10T14:19:41Z","updated_at":"2015-11-17T17:38:48Z","due_on":null,"closed_at":null},"comments":66,"created_at":"2015-05-10T10:51:52Z","updated_at":"2015-11-18T14:00:31Z","closed_at":null,"body":"```\nImplement a catalogue function to allow the user to pull layers from any of \nWMS/WFS/TMS/WMTS etc. Similar to http://suite.opengeo.org/geoexplorer/composer\n\n* A implementer configurable button which can be added to the layers list that \nwill allow users to add layers. [1]\n\n* A separate button which will allow users to remove a selected layer from the \nlayer list and the map. (already in layer-settings in a manner of speaking).\n\n* The add-layers button should bring up a dialog/panel (which is better?) that \nincludes a drop-down menu of all pre-configured systems. The bottom item on the \nlist should be \"Add new Server\". [2]\n\n*- The implementer can pre-configure services (probably with a \"name\", \n\"description\" as well as the URL) which will appear in a list.\n\n*- Using the \"Add new Server\" item, the user is asked to enter a name and URL \nfor the service. Once entered Heron will negotiate with the service invisibly. \n[3 (optional)]\n\n*== It should support all of the following services at least: WMS, WMTS, TMS \nand WFS (the later can be styled by the user with the new tools after all). \nOther services too if desired (\"anything supported by OpenLayers\" was the \nquote).\n\n*== Any service that is added by the user should be remembered in the drop-down \nlist for future sessions (after browser restart), likely using cookies or HTML5 \nstorage.\n\n*- Once a user has selected a service (implementer specified or user \nspecified), Heron uses the GetCapabilities to list to the user the layers \navailable. Layers should be listed alphabetically using the \"Title\" where \navailable, or the \"name\" otherwise. The Abstract should be included somewhere \ntoo, along with any other pertinent information [4].\n\n*- Above this layer list, heron will show the Service-wide title and abstract \nfrom the Getcapabilities.\n\n*- This list of layers should be searchable (case insensitive). Ideally via a \ndynamic search box (similar to Google suggestions). It should search at least \nthe title, but also keywords and maybe abstract too. [5 (optional)]\n\n*- (WMS) For each layer there could be a small icon which should depict if a \nlayer is queryable or not (WMS).\n\n*- (WMS) How do we handle formats? Just assume PNG? Make the user select from \navailable options using PNG as default?\n\n*- (WMS) Where multiple styles are available, Heron should allow the user some \nway to specify which to use. [6 (optional)]\n\n*- (WMS) Ideally it will include a preview of the style (the URL for the legend \nis in the GetCapabilities). I'd suggest only doing this if the legend \nwidth/height (also typically in getCaps) is below a certain threshold (though \nGeoServer currently has a bug where it mis-reports legend sizes).\n\n*- User should be able to select multiple layers using standard Ctrl and Shift \ninterface paradigms. [7]\n\n*- Once a layer is added, it should be enabled by default on the map unless WFS \n(WFS would be off by default to stop accidental feature overload). [8]\n\n* Any layers added should be remembered in the user's bookmarks if saved.\n\n* Layers added later should be on top of layers added earlier.\n\n* If a layer is added, Heron should use whatever the map projection is if the \nlayer supports it. Otherwise use WGS:84 (always supported) and reproject. (that \nshould cover everyone)\n\n==============\n\nThe numbers is square brackets (i.e. [1]) are the order of actions I forsee a \nuser taking.\n\n\nNote: Due to the complexity of the UI for this feature, I'd *strongly* advise \nstarting by creating a simple mockup of the proposed interface first and then \nliasing with us (and any other interested Heron devs/users) to confirm/tweak \nit. Alternately maybe 30 minutes with paint to knock up some screenshots may be \nan idea. I don't currently have any particular UI in mind, hence not providing \nany myself.\n```\n\nOriginal issue reported on code.google.com by `jonathan...@warwickshire.gov.uk` on 23 Dec 2013 at 1:55"},"comment":{"url":"https://api.github.com/repos/heron-mc/heron-mc/issues/comments/157721202","html_url":"https://github.com/heron-mc/heron-mc/issues/324#issuecomment-157721202","issue_url":"https://api.github.com/repos/heron-mc/heron-mc/issues/324","id":157721202,"user":{"login":"justb4","id":582630,"avatar_url":"https://avatars.githubusercontent.com/u/582630?v=3","gravatar_id":"","url":"https://api.github.com/users/justb4","html_url":"https://github.com/justb4","followers_url":"https://api.github.com/users/justb4/followers","following_url":"https://api.github.com/users/justb4/following{/other_user}","gists_url":"https://api.github.com/users/justb4/gists{/gist_id}","starred_url":"https://api.github.com/users/justb4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justb4/subscriptions","organizations_url":"https://api.github.com/users/justb4/orgs","repos_url":"https://api.github.com/users/justb4/repos","events_url":"https://api.github.com/users/justb4/events{/privacy}","received_events_url":"https://api.github.com/users/justb4/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T14:00:31Z","updated_at":"2015-11-18T14:00:31Z","body":"Inventory of the main outstanding problems for this issue, reproduced on http://kadviewer.kademo.nl\r\n\r\n1. preconfigured TMS layers don't appear in \"Toegevoegde Lagen\" layertree Folder\r\n2. remove layer button does not work as expected (seems to remove only last added layer)\r\n3. same for \"wrench\" button \r\n4. including added layers in Bookmark produced disabled bookmark \r\n\r\nresolutions:\r\nad 1) let TMS Layers appear in Folder\r\nad 2) temp fix: enable Remove Layer button only for added layers (other layers don't make sense)\r\nad 3) temp fix: ditto (only newly added layers have (layer-)metadata from Capabilities)\r\nad 4) disable Bookmark adding with user message when added layers involved\r\n\r\nAfter fixing these, we should close this issue and consider this Catalog-OWSServer ready and move to bugfixing mode with new (and smaller) issues.\r\n "}}