cityjson / cityjson-qgis-plugin

A QGIS plugin that adds support for CityJSON files
Apache License 2.0
35 stars 8 forks source link

`referenceSystem` breaks if the url provided is an http #53

Closed StylianosVitalis-TomTom closed 1 year ago

StylianosVitalis-TomTom commented 1 year ago

Currently, we use a regular expression to parse the referenceSystem, but it only expects a url that starts with https. This breaks the loading of the file. Two things should be fixed:

  1. The property should be allowed to have an http:// url, and
  2. If this line breaks, an exception trap should be use to allow the user to continue.