Comments (3)
fwiw, this very similar query works:
curl 'https://nominatim.openstreetmap.org/search.php?q=Portland%2C+maine&format=json'
[{"place_id":235457607,"licence":"Data © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright","osm_type":"relation","osm_id":132500,"boundingbox":["43.606363","43.727658","-70.346095","-70.076935"],"lat":"43.6610277","lon":"-70.2548596","display_name":"Portland, Cumberland County, Maine, United States of America","class":"boundary","type":"administrative","importance":0.7629710139286798,"icon":"https://nominatim.openstreetmap.org/images/mapicons/poi_boundary_administrative.p.20.png"},{"place_id":77924609,"licence":"Data © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright","osm_type":"node","osm_id":7030623591,"boundingbox":["43.6489391","43.6589391","-70.2962915","-70.2862915"],"lat":"43.6539391","lon":"-70.2912915","display_name":"Portland, Thompsons Point Connector Road, Libbytown, Portland, Cumberland County, Maine, 04102, United States of America","class":"railway","type":"station","importance":0.4432286868188654,"icon":"https://nominatim.openstreetmap.org/images/mapicons/transport_train_station2.p.20.png"},{"place_id":27931287,"licence":"Data © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright","osm_type":"node","osm_id":2702922008,"boundingbox":["43.6529626","43.6530626","-70.2908435","-70.2907435"],"lat":"43.6530126","lon":"-70.2907935","display_name":"Portland, Thompsons Point, Libbytown, Portland, Cumberland County, Maine, 04102, United States of America","class":"railway","type":"stop","importance":0.21100000000000002}]
I didn't look at their docs at all, so I don't know if you're not supposed to hit that endpoint or something; I just copied from the network inspector and guessed.
from felicette.
Understood, this is unwanted but expected behavior since I'm not checking for a valid list before returning results here. https://github.com/plant99/felicette/blob/master/felicette/utils/geo_utils.py#L19
Thanks for bringing this up!
from felicette.
Fixed with this commit, df507be
Will notify here, when it's released next.
from felicette.
Related Issues (20)
- errors doing pip install felicette on MacOS - Add to docs: 'rich' is a Python3 only module HOT 4
- Unable to get a meaninful image HOT 1
- No module named 'osgeo' on Debian 10 HOT 5
- Add --version option to CLI HOT 2
- Docker image HOT 2
- Multiple execution of felicette fails, and the generated images are incorrect HOT 3
- Image cropping not working as intended HOT 1
- Tag queried 'location name' in the image
- Integrate what3words
- Question (or Feature Request?) on DTG of imagery HOT 1
- felicette -l jacksonvlile HOT 2
- Ease installation
- Experiment with robotsat
- Collecting opencv-python==4.3.0.36 (from felicette) could not find a version that satisfies the requirement opencv-python==4.3.0.36 (from felicette) (from versions 3.4.2.16 ... 4.4.0.46 ) No matching distribustion found for opencv-python opencv-python==4.3.0.36 HOT 7
- 'earth-search-legacy.aws.element84.com' which cannot be resolved anymore HOT 2
- Flag -p generates error HOT 3
- There are rio-colors wheels for windows since july 2021 HOT 1
- Feature request: fail early if there is no satellite imagery for requested area HOT 6
- Failed on partial data (I think) HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from felicette.