[OSM-dev] tagtransform for OSM - An effort make tagging and using OSM data easier; bridging different worlds together
Andy Townsend
ajt1047 at gmail.com
Wed Dec 11 11:32:37 UTC 2019
On 06/12/2019 14:08, Jean Marie Falisse wrote:
>
> 1. Is all this written in java?
Taking the examples from
https://www.openstreetmap.org/user/SomeoneElse/diary/391484 :
* osmosis is written in Java
* osmium is I believe C++
* osm2pgsql's lua interface (obviously) calls things written in lua
* mkgmap is Java, and uses a style definition in its own format
* OsmAnd (Android) is Android Java, but the style definitions (which
can do tag transforms) are just XML files
* osmfilter is C
* Valhalla appears to be C++
>
> 2. Is there anything going on in Haskell? I’d love to be involved in
> something using Haskell.
I'm not aware of anything, but most of those examples are to some extent
stand-alone - if you wanted to write something in Haskell to do the same
or a different standalone job you could.
For example, suppose you wanted to write something that you wanted to
maintain a personal list of tags that you as a data consumer wanted to
be treated as if they were another tag. It'd be able to generate from
this list:
* lua for use by the "generic" lua call from osm2pgsql
* Java called by mkgmap, or a style definition that can be used by it
* XML style definitions for OsmAnd
You could write the code to generate the above in anything you like,
even COBOL*.
Best Regards,
Andy
* not just a joke - I did do something very like this in a COBOL-based
language in the 1980s on a long-defunct minicomputer platform.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20191211/8bca798e/attachment.html>
More information about the dev
mailing list