Skip to content

cse-bristol/110-thermos-importer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

THERMOS importer

Can create a runnable jar file with “boot build”

That has a main method in https://github.com/cse-bristol/110-thermos-importer/blob/master/src/thermos_importer/core.clj

Things you can do at the moment will be like

java -jar WHEREVER.jar connect some-road-costs.csv some-road-data.shp some-building-data.shp road-bits.json buildings-with-data.json

The road costs data should be in CSV in a table like this:

osm.typeosm.classclassificationcse.cost.per.metre
blahblahblah1

This gets joined to the set of paths that are constructed in some silly way. There is a default cost of 1000 which is applied near the end where the “cost” field of the output is defined.

Roads and buildings might need to be in 4326, certainly need to be the same?

Around

(geoio/save buildings buildings-out

is the stuff about which fields from the input shapefile go into the output geojson.

About

The system for bringing data into THERMOS database

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published