hello! is anyone here doing gis visualizations with clerk? curious to hear any advice.
Also sorry I still haven’t gotten around to a release, but if you want to perform batch JTS operations on geometries that also have attributes (a la a shapefile or geojson), you can cast those maps to Featurelike (https://github.com/willcohen/ovid/blob/master/src/ovid/feature.clj) and apply these versions of JTS functions which will operate on the geometry (https://github.com/willcohen/aurelius/blob/master/src/aurelius/jts.clj)
@kommen has been doing some nice work with GIS data for Vienna
@jmv305 curious to hear what you are looking for. I’m just a bit swamped right now, maybe chat in a few days?
I’m trying to do property tax lot analysis for my city. I have some useful info using qgis but I’d like to do more data transformation before presenting.
there's lots of ways to do property analysis via clojure even if the final visualization stays in qgis, if you're asking
i have big aspirations in the next year or two to get my final visualization step happening in clerk/clay/leaflet/mapbox/etc but for now QGIS is just too familiar for me. i'm currently trying to shift my mental model from postgis->qgis to clojure->qgis, which seems like lower-hanging fruit. qgis to leaflet/maplibre is just so fundamentally different that if you don't need a web map, it may end up as a yak shave
(for example, re property analysis, slides 18-21, 50, 60-62 were visualized with QGIS, though i ran these GIS layers through tech.ml.dataset to play with the attributes/geometries a little). next step is to see how clerk/clay work with it. https://www.bostonplans.org/documents/zoning/citywide-adu-zoning/2024-05-08-adu-zoning-analysis-public-meeting/adu-zoning-analysis-public-meeting-presentation tech.ml.dataset can handle JTS objects in a column, which lines up well with the idea of a QGIS layer or shapefile or PostGIS table
and you can either re-export a tech.ml.dataset layer as a csv and re-join it to the geometries in qgis, or you can get it as a sequence of maps and export it out as a big geojson using https://github.com/Factual/geo/blob/master/src/geo/io.clj#L143 also note i've bumped Factual/geo's deps as a deps.edn branch at https://github.com/willcohen/geo/commit/479420ae259b17ec759fe0613e470c4d9c979e68. Factual/geo seems pretty unmaintained so I'll likely push a point release to clojars of my fork soon.
Thank you, this is great! I was initially wondering about viewing in clerk but manipulating in Clojure and viewing in qgis is totally doable.