From: Henning Hraban Ramm <texml@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: mp-geo Metapost package with ConTeXt
Date: Sat, 17 Jul 2021 12:53:26 +0200 [thread overview]
Message-ID: <3F21FA19-1A6A-44BD-8904-70CF66C8AD7A@fiee.net> (raw)
In-Reply-To: <4C599EF8-7679-44D7-921B-F1D2B45F146F@fiee.net>
[-- Attachment #1: Type: text/plain, Size: 1744 bytes --]
> Am 17.07.2021 um 12:20 schrieb Henning Hraban Ramm <texml@fiee.net>:
>
>>
>> Am 17.07.2021 um 11:53 schrieb Bruce Horrocks <ntg@scorecrow.com>:
>>
>>
>>
>>> On 16 Jul 2021, at 20:55, Hans Hagen <j.hagen@xs4all.nl> wrote:
>>>
>>> On 7/15/2021 10:30 PM, Bruce Horrocks wrote:
>>>> On 15 Jul 2021, at 18:58, Hans Hagen <j.hagen@xs4all.nl> wrote:
>>>>>
>>>>> I was wondering about that too. I admit that I looked into maps years ago but never could find quality data files.
>>>> Does this help?
>>>> <https://www.naturalearthdata.com>
>>> i was halfway writing as reader for that fiel format when i noticed that is is also quite low res so i gave up on that and started playing (extending) with an more interesting alternative that mojca and i wrote years ago at a meeting
>>
>> Off the top of my head I'm not aware of any higher resolution sources of global data - what scale were you thinking of?
>
> Can you work with OpenStreetMap data?
>
> https://planet.openstreetmap.org
> http://download.geofabrik.de
> https://download.bbbike.org/osm/
>
> I didn’t find excerpts that only have e.g. country borders or rivers. But with usual XML tools you could extract those.
There’s https://osm-boundaries.com, but it doesn’t really work (for me).
You should also be able to select elements via Overpass API, but it doesn’t work reliably for me at http://overpass-turbo.eu
This is the query for mainland Netherlands:
curl --remote-name --remote-header-name --location --max-redirs -1 "https://osm-boundaries.com/Download/Submit?db=osm20210531&osmIds=-2323309,-1216720&format=GeoJSON&srid=4326&simplify=1"
You also need an API key that depends on your OSM account. Result attached.
Hraban
[-- Attachment #2: OSMB-dcc52d93616707aa0f6d582c82816ed1034354d6.geojson.gz --]
[-- Type: application/x-gzip, Size: 1540 bytes --]
[-- Attachment #3: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2021-07-17 10:53 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-14 14:43 Gavin
2021-07-15 15:48 ` Hans Hagen
2021-07-15 16:22 ` Aditya Mahajan
2021-07-15 17:58 ` Hans Hagen
2021-07-15 20:30 ` Bruce Horrocks
2021-07-16 19:55 ` Hans Hagen
2021-07-17 9:53 ` Bruce Horrocks
2021-07-17 10:20 ` Henning Hraban Ramm
2021-07-17 10:45 ` Hans Hagen
2021-07-17 11:05 ` Henning Hraban Ramm
2021-10-22 9:31 ` Henning Hraban Ramm via ntg-context
2021-10-22 13:35 ` Hans Hagen via ntg-context
2021-10-22 14:16 ` Henning Hraban Ramm via ntg-context
2021-10-22 14:27 ` Hans Hagen via ntg-context
2021-07-17 10:53 ` Henning Hraban Ramm [this message]
2021-07-17 10:53 ` Hans Hagen
2021-07-17 12:42 ` Arthur Rosendahl
2021-07-17 18:50 ` Hans Hagen
2021-07-18 17:36 ` Henning Hraban Ramm
2021-07-16 16:20 ` Gavin
[not found] ` <E1B2010C-A435-46AD-BD8E-F4D930827791@me.com>
2021-07-16 19:51 ` Hans Hagen
2021-07-16 20:08 ` Alan Braslau
2021-07-26 21:29 ` Gavin via ntg-context
2021-07-26 23:01 ` Aditya Mahajan via ntg-context
2021-07-27 6:12 ` Gavin via ntg-context
2021-07-27 6:29 ` Alan Braslau via ntg-context
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3F21FA19-1A6A-44BD-8904-70CF66C8AD7A@fiee.net \
--to=texml@fiee.net \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).