On 7/17/2021 2:42 PM, Arthur Rosendahl wrote:
On Sat, Jul 17, 2021 at 12:53:33PM +0200, Hans Hagen wrote:
Just as an example, the context meeting is att the attached location:

   50°45’7” / 5°35’19”

https://www.openstreetmap.org/export#map=18/50.75175/5.58883

   If you want official data you can try the Belgian cadastre:
https://data.gov.be/en/dataset/tt098dcb-f5c7-49b8-8e0b-7c3811630d85 :-)
Yet another format? No way. I managed to go big so for instance the area where the colorado user group is located:

  https://www.openstreetmap.org/export#map=12/40.5117/-104.9496

produces a 122 MB osm file

  https://overpass-api.de/api/map?bbox=-105.1817,40.4096,-104.9493,40.6272

that gets turned into a 15 MB metapost file that becomes an 8.7 MB pdf file. Unfortunately it takes 36 seconds to be produced (9 seconds xml loading, 17 seconds map processing, 3 seconds mp -- which is not that bad -- and some 2.56 seconds pdf production) plus some 3 GB memory but that's still under my limit. Maybe a decent modern desktop can do it in half that time, who knows.

Of course the rather detailed colorfull image is a challenge for the pdf viewer but (sumatra) it manages and one can then zoom in a lot. I tried the whole of slovenia to prove myself to mojca but overran my quota for that api (and I'm not in the mood to install all kind of stuff here).

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to