在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:lazyweirdo/osm-ipfs-proxy开源软件地址:https://github.com/lazyweirdo/osm-ipfs-proxy开源编程语言:HTML 73.6%开源软件介绍:osm ipfs proxyTile server system based on IPFS This small project tries to unify https://openstreetmap.org raster tiles along with https://ipfs.io You can take a first glance here https://pulsartronic.com/map.html browse the code, you are going find some implemented things below described. It is a map application in which image storage is distributed, play with it, reload the page several times, change position and zoom, till your region is fully introduced and replicated throughout enough ipfs nodes (including yours), then it will be fast enough to be fully functional even to other users. map.html and proxy.php are in a cheap VPS. ipfstile.php is in a separate server, with more disk capacity. The aim is to create a free X/Y/Z tile system for developers who are making map featured apps and have not enough resources to host a raster server nor to pay for a similar service. Example tile /Z/X/Y output: http://a.tile.openstreetmap.org/5/17/12.png Resources for this pourpose are heavy in data storage, transmission and service availability. Now they can be, somewhat, soften. The strength of IPFS is in static content storage and transmission, very helpful indeed, and OpenStreetMap gives you the data for free. You cannot use OSM as YOUR application tile server, yet you can access the data if you do it reasonably often as a single user. It is important to note that maps provided by OSM are dynamic, meaning that they change over time. IPFS offers several options to help in this task, i would like to try them all. A client application can ask for /Z/X/Y tiles to several sources:
As efficiently as possible, the client application tries all available options. A proxy server:
Once enough tiles are introduced to ipfs, temporary unavailability of raster tile servers, proxy servers or even gateways, wouldn't make the system unusable. Replication of proxy servers is also good for the system health, no matter to what proxy you are asking for a tile, if it was already added by another proxy server, you are going to receive it faster and the proxy server you are connecting to, would have made data replication, which is good. ok, it is a work in progress ... Contribute :P |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论