Hacker News new | past | comments | ask | show | jobs | submit login
A POI database in one line (dbreunig.com)
68 points by dbreunig on April 19, 2024 | hide | past | favorite | 13 comments



These POIs appear to come with a permissive license too [1].

> 1.2. This agreement does not impose any restriction on a Data Recipient’s use, modification, or sharing…

Be sure to read the rest of the license and as always, follow the attribution requirements and licenses of open map data sources.

[1] https://docs.overturemaps.org/release-notes/data-attribution...


Yes it does: CDLA. A big deal, we hope it unlocks lots of new creations.


I guess any number of piped commands are “just one line” if you never type a carriage return…


Any amount of carriage returns would still amount to one line. A newline character is needed.


Unless you're on classic Mac OS if we are being pedantic :-)


Touché


Surprising how much useful geographic information can be had from some of the larger LLMs.

I frequently use ChatGPT with GPT-4 and Code Interpreter for little GIS experiments. Having it generate a CSV or SQLite database with a bunch of cities each with an accurate-enough latitude and longitude is pretty convenient.


`python3 -m pip install -U overturemaps` (as specified in the README) -> "ERROR: No matching distribution found for overturemaps"

> ERROR: Ignored the following versions that require a different python version: 0.1.0 Requires-Python <4.0,>=3.11; 0.2.0 Requires-Python <4.0,>=3.11; 0.3.0 Requires-Python <4.0,>=3.11

> ERROR: Could not find a version that satisfies the requirement overturemaps (from versions: none)

> ERROR: No matching distribution found for overturemaps

So the new 0.3.0 requires at least Python 3.11, which seems excessively high, probably expecting the use of Conda (PackagesNotFoundError) or Nix (No packages found).


Just updated to min Python version 3.8. We didn't actually intend for folks to use it just yet but it's simple enough.


Thank you.


Or simply not Ubuntu 22.04? You could also install new Python via conda, then overturemaps with pip.


"POI" expands to what, Place of Interest?


Point of Interest.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: