Reputation
409
Top tag
Next privilege 500 Rep.
Access review queues
Badges
2 9
Newest
 Yearling
Impact
~6k people reached

  • 0 posts edited
  • 0 helpful flags
  • 1 vote cast
Apr
4
comment Is OSM route plugin working?
The server has been having problems of late which has caused both the plugin and the openrouteservice.org website to not respond or to behave oddly. But generally the geocoding is a little sensitive. The plugin is also in need of some work. I have looked at it and started on an improvement; as it is now it takes an address and converts that to WGS84 coordinates. I am working on an update that should allow you to enter WGS84 directly from the canvas. But don't wait on that to happen soon.
Mar
31
comment Is OSM route plugin working?
If you look at the Python code it sends a request to a server for geocoding but it is evidently not capable of parsing "weird" European addresses. It's not a character issue; "Gävle, Sweden" is fine but more specific addresses fail. I'll look into bypassing the geocoding bit but I'm still learning pgrouting and postgis myself, so don't hold your breath.
Mar
31
answered Is OSM route plugin working?
Mar
31
comment Is OSM route plugin working?
Running in 2.14.0 on Mac OSX I get Traceback (most recent call last): File "/Users/my_name/.qgis2/python/plugins/OSMroute/OSMroute.py", line 245, in run if numberOfHits_start != "0": UnboundLocalError: local variable 'numberOfHits_start' referenced before assignment which suggests a similar cause as numberOfHits_start is the trigger for the error in both. I've tried copying the start and target addresses from the website's own geocoding but with no luck.
Feb
17
awarded  Yearling
Nov
11
answered Unable to stylize raster data as pseudocolor render type on MAC OSX
Nov
4
revised How to reproject 500 CSV files efficiently and easily using QGIS?
Made rather messy comments to my own answer. Tried to tidy them up by adding code here instead.
Nov
4
comment How to reproject 500 CSV files efficiently and easily using QGIS?
Yup, but then it wasn't really an update, more like an additional. Pretty messy, I agree. I guess I should update the original answer. Thanks
Nov
2
comment How to reproject 500 CSV files efficiently and easily using QGIS?
The last comment was a bit messy. Use this line in the above bash script to loop through all files paste -d',' ${i} <(awk -v OFS="," -F " " 'NR>1 {print $1 " " $2}' ${i} | gdaltransform -s_srs EPSG:4326 -t_srs EPSG:32633 | awk '{gsub(" ",",",$0); print $0}' | /usr/local/bin/sed "1i\X,Y,Z") > utm${i} Replace the /usr/local/sed with just sed if you aren't on OSX. This isn't ideal if your csv files are space separated, as the above line assumes, but it works. If you have comma separated then change -F " " to -F ","
Nov
2
comment How to reproject 500 CSV files efficiently and easily using QGIS?
I just remembered doing something similar a while ago and posting a solution to my blog. It's written for Mac but is bash based. The biggest difference is the issue with sed on OS X, which I deal with at the end of the post: mercergeoinfo.blogspot.se/2014/01/…
Oct
30
awarded  Yearling
Oct
30
answered How to reproject 500 CSV files efficiently and easily using QGIS?
Aug
5
awarded  Self-Learner
Jun
18
comment QGIS interface very slow on OSX
Its the KyngChaos version. I opened the same project in a VirtualMachine Lubuntu installation and it was fine, but I took the opportunity to remove some large rasters from the project, rasters that weren't visible but still listed. Upon returning to the OSX version everything was back to normal. It seems odd to me that the OSX version fills the assigned memory with data not being used, metadata alone would be sufficient. Of course this could be another "feature" of 10.10 on a Mac with HDD rather than SSD (see previous rants distributed across the web).
Jun
17
asked QGIS interface very slow on OSX
Nov
11
comment PyQGIS cookbook seems out of date
Thanks for the links. The problems are the same following the non-testing cookbook, and the solution in the second link really only considers that one problem rather than providing a general solution, i.e. an up to date guide. I'm running the latest QGIS (2.6.0) which may, I suppose, be part of the problem.
Nov
11
asked PyQGIS cookbook seems out of date
Nov
11
asked Qgis Python console print statements not working
Sep
24
awarded  Autobiographer
Jul
2
awarded  Curious