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 when it starts with `http://` instead of `https://` #54

Open liberostelios opened 1 year ago

liberostelios 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.