grant-humphries / dev-near-light-rail Goto Github PK
View Code? Open in Web Editor NEWScripts used to determine the amount and value of real estate development that has occurred within walking distance of light rail lines since their creation
Scripts used to determine the amount and value of real estate development that has occurred within walking distance of light rail lines since their creation
Use the format/using methodology described by the link below, much cleaner:
http://stackoverflow.com/questions/12990638/correctly-inserting-literals-in-pl-pgsql-execute-dynamic-queries
Right-of-way has been added to Metro's taxlot dataset so the code will need to be adapted to handle this next time this analysis is run
The overpass API occasionally times out which in my code throw a python error like the one below. Write some code to handle this that retries the download at least a couple of time if it fails
Traceback (most recent call last):
File "g:\PUBLIC\GIS_Projects\Development_Around_Lightrail\dev-near-light-rail\bin\osm_hwy_to_shp-script.py", line 31, in <module>
sys.exit(lightraildev.osm_hwy_to_shp.main())
File "g:\public\gis_projects\development_around_lightrail\dev-near-light-rail\lightraildev\osm_hwy_to_shp.py", line 138, in main
overpass2shp()
File "g:\public\gis_projects\development_around_lightrail\dev-near-light-rail\lightraildev\osm_hwy_to_shp.py", line 25, in overpass2shp
response = api.Get(overpass_query.format(values=values, bbox=bbox))
File "g:\public\gis_projects\development_around_lightrail\dev-near-light-rail\eggs\overpass-0.4.0-py2.7.egg\overpass\api.py", line 45,
in Get
raw_response = self._GetFromOverpass(full_query)
File "g:\public\gis_projects\development_around_lightrail\dev-near-light-rail\eggs\overpass-0.4.0-py2.7.egg\overpass\api.py", line 102,
in _GetFromOverpass
raise TimeoutError(self._timeout)
overpass.errors.TimeoutError
There are a set of constants that need to be used in separate bash and python scripts, explorer the possibility of bring the constants define in python into bash instead of assigning them separately in both scripts. I've looked into this a bit already and it seems that this is a not usual thing to do, but it was thinking the folks on the python IRC channel may be able to give me a better ideas as to whether this is a good idea or not.
the code contained within isn't actually executable and needs to be entered into the arcgis gui so the readme is a more appropriate place for these snippets
option should give the ability to transform the download data to a user supplied projection before writing it to shapefile
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.