Lars Marius Garshol
Lars Marius Garshol
I'd like to list users of JSLT in the readme, but to do that I need to know who they are. If you're using JSLT in your software, please post...
More than 300 free JSON parsing tests at [JSONTestSuite](https://github.com/nst/JSONTestSuite), described [in this article](https://seriot.ch/projects/parsing_json.html).
The current JSLT implementation is so tightly bound to Jackson that every value is a Jackson `JsonNode`, but there are users who want to use JSLT without Jackson. There is...
It seems like this is something that keeps coming up in more algorithmic code: a need to be able to generate a sequence of integers `n..m`. Thoughts? There is a...
In [this stackoverflow question](https://stackoverflow.com/questions/66047747/how-to-read-nested-array-elements-from-json/66613644) someone wants to extract from each object in an array a key from each element in an array inside the first object. It ends up having...
This is an experiment to see if a VM that uses an efficient representation of JSON as an array of ints can be faster than the AST-based implementation that works...
This is useful to help us determine whether or not optimizations have the desired effect.
This ``` import mapnik def mktrans(source, target): source = mapnik.Projection(source) target = mapnik.Projection(target) trans = mapnik.ProjTransform(source, target) return trans.forward box = mapnik.Box2d(-5, 55, 35, 67) source = '+proj=longlat +ellps=WGS84 +datum=WGS84...
Below is a complete, standalone test that uses the Natural Earth world shapefile and places two white dots on it, one at (10, 60) and one at (7, 57). Only...
The following ``` import mapnik ts = mapnik.TextSymbolizer() ts.name = '[name]' ``` fails with ``` Traceback (most recent call last): File "/Users/larsga/tmp/tst.py", line 35, in ts.name = '[name]' File "/usr/local/lib/python2.7/site-packages/mapnik/__init__.py",...