Show HN: OpenFreeMap – Open-Source Map Hosting
201–210 of 243 posts
Re: Show HN: OpenFreeMap – Open-Source Map Hosting
#202Earlier quoted context omitted.
If you can be more specific in your questions I can probably help. I've been full time consulting in mapbox and maplibre for 7 years.
Im just someone interested in geospatial. Im a regular SWE. Seems like Any tips in general? Not just for breaking in but what you wish you knew
Once you have specific goals about what you're trying to do with data, and how to visualise it etc, then there are usually straightforward solutions to achieving them. The difficulty can sometimes be describing them, or forming the right conceptual model.
It's worth getting really familiar with the GeoJSON spec, and using that as your data structure wherever possible.
Re: Show HN: OpenFreeMap – Open-Source Map Hosting
#203Earlier quoted context omitted.
No, the ping is 150 ms to us-west-2, and the tiles load in like 5 seconds on a cold start. Of course we cannot test cold start on HN comments because HN is the definition of hot :-) I can imagine workers to be fast, it's the range requests which are super slow. It's also outside of your control, it depends on how Cloudflare and S3 handles range requests to 90 GB files. I think if you could make PMTiles split into fil…
I agree, there are tradeoffs to using static storage - the intended audience for PMTiles is those that prefer using static sites instead of administering a Linux server. I would be interested to see a comparison of Btrfs + nginx serving latency, vs `pmtiles serve` from https://github.com/protomaps/go-pmtiles on a PMTiles archive on disk. That would be a more direct comparison. I think there's potentially some interes…
Re: Show HN: OpenFreeMap – Open-Source Map Hosting
#204Re: Show HN: OpenFreeMap – Open-Source Map Hosting
#205Earlier quoted context omitted.
I agree, there are tradeoffs to using static storage - the intended audience for PMTiles is those that prefer using static sites instead of administering a Linux server. I would be interested to see a comparison of Btrfs + nginx serving latency, vs `pmtiles serve` from https://github.com/protomaps/go-pmtiles on a PMTiles archive on disk. That would be a more direct comparison. I think there's potentially some interes…
I would also like to see this comparison. And for good measure it’d be great to also include Versatiles in this comparison.
Re: Show HN: OpenFreeMap – Open-Source Map Hosting
#206Earlier quoted context omitted.
Are you talking about just the OpenMapTiles spec, or some adjacent software? I'm certain that you can build software to some specification without ever agreeing to the spec text's licence, and that a CC-BY licenced spec doesn't limit any implementing system's licence. Even so, CC-BY is permissive and you could include CC-BY content in a, say, GPL project. You just need to include both licences.
> I'm certain that you can build software to some specification without ever agreeing to the spec text's licence That is exactly the opposite of OMT's copyright interpretation: https://github.com/openmaptiles/openmaptiles?tab=readme-ov-f... > You just need to include both licences. That is the definition of license incompatibility as described in the Creative Commons documentation above. The license is open source an…
They are entitled to their opinion, but I don't consider a database to be a derivative work of a schema (this should be clear, since databases of facts aren't copyrightable anyway), same for software (it's at least fair use in the US, see Google v. Oracle). This goes back to the debate on copyrightability of APIs, where a decision for copyrightability would ruin swathes of the software industry and much of free software.
Though I understand if you'd rather avoid using projects by people with weird legal opinions.
> That is the definition of license incompatibility as described in the Creative Commons documentation above.
Where do you see that? All I found was a statement that the CC share-alike licences can be converted to GPL, but no word on non-SA licences:
> Version 4.0 of CC’s Attribution-ShareAlike (BY-SA) license is one-way compatible with the GNU General Public License version 3.0 (GPLv3).
The FSF says that CC-BY is compatible with the GPL, and I believe this extends to all reasonable FLOSS licences: https://www.gnu.org/licenses/license-list.html#ccby
It's not uncommon for a piece of code to have multiple licences in a big project. One for licencing to that project, and another for sublicencing to the end user. Proprietary apps that include FLOSS code do this all the time.
Re: Show HN: OpenFreeMap – Open-Source Map Hosting
#207As a Roman, the decision on how to prioritize the labels seems very interesting to me! https://i.postimg.cc/tCn1xSRF/image.png p.s. very cool project indeed edit: I don't know how it happened, but while panning the map with the mouse, the map flipped upside down. https://i.postimg.cc/sggZ2pHh/image.png
Thank you for sharing this, I'll make a issue about both. The Vatican situation is trickier than you'd think, as it's on country level, while Rome is on city level, and naturally you'd want to give countries a priority over cities. Like on low zooms you only want to show countries, then as it gets closer you show cities. Well, except for Vatican.
Re: Show HN: OpenFreeMap – Open-Source Map Hosting
#208Earlier quoted context omitted.
> I'm certain that you can build software to some specification without ever agreeing to the spec text's licence That is exactly the opposite of OMT's copyright interpretation: https://github.com/openmaptiles/openmaptiles?tab=readme-ov-f... > You just need to include both licences. That is the definition of license incompatibility as described in the Creative Commons documentation above. The license is open source an…
> That is exactly the opposite of OMT's copyright interpretation. They are entitled to their opinion, but I don't consider a database to be a derivative work of a schema (this should be clear, since databases of facts aren't copyrightable anyway), same for software (it's at least fair use in the US, see Google v. Oracle). This goes back to the debate on copyrightability of APIs, where a decision for copyrightability…
"Additionally, our licenses are currently not compatible with the major software licenses, so it would be difficult to integrate CC-licensed work with other free software. Existing software licenses were designed specifically for use with software and offer a similar set of rights to the Creative Commons licenses." https://creativecommons.org/faq/
> Though I understand if you'd rather avoid using projects by people with weird legal opinions.
The scale of the Protomaps project is small (I'm the only full-time developer) and I don't have the resources to interpret novel copyright situations. I think it's best for the ecosystem to abide by the license terms stated by the open source developer, instead of challenging their validity.
Re: Show HN: OpenFreeMap – Open-Source Map Hosting
#209Thank you so much for sharing the setup and the hosted service. I'm a little curious about the setup bit for (self) hosting - it's essentially a series of bespoke python scripts? Not cloud init, not Ansible - and not shell scripts - nor Terraform/tofu. Would love to hear a few thoughts of how you arrived at this setup - and if you re-use parts for other projects?
Re: Show HN: OpenFreeMap – Open-Source Map Hosting
#210Earlier quoted context omitted.
From the FAQs on GitHub [1] > What about PMTiles? > I would have loved to use PMTiles; they are a brilliant idea! > Unfortunately, making range requests in 80 GB files just doesn't work in production. It is fine for files smaller than 500 MB, but it has terrible latency and caching issues for full planet datasets. > If PMTiles implements splitting to [1] https://github.com/hyperknot/openfreemap
That's an interesting claim. I make range requests to 100GB+ files (genomics) all the time for work and it works great. I've never considered total file size as directly related to latency in this respect, assuming you have some sort of an index of course.
BTW, we are discussing latency with bdon in this issue, it seems to be specific to Cloudflare: https://github.com/hyperknot/openfreemap/issues/16