Git Product home page Git Product logo

Comments (2)

doersino avatar doersino commented on June 7, 2024

Sadly, the shapefiles you've linked aren't of the type that ærialbot expects. I've thrown the Sweden ones into mapshaper.org and noticed the following:

  • They contain multiple records per file, but this could be fixed with mapshaper as described here.
  • The projection isn't based on latitude and longitude, but this, too, can be fixed.
  • Yet most importantly, these shapefile contain differently-scaled variants of the EEA reference grid corresponding to the countries. This grid doesn't follow coastlines or borders – in fact, it includes "at least country borders - plus 15km buffer - and, where applicable, marine Exclusive Economic Zones v7.0 - plus 15km buffer".

If you

  1. can find a different set of shapefiles that are published under a license that allows inclusion in this repository and
  2. are willing to do the work of coercing them into the correct format if required,

please feel free to send a pull request! However, it's usually fairly easy to find shapefiles of country borders by searching¹ for "shapefile borders" or similar, so it's probably not all that useful to preemptively add shapefiles that no one might ever use. What's more, the existing example shapefiles are probably sufficient for demonstration purposes.

Your suggestion of mentioning shapefile sources in README.md is good, though – I'll definitely add a section on that soon, thank you!


¹ While performing a search like that, I just came across this page which appears to have shapefiles for all countries – and they seem to be ready for use with ærialbot out of the box (but I haven't tested that yet). Their license, however, doesn't allow redistribution, so I can't include them in this repository.

from aerialbot.

theold190 avatar theold190 commented on June 7, 2024

Thanks for an answer and extra details!

I have tried to use shapefiles from my link and saw the issues you have named. The shapefiles on GADM are different and work from the box.

from aerialbot.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.