{"id":1145,"date":"2017-11-10T00:27:43","date_gmt":"2017-11-09T14:27:43","guid":{"rendered":"http:\/\/spatialventures.com.au\/en\/?p=1145"},"modified":"2020-10-15T10:13:26","modified_gmt":"2020-10-15T00:13:26","slug":"openlayers-4-parametric-view","status":"publish","type":"post","link":"https:\/\/spatialventures.com.au\/en\/2017\/11\/10\/openlayers-4-parametric-view\/","title":{"rendered":"Openlayers 4 &#8211; Parametric View"},"content":{"rendered":"<p>Openlayers 4 &#8211; a parametric view is defined in Geoserver, and flitered in Openlayers through javascript &#8211; filter parameters are retrieved through an Ajax request querying the source layer in Postgres\/Postgis. The layer is refined and point locations are returned and displayed. In addition, on-click events trigger retrieval of point attributes based on GeoJson.<br \/>\nA corresponding bounding-box is returned through an additional Postgis request, querying st_extent of the features&#8217; geometries.<\/p>\n<p>See:<\/p>\n<p><a href=\"http:\/\/gis.spatialventures.com.au\/png_demo\/census_map.html\">http:\/\/gis.spatialventures.com.au\/png_demo\/census_map.html<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Openlayers 4 &#8211; a parametric view is defined in Geoserver, and flitered in Openlayers through javascript &#8211; filter parameters are retrieved through an Ajax request querying the source layer in Postgres\/Postgis. The layer is refined and point locations are returned and displayed. In addition, on-click events trigger retrieval of point attributes based on GeoJson. A &hellip; <a href=\"https:\/\/spatialventures.com.au\/en\/2017\/11\/10\/openlayers-4-parametric-view\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Openlayers 4 &#8211; Parametric View&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[13],"class_list":["post-1145","post","type-post","status-publish","format-standard","hentry","category-gis_updates","tag-openlayers-4"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Openlayers 4 - Parametric View &#8211; Spatial Ventures - Geospatial Services<\/title>\n<meta name=\"description\" content=\"Updates on GIS, field survey work and Spatial Ventures&#039; projects\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/spatialventures.com.au\/en\/2017\/11\/10\/openlayers-4-parametric-view\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Openlayers 4 - Parametric View &#8211; Spatial Ventures - Geospatial Services\" \/>\n<meta property=\"og:description\" content=\"Updates on GIS, field survey work and Spatial Ventures&#039; projects\" \/>\n<meta property=\"og:url\" content=\"https:\/\/spatialventures.com.au\/en\/2017\/11\/10\/openlayers-4-parametric-view\/\" \/>\n<meta property=\"og:site_name\" content=\"Spatial Ventures - Geospatial Services\" \/>\n<meta property=\"article:published_time\" content=\"2017-11-09T14:27:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-10-15T00:13:26+00:00\" \/>\n<meta name=\"author\" content=\"Ralf\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rschroers\" \/>\n<meta name=\"twitter:site\" content=\"@rschroers\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ralf\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/spatialventures.com.au\\\/en\\\/2017\\\/11\\\/10\\\/openlayers-4-parametric-view\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/spatialventures.com.au\\\/en\\\/2017\\\/11\\\/10\\\/openlayers-4-parametric-view\\\/\"},\"author\":{\"name\":\"Ralf\",\"@id\":\"https:\\\/\\\/spatialventures.com.au\\\/en\\\/#\\\/schema\\\/person\\\/ccdeb942ff2087c6c28ffe5b87b2eb96\"},\"headline\":\"Openlayers 4 &#8211; Parametric View\",\"datePublished\":\"2017-11-09T14:27:43+00:00\",\"dateModified\":\"2020-10-15T00:13:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/spatialventures.com.au\\\/en\\\/2017\\\/11\\\/10\\\/openlayers-4-parametric-view\\\/\"},\"wordCount\":86,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/spatialventures.com.au\\\/en\\\/#organization\"},\"keywords\":[\"Openlayers 4\"],\"articleSection\":[\"GIS updates\"],\"inLanguage\":\"en-AU\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/spatialventures.com.au\\\/en\\\/2017\\\/11\\\/10\\\/openlayers-4-parametric-view\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/spatialventures.com.au\\\/en\\\/2017\\\/11\\\/10\\\/openlayers-4-parametric-view\\\/\",\"url\":\"https:\\\/\\\/spatialventures.com.au\\\/en\\\/2017\\\/11\\\/10\\\/openlayers-4-parametric-view\\\/\",\"name\":\"Openlayers 4 - Parametric View &#8211; Spatial Ventures - Geospatial Services\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/spatialventures.com.au\\\/en\\\/#website\"},\"datePublished\":\"2017-11-09T14:27:43+00:00\",\"dateModified\":\"2020-10-15T00:13:26+00:00\",\"description\":\"Updates on GIS, field survey work and Spatial Ventures' projects\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/spatialventures.com.au\\\/en\\\/2017\\\/11\\\/10\\\/openlayers-4-parametric-view\\\/#breadcrumb\"},\"inLanguage\":\"en-AU\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/spatialventures.com.au\\\/en\\\/2017\\\/11\\\/10\\\/openlayers-4-parametric-view\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/spatialventures.com.au\\\/en\\\/2017\\\/11\\\/10\\\/openlayers-4-parametric-view\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/spatialventures.com.au\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Openlayers 4 &#8211; Parametric View\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/spatialventures.com.au\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/spatialventures.com.au\\\/en\\\/\",\"name\":\"Spatial Ventures - Geospatial Services\",\"description\":\"Working for a Sustainable Future\",\"publisher\":{\"@id\":\"https:\\\/\\\/spatialventures.com.au\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/spatialventures.com.au\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-AU\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/spatialventures.com.au\\\/en\\\/#organization\",\"name\":\"Spatial Ventures\",\"url\":\"https:\\\/\\\/spatialventures.com.au\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-AU\",\"@id\":\"https:\\\/\\\/spatialventures.com.au\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/spatialventures.com.au\\\/en\\\/wp-content\\\/uploads\\\/2019\\\/10\\\/logo_sv_cut_dotcom.png\",\"contentUrl\":\"https:\\\/\\\/spatialventures.com.au\\\/en\\\/wp-content\\\/uploads\\\/2019\\\/10\\\/logo_sv_cut_dotcom.png\",\"width\":103,\"height\":57,\"caption\":\"Spatial Ventures\"},\"image\":{\"@id\":\"https:\\\/\\\/spatialventures.com.au\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/rschroers\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/geospatial-services\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/spatialventures.com.au\\\/en\\\/#\\\/schema\\\/person\\\/ccdeb942ff2087c6c28ffe5b87b2eb96\",\"name\":\"Ralf\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-AU\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a6ded859cfc34afeef03127e3c488ce168db9c30282a74946c6cc7b262bc11f7?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a6ded859cfc34afeef03127e3c488ce168db9c30282a74946c6cc7b262bc11f7?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a6ded859cfc34afeef03127e3c488ce168db9c30282a74946c6cc7b262bc11f7?s=96&d=mm&r=g\",\"caption\":\"Ralf\"},\"url\":\"https:\\\/\\\/spatialventures.com.au\\\/en\\\/author\\\/rschroers\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Openlayers 4 - Parametric View &#8211; Spatial Ventures - Geospatial Services","description":"Updates on GIS, field survey work and Spatial Ventures' projects","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/spatialventures.com.au\/en\/2017\/11\/10\/openlayers-4-parametric-view\/","og_locale":"en_US","og_type":"article","og_title":"Openlayers 4 - Parametric View &#8211; Spatial Ventures - Geospatial Services","og_description":"Updates on GIS, field survey work and Spatial Ventures' projects","og_url":"https:\/\/spatialventures.com.au\/en\/2017\/11\/10\/openlayers-4-parametric-view\/","og_site_name":"Spatial Ventures - Geospatial Services","article_published_time":"2017-11-09T14:27:43+00:00","article_modified_time":"2020-10-15T00:13:26+00:00","author":"Ralf","twitter_card":"summary_large_image","twitter_creator":"@rschroers","twitter_site":"@rschroers","twitter_misc":{"Written by":"Ralf"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/spatialventures.com.au\/en\/2017\/11\/10\/openlayers-4-parametric-view\/#article","isPartOf":{"@id":"https:\/\/spatialventures.com.au\/en\/2017\/11\/10\/openlayers-4-parametric-view\/"},"author":{"name":"Ralf","@id":"https:\/\/spatialventures.com.au\/en\/#\/schema\/person\/ccdeb942ff2087c6c28ffe5b87b2eb96"},"headline":"Openlayers 4 &#8211; Parametric View","datePublished":"2017-11-09T14:27:43+00:00","dateModified":"2020-10-15T00:13:26+00:00","mainEntityOfPage":{"@id":"https:\/\/spatialventures.com.au\/en\/2017\/11\/10\/openlayers-4-parametric-view\/"},"wordCount":86,"commentCount":0,"publisher":{"@id":"https:\/\/spatialventures.com.au\/en\/#organization"},"keywords":["Openlayers 4"],"articleSection":["GIS updates"],"inLanguage":"en-AU","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/spatialventures.com.au\/en\/2017\/11\/10\/openlayers-4-parametric-view\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/spatialventures.com.au\/en\/2017\/11\/10\/openlayers-4-parametric-view\/","url":"https:\/\/spatialventures.com.au\/en\/2017\/11\/10\/openlayers-4-parametric-view\/","name":"Openlayers 4 - Parametric View &#8211; Spatial Ventures - Geospatial Services","isPartOf":{"@id":"https:\/\/spatialventures.com.au\/en\/#website"},"datePublished":"2017-11-09T14:27:43+00:00","dateModified":"2020-10-15T00:13:26+00:00","description":"Updates on GIS, field survey work and Spatial Ventures' projects","breadcrumb":{"@id":"https:\/\/spatialventures.com.au\/en\/2017\/11\/10\/openlayers-4-parametric-view\/#breadcrumb"},"inLanguage":"en-AU","potentialAction":[{"@type":"ReadAction","target":["https:\/\/spatialventures.com.au\/en\/2017\/11\/10\/openlayers-4-parametric-view\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/spatialventures.com.au\/en\/2017\/11\/10\/openlayers-4-parametric-view\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/spatialventures.com.au\/en\/"},{"@type":"ListItem","position":2,"name":"Openlayers 4 &#8211; Parametric View"}]},{"@type":"WebSite","@id":"https:\/\/spatialventures.com.au\/en\/#website","url":"https:\/\/spatialventures.com.au\/en\/","name":"Spatial Ventures - Geospatial Services","description":"Working for a Sustainable Future","publisher":{"@id":"https:\/\/spatialventures.com.au\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/spatialventures.com.au\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-AU"},{"@type":"Organization","@id":"https:\/\/spatialventures.com.au\/en\/#organization","name":"Spatial Ventures","url":"https:\/\/spatialventures.com.au\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-AU","@id":"https:\/\/spatialventures.com.au\/en\/#\/schema\/logo\/image\/","url":"https:\/\/spatialventures.com.au\/en\/wp-content\/uploads\/2019\/10\/logo_sv_cut_dotcom.png","contentUrl":"https:\/\/spatialventures.com.au\/en\/wp-content\/uploads\/2019\/10\/logo_sv_cut_dotcom.png","width":103,"height":57,"caption":"Spatial Ventures"},"image":{"@id":"https:\/\/spatialventures.com.au\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/rschroers","https:\/\/www.linkedin.com\/company\/geospatial-services\/"]},{"@type":"Person","@id":"https:\/\/spatialventures.com.au\/en\/#\/schema\/person\/ccdeb942ff2087c6c28ffe5b87b2eb96","name":"Ralf","image":{"@type":"ImageObject","inLanguage":"en-AU","@id":"https:\/\/secure.gravatar.com\/avatar\/a6ded859cfc34afeef03127e3c488ce168db9c30282a74946c6cc7b262bc11f7?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/a6ded859cfc34afeef03127e3c488ce168db9c30282a74946c6cc7b262bc11f7?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a6ded859cfc34afeef03127e3c488ce168db9c30282a74946c6cc7b262bc11f7?s=96&d=mm&r=g","caption":"Ralf"},"url":"https:\/\/spatialventures.com.au\/en\/author\/rschroers\/"}]}},"_links":{"self":[{"href":"https:\/\/spatialventures.com.au\/en\/wp-json\/wp\/v2\/posts\/1145","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/spatialventures.com.au\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/spatialventures.com.au\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/spatialventures.com.au\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/spatialventures.com.au\/en\/wp-json\/wp\/v2\/comments?post=1145"}],"version-history":[{"count":7,"href":"https:\/\/spatialventures.com.au\/en\/wp-json\/wp\/v2\/posts\/1145\/revisions"}],"predecessor-version":[{"id":1713,"href":"https:\/\/spatialventures.com.au\/en\/wp-json\/wp\/v2\/posts\/1145\/revisions\/1713"}],"wp:attachment":[{"href":"https:\/\/spatialventures.com.au\/en\/wp-json\/wp\/v2\/media?parent=1145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/spatialventures.com.au\/en\/wp-json\/wp\/v2\/categories?post=1145"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/spatialventures.com.au\/en\/wp-json\/wp\/v2\/tags?post=1145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}