Skip to content

Instantly share code, notes, and snippets.

@edmondchuc
Last active July 11, 2024 14:21
Show Gist options
  • Save edmondchuc/fd91a9e1d1bcea42668342e8d4d3df71 to your computer and use it in GitHub Desktop.
Save edmondchuc/fd91a9e1d1bcea42668342e8d4d3df71 to your computer and use it in GitHub Desktop.
A STAR-LP reflection on one of my tasks while working on the Location Index project at CSIRO.

STAR-LP Example

I worked as a core software developer in the technical team of the Location Index project. The team consisted of 3 members; a senior scientific researcher who was also our technical lead, a senior software developer and myself.

I was assigned the task to expose the Bureau of Meteorology's Geofabric dataset as a Web Feature Service (WFS) as well as a Web Map Service (WMS). The WMS was required to overlay the features of the Geofabric on top of a styled map of Australia.

My first step was to import the Geofabric dataset into a PostgreSQL datastore. I then set up a Geoserver instance to symbolically link to the PostgreSQL datastore. To fulfil the requirement of a styled map, I imported OpenStreetMap data of Australia into the PostgreSQL datastore and styled it in CSS so that it looked like Google Maps. I was then able to contruct layers in Geoserver and serve them via WFS and WMS endpoints. Issues arose when the WMS was embedded inside HTML iframes due to CORS rules. This issue could not be resolved directly so I created a proxypass in Apache to force the WMS to think it was on the same network.

The outcome of the task was a success and the results of my actions allowed my team and I deliver the Geofabric as a Linked Data product. Without the Geoserver exposing the dataset as WFS and WMS, it would have been quite difficult to create a Linked Data API with features overlaid on a geo-spatial map.

This experience has shown me how to tackle new technology that I am unfamiliar with. I learned the importance of learning by example by watching video tutorials and reading lots of documentation. I am aware that the Geoserver is a rather ancient tool for exposing WFS and WMS so I plan to investigate in more modern technologies such as Mapbox for my future GIS-related projects.

@1wooch
Copy link

1wooch commented Mar 22, 2022

thanks it really helps me to wwhat is STAR-LP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment