geopython / MetaSearch

*** We have moved! MetaSearch is now a core QGIS plugin! (2014-11-30). See QGIS repository
https://hub.qgis.org/wiki/quantum-gis/MetaSearch
Other
4 stars 12 forks source link

show available download for INSPIRE atom feed in dialog #50

Closed rduivenvoorde closed 10 years ago

rduivenvoorde commented 10 years ago

fixed some dialog issues, and added a 'Data' button, which get's enable when you have a 'INSPIRE Atom' link type available in your record.

These should link to a (geo)rss feed link, one like: http://geodata.nationaalgeoregister.nl/ahn2/atom/ahn2_uitgefilterd.xml Which is being loaded and parsed using 'feedparser' and presented in a Data feed dialog (html), containing all links of the downloads (plus some other data).

The original idea was to show the polygons of every download IN the qgis canvas, but currently all downloads have the same extent (instead of the extent of the data).

Anyway: using the 'dutch nationaal georegister' and searching for 'ahn2' is the easiest test. Nice thing about 'INSPIRE Atom'-type links is that you always now that you get an atom-feed. Other data types like: 'download' or 'access-link' are just to different in types to what they link...

Anyway, with me it look like this: screenshot from 2014-03-31 17 26 32

rduivenvoorde commented 10 years ago

thinking about it, maybe it's a little overkill to do this in a separate dialog?

We could also do this in the 'record details' dialog: so instead of only showing the tiny 'LINK'-links and types, create a more intelligent jinja2 template, which for example does and shows the same links?

tomkralidis commented 10 years ago

Good idea. Yes, let's close this PR and work on adding this to the template instead.