Meditations on geospatial analysis
This library seeks to enable transducible analysis of geospatial features.
Pre-alpha work in progress.
To be able to generate the internal sqlite, use the dev
profile:
clj -A:dev
To update the sqlite, from the dev aurelius.resources
namespace, run these commands from the REPL:
(delete-sqlite-resource-if-exists) ; to delete a previous sqlite
(create-sqlite-resource) ; to create a new empty sqlite
(add-qcew-luts aurelius.db/adb) ; to add QCEW lookup tables
(add-fips-areas aurelius.db/adb) ; to add Census FIPS areas
- Conversion of QCEW quarterly results into monthly rows for analysis
- Common units of conversion
- Automatic conversion of PostGIS geometries into JTS objects
- Database component to start and stop connections to PostGIS
- Connection to internal sqlite database
- Partial implementation of common JTS spatial operations that work on
Featurelike
s from ovid. - Use of
PreparedGeometry
to improve speed of JTS operations.
- Initial helper functions to assist with parcel-specific analysis
- Import of QCEW and Census FIPS definitions into an internal sqlite database.
- Management of database tables
- Import and queries for census tables
- Formatting of java.time objects
- Helpers for file input/output
- Use of JDK 11 HTTP client
- Read of CSVs
- Read of XLS and XLSX spreadsheets
Requires JDK 11 or higher.
Copyright (c) 2019, 2020, 2024 Will Cohen
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.