Git Product home page Git Product logo

geopip's People

Contributors

tammoippen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

geopip's Issues

Obtaining list of cities in Polygon using geopip

geopip 1.1
python 3.10.13
shapely 2.0.1

If I have a geojson Polygon I'm interested in and an underlying data source (say from Natural Earth) is it possible to use geopip and these two inputs to get a list of all the cities located within that polygon?

Getting None returned from geojson file

OS: Pop!_OS 22.04 LTS
Python: 3.12.0
geopip: 1.1

I downloaded the ne_110m_populated_places.json file from https://github.com/martynafford/natural-earth-geojson and set the REVERSE_GEOCODE_DATA environment variable to the location of this file. I have the following test code:

import geopip

#Denver
tmp = geopip.search(lng=-104.984015952, lat=39.7391880484)
print(tmp)

and I get None returned. It looks like from the repo of the geojson file that Denver is included in the file: https://github.com/martynafford/natural-earth-geojson/blob/master/110m/cultural/ne_110m_populated_places.json. I was wondering if I were doing something incorrect to get the None value returned? Thank you in advanced for your help!

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.