riccardoklinger / hqgis Goto Github PK
View Code? Open in Web Editor NEWA Plugin for QGIS to use the HERE API
License: GNU General Public License v3.0
A Plugin for QGIS to use the HERE API
License: GNU General Public License v3.0
Hi Riccardo,
I really like the batch geocoding-functionality but I am not sure if the "normal"(freemium) users of this plugin are allowed to use the HERE services in combination with this plugin:
https://legal.here.com/en-gb/terms/acceptable-use-policy
"Unless otherwise permitted in your commercial agreement with HERE, HERE Properties may not be used
in connection with any of the following:
- ...
- GIS (geographic information systems) applications, such as applications that analyze, process or visualize (or any combination of them) information in order to manage land use, natural resources, environment, urban or enterprise facilities, communications or utility networks or any other fixed assets "
regards,
Thomas
the plugin offers to geocode multiple addresses with multiple fields. it fails to do so with the last entry in the feature list.
Hi,
It would be great if it were possible to use the API to calculate public transport isochrones directly in QGIS!
https://developer.here.com/documentation/transit/topics/resource-isochrone-search.html
I am unfortunately totally unable to contribute to any coding, but let me know if I can help in any other way....
Hi Riccardo, I just installed your plugin and I think that is a very good tool. The only problem that I found is when you run the isochrones calculator for multiple addresses the tool doesn't save an id or somenthing to link the starts shapefile and the isochrones shapefile.
The creds folder is missing in the repo so the plugin is not able to save the credentials.
Hello,
My installation of hgqis reports an installed version 1.1.1
But there is no such tag in github?
How is that possible?
Thanks,
HERE has deprecated the use of APP-codes as documented here.
They now only offer API keys. Unclear if this ultimately harms the plugins performance, but, at minimum should update the documentation.
use a layers attibute as search field
I copied tom chadwins processing script and rewrote it for my purpose (header only). therefore the names and references must be updated
As previously discussed on Twitter (https://twitter.com/underdarkGIS/status/1250823444603830272) it would be immensely helpful if the geocoding results would include the original layer attributes.
This new capability would be particularly worthwhile since it is hard to add a feature id to the original layer when the input data comes as a CSV because those cannot be edited, i.e. no columns can be added.
I installed HQgis on my fresh QGIS versions (3.4 LTR & 3.6), but in both the GUI window is scaling in a very weird way, so that the tool becomes unusable. Dragging the window bigger doesn't help as the part with the tools & buttons doesn't scale with it. I am running a Windows 10 and using the (recommended & default) 200% scaling.
Here are two of the error reports that I was facing when using the geocoding single address feature. I'm not so sure there is a solid connection with the HERE API yet on my end so this should be smoothed out if possible,
Error_Report.txt --> Jan 24
Error_Report_2.txt --> Jan 25--> Inputted to 11 New York for both of them and the second took me to Gottengin, Germany.
Hi,
actually it seems that the getIsochronesBatch accept only a QgsPoint Layer but not QgsMultiPoint.
If it's a MultiPoint you take an error on line 1268 if the layer is not in 4326 or on line 1272 in 4326.
So originFeatures must be a QgsPoint geometry.
Will you add a test for tell the user and a workflow for a QgsMultipoint layer source ?
So it's a great job that you are doing !!!
Thanks a lot
Niarolf
When generating isochrones from multiple addresses, it would be great if the resulting layer includes a field that represents a join with an attribute from the original 'From address' layer, rather than just having a sequential Origin ID field.
For example, the 'Isochrone - Multiple Addresses' page in the Hqgis plugin could have the 'From address' parameter where you select the origin points, and then underneath this you could specify a 'Name field' parameter from the From address layer which is then retained after parsing through the HERE API so that the results layer includes the name field as the Origin ID.
I have successfully created car travel iscochrones, however, if I put in more than one time band no output is returned - again Sydney, but cant see that this would be a geography issue
v0.3.4
Exerpt from Acceptable Use Policy (“AUP”):
Use of any HERE products, services, data, databases, APIs, platforms, infrastructure, applications, websites or other offerings (each, a “HERE Property”) is subject to this Acceptable Use Policy (“AUP”).
Application Restrictions
Unless otherwise permitted in your commercial agreement with HERE, HERE Properties may not be used in connection with any of the following:
[...]
- GIS (geographic information systems) applications, such as applications that analyze, process or visualize (or any combination of them) information in order to manage land use, natural resources, environment, urban or enterprise facilities, communications or utility networks or any other fixed assets
Would like to know why the single layer input over a point gives me a Python Error
Thank you
The json file for credentials is overwritten by each new version download from the installer.
As a user I don't want to save my credentials again after an update of the plugin.
acc:
api key is stored in qgis settings
api key is not deleted after installiing a newer version
Hello! I'm making data collect about marketplace, so I'm using POIsearch. Sometimes, the plugin show me the real point, the real location. But, sometimes the plugin show me the wrong point, with names that don't exist.
How could I improve the plugin such that's show me righ place, and the righ name? Does the plugin take the information in google street?
Thank you! (I'm brazilian, so I'm trying to write the better I can, hahaha).
I'd like to state an enhancement: would be great to have (some) of the plug-in's features as algorithms that could be excecuted in a processing model chain.
Hi Riccardo,
Version 1.1.1 in the official QGIS repository (https://plugins.qgis.org/plugins/Hqgis/version/1.1.1/)
contains a "_MACOSX" folder which causes trouble in the plugin installer:
regards,
Thomas
for later work with datasets it is useful to have the date/time in an attribute datetime
just downloaded the plugin from the repo on a fresh mac install. Icon is not shown.
when using only one time distance value, the renderer fails to create.
sorry, had to reopen. in the result's attribute table the metric field is still filled with the value 'time'. Should be 'distance'.
Originally posted by @hoge6b01 in #16 (comment)
change the parameter to TypeVectorPoint instead of TypeVector
in batch modes the message Bar becomes unresponsive. the behaviour seems unreproducible....
Hi! I would like to commend the plug-in you developed. It is very useful and easy to use. I just like to ask if you disable the traffic option in the isochrone analysis, what road speed does it use? Can I also do the analysis using projected date?
When trying to calculate isochrones for multiple addresses based on the distance metric the field 'Travel distances (m)' continues being disabled.
Error of user or not implemented yet?
thanks
Version Info:
QGIS-Version | 3.4.4-Madeira | QGIS-Codeversion | f6ddc62fdb |
---|---|---|---|
Kompiliert gegen Qt | 5.11.2 | Laufendes Qt | 5.11.2 |
Kompiliert mit GDAL/OGR | 2.4.0 | Läuft mit GDAL/OGR | 2.4.0 |
Kompiliert mit GEOS | 3.7.0-CAPI-1.11.0 | Läuft mit GEOS | 3.7.0-CAPI-1.11.0 673b9939 |
PostgreSQL-Client-Version | 9.2.4 | SpatiaLite-Version | 4.3.0 |
QWT-Version | 6.1.3 | QScintilla2-Version | 2.10.8 |
Kompiliert mit PROJ | 520 | Läuft mit PROJ | 5.2.0 |
after chocsing "From Address" as geolocation mode and entering address (with properties: Origin/Destination:Start; Metric:Time; Travel Times:360,3600; Type:Fastest; Travel Mode:pedestrian; Traffic:Diabled) hitting the "Calculate Isochrones" button leads to prompt for choosing a coodinate system for the results layer. Choosing WGS84 (EPSG:4326, as geographic coords) nor UTM (EPSG:32632, as projected coords) leads to the expected result. Doesnt matter if the map canvas is in 4326 or 32632.
Clicking the geolocate button next to the address field leads to the correct geolocating and calculation of isochromes.
Hi,
I downloaded HQGIS 0.4.4 plug-in and successfully installed it in QGIS. I also created the credential from HERE site and was able to generate APP ID and API Key. Is API key different from API code? I tried to do geocoding of a single address but it does not work. It would mean a lot if you could help me on this. I don't know anything about coding so I'm just depending on the plug-in tool. My purpose in using this plug-in is to do isochrone analysis of 111 points in the Philippines and I need to consider the traffic which the plug-in can provide. Again thank you so much for this helpful tool.
Hi Riccardo,
What a great plugin you have here!
I'm just submitting this as a Feature Request to the Routing module, to add the possibility of using multiple stops between the start and end points. I must confess that don't know if the API allows this, but in case of this is available, it would be a very nice feature for the plugin.
Thank you very much!
Hello,
Thanks for your work which is very useful.
When I run the plugin to get isochrones, I get a layer called isoLayer but I can't find anywhere in the definition of that layer the parameters I have used to generate it. Are they stored somewhere?
Thanks a lot,
Guillaume
Hey there, first of all thanks for going to the lengths of creating this plugin. I was just wondering whether due to the fact of changing from App keys to API keys the plugin is not working anymore. I have just installed the plugin but seemingly it cannot communicate with HERE, because when I click on the button, nothing happens. Are you aware of any issues regarding connectivity?
EDIT: So from first small digs into the code, I think the main issue is that the authentication model at HERE was changed from App ID, App Code to App ID, ApiKey. Also the url structure has changed from e.g. "https://geocoder.api.here.com/6.2/geocode.json" to "https://geocoder.ls.hereapi.com/6.2/geocode.json". I couldn't write a full fledged fix for now but would be great to collaborate on one.
The api call is misconfigured. it uses the string "high-occupancy vehicle" instead of "carHOV"
This causes unwanted red warning in the plugin interface.
Thanks.
I get this error when trying to calculate isochrones:
ValueError: invalid literal for int() with base 10: ''
Traceback (most recent call last):
File "/Volumes/Suevia/Users/jesus/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/HEREqgis/hereqgis.py", line 766, in getIsochronesSingle
ranges = [int(x) for x in intervalArray]
File "/Volumes/Suevia/Users/jesus/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/HEREqgis/hereqgis.py", line 766, in
ranges = [int(x) for x in intervalArray]
ValueError: invalid literal for int() with base 10: ''
Versión de Python: 3.6.7 (v3.6.7:6ec5cf24b7, Oct 20 2018, 03:02:14) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)]
Versión de QGIS: 3.2.0-Bonn Bonn, exported
when using batch it runs well with 3-10 queries. Yet it stalls with a mass test. Please switch to batch geocode with jobs on server side as described here: https://developer.here.com/documentation/batch-geocoder/topics/quick-start-batch-geocode.html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.