qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.29k stars 2.96k forks source link

add "add Data" functionality #19968

Open qgib opened 9 years ago

qgib commented 9 years ago

Author Name: Tom Kralidis (@tomkralidis) Original Redmine Issue: 11733

Redmine category:metasearch_catalogue_client


Allow the user to download data from the record (like a Shapefile, GeoTIFF, etc.) and load directly into the map canvas. See https://github.com/geopython/MetaSearch/wiki/Discovery-workflow for more info.

tl; dr; waiting on CSW with records with links to zipped Shapefile or GeoTIFF for implementation.

Full history at https://github.com/geopython/MetaSearch/issues/25

qgib commented 9 years ago

Author Name: Tom Kralidis (@tomkralidis)


qgib commented 9 years ago

Author Name: Tom Kralidis (@tomkralidis)


qgib commented 8 years ago

Author Name: jorge luis infante (jorge luis infante)


Hi I'd like contribute with this functionality. My idea is to implement the reading of the "missing" protocols (we have a lot in https://github.com/geopython/pycsw/wiki/Geonode-notes) in the library "owslib" or use the library "ftplib" in the plug, as shown in https://docs.python.org/2/library/ftplib.html? I would also collaborate on access to PostgreSQL / PostGIS. mainly because, in practice, access through wfs is extremely slow, for large layers (say, all parcels of a city like Rosario, Argentina). Also, I do not know if there is, I would like to work on a mechanism checkin / checkout layers with concurrent access, and conflict resolution. Obviously, that's for later, but first I want to achieve, at least, to recover a layer efficiently, and have the possibility (which is why I thought ftp), of not having to expose the RDBMS network users.

qgib commented 8 years ago

Author Name: Tom Kralidis (@tomkralidis)


Note that current efforts around link types can be found in https://github.com/OSGeo/Cat-Interop/blob/master/LinkPropertyLookupTable.csv

I would go about this as follows:

if os.path.splitext(urlparse.urlparse('http://example.org/foo.xml').path)[1]:
    # download direct file
else:
    # open in browser
qgib commented 7 years ago

Author Name: Giovanni Manghi (@gioman)


tomchadwin commented 2 years ago

@tomkralidis We might have a use case for wanting PostGIS layers to be added direct from the MetaSearch plugin. Was there any work done on this, or should we start from scratch if we need to?

tomkralidis commented 1 year ago

@tomchadwin thanks for the info. This would be a valued addition! I'm not aware of any work in this area, but the basic implementation path would be:

Happy to discuss further.