{"action":"created","issue":{"url":"https://api.github.com/repos/infra-geo-ouverte/igo2-lib/issues/120","repository_url":"https://api.github.com/repos/infra-geo-ouverte/igo2-lib","labels_url":"https://api.github.com/repos/infra-geo-ouverte/igo2-lib/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/infra-geo-ouverte/igo2-lib/issues/120/comments","events_url":"https://api.github.com/repos/infra-geo-ouverte/igo2-lib/issues/120/events","html_url":"https://github.com/infra-geo-ouverte/igo2-lib/pull/120","id":298347685,"number":120,"title":"Wfs","user":{"login":"pelord","id":7397743,"avatar_url":"https://avatars1.githubusercontent.com/u/7397743?v=4","gravatar_id":"","url":"https://api.github.com/users/pelord","html_url":"https://github.com/pelord","followers_url":"https://api.github.com/users/pelord/followers","following_url":"https://api.github.com/users/pelord/following{/other_user}","gists_url":"https://api.github.com/users/pelord/gists{/gist_id}","starred_url":"https://api.github.com/users/pelord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pelord/subscriptions","organizations_url":"https://api.github.com/users/pelord/orgs","repos_url":"https://api.github.com/users/pelord/repos","events_url":"https://api.github.com/users/pelord/events{/privacy}","received_events_url":"https://api.github.com/users/pelord/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-19T17:09:27Z","updated_at":"2018-02-28T15:09:56Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/infra-geo-ouverte/igo2-lib/pulls/120","html_url":"https://github.com/infra-geo-ouverte/igo2-lib/pull/120","diff_url":"https://github.com/infra-geo-ouverte/igo2-lib/pull/120.diff","patch_url":"https://github.com/infra-geo-ouverte/igo2-lib/pull/120.patch"},"body":"Creating  an indepedant source for from wfs-datasource. Previously dependent of feature-datasource.  Adding possibilities for creating an initial filter (into context.json) for wfs datasets based on a new IGO object, called IgoOgcFilterObject.  \r\n\r\n1. This structure for logical filters:\r\n`{\"logical\" : \"Or\", \"filters\":\r\n    [\r\n        {\"operator\" : \"During\",\"propertyName\" : \"date\", \"begin\" : \"2014\" ,\"end\" : \"2016\"},\r\n        {\"operator\" : \"PropertyIsEqualTo\",\"propertyName\" : \"name\", \"pattern\" : \"Québec\"},\r\n        {\"operator\" : \"PropertyIsLike\",\"propertyName\" : \"number\", \"pattern\" : \"3*\"}\r\n    ]\r\n}, `\r\n2. This structure for simple OGC filters:\r\n`{\"operator\" : \"PropertyIsLike\",\"propertyName\" : \"number\", \"pattern\" : \"3*\"}`\r\n\r\nIn this pull request, I renamed some properties to clearly separate TimeFilter from OgcFilter. Next pull request will use these properties to populate a component. \r\n\r\nDocumentation for additionnal mandatory and optional parameters for wfs datasources will soon follow. \r\n\r\nTested on WFS with : \r\n\r\n- Mapserver 7.0.7 and 7.0.3 (https://ws.mapserver.transports.gouv.qc.ca/swtq?service=wms&request=getcapabilities) == > GML 3.1.1 and geojson\r\n\r\n- ArcGIS  (https://infogeo.education.gouv.qc.ca/arcgis/services/DonneesOuvertes/SW_MEES/MapServer/WFSServer?request=GetCapabilities&service=WFS) == > GML 3.1.1 \r\n- Geomedia == > GML 3.1.1  \r\n"},"comment":{"url":"https://api.github.com/repos/infra-geo-ouverte/igo2-lib/issues/comments/369269170","html_url":"https://github.com/infra-geo-ouverte/igo2-lib/pull/120#issuecomment-369269170","issue_url":"https://api.github.com/repos/infra-geo-ouverte/igo2-lib/issues/120","id":369269170,"user":{"login":"pelord","id":7397743,"avatar_url":"https://avatars1.githubusercontent.com/u/7397743?v=4","gravatar_id":"","url":"https://api.github.com/users/pelord","html_url":"https://github.com/pelord","followers_url":"https://api.github.com/users/pelord/followers","following_url":"https://api.github.com/users/pelord/following{/other_user}","gists_url":"https://api.github.com/users/pelord/gists{/gist_id}","starred_url":"https://api.github.com/users/pelord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pelord/subscriptions","organizations_url":"https://api.github.com/users/pelord/orgs","repos_url":"https://api.github.com/users/pelord/repos","events_url":"https://api.github.com/users/pelord/events{/privacy}","received_events_url":"https://api.github.com/users/pelord/received_events","type":"User","site_admin":false},"created_at":"2018-02-28T15:09:56Z","updated_at":"2018-02-28T15:09:56Z","author_association":"COLLABORATOR","body":"1. Moving parameters from  root to \"source\" : { ...} \r\n2. Adding MinScaleDenom and MaxScaleDenom to control wfs behavior in zoom. \r\n3. Modify download.service.ts to specific layers. For wfs, in source, add \"outputFormatDownload\": \"YOURFORMAT\" to enable download. For other layer, config \"download\" : { \"url\": \"www.filetodownload.com/file.zip', \"extern\": true}\r\n4. Priorize parameter in url bbox=[extent...] on filter=<filter><bbox>.... when no attribute filter. "}}
{"actor":{"display_login":"pelord"}}