Comments (16)
"No such coordinate"
I had exactly this problem myself, and I discovered that the code I was using to produce the JSON containing the lat/long values to be sent to the API/server had surrounded the lat and long values with quotes. These quotes must be removed from the lat/long values in the JSON sent to the API via POST, so that those values are sent as floats, since the API code is apparently unable to convert the string equivalents of the lat/longs to floats.
HTH, Rob
from open-elevation.
Hi I'm having this same issue atm, any help available?
I recently had this issue. Upon inquiry found that somehow my summary.json file inside data folder was not generated properly and was empty. so I removed that file and rerun the server again. That fixed my issue. You can check for the same.
from open-elevation.
If your data/summary.json is emty (or emty array), just remove it, check that .tif files directly in data folder and restart container
from open-elevation.
Similar issue. I got the server to run but it always returns an elevation of 0, no matter what lat,lng is submitted.
from open-elevation.
Unfortunately i dont have any solution of that
from open-elevation.
Did you validate that the coordinate works on the open-elevation website?
from open-elevation.
Did you validate that the coordinate works on the open-elevation website?
if question is for me i no longer need to solution actually. As answer yes i did check coordinates on web api I guess my problem was about installation.
from open-elevation.
Hi. Same thing here. And im not producing the JSON with quotes.
I've noticed that the summary.json file is empty. Should it be that way?
from open-elevation.
Make sure to run docker from the right directory (parent of your data-dir) since the command from the documentation uses relative path to data dir (pwd).
from open-elevation.
Same here, I downloaded a small area of elevations, if I query any locations I always get elevation: 0, if I move out the tif file from the data dir but I leave the summary.json I get error: No such coordinate. Any clues?
from open-elevation.
Hi I'm having this same issue atm, any help available?
from open-elevation.
Hi I'm having this same issue atm, any help available?
I recently had this issue. Upon inquiry found that somehow my summary.json file inside data folder was not generated properly and was empty. so I removed that file and rerun the server again. That fixed my issue. You can check for the same.
Hello, I use your method. The API can be called, but the elevation returned is always less than 0
{"results": [{"latitude": 28.552535, "longitude": 82.895697, "elevation": 0}]}
from open-elevation.
I got the "No such coordinate" in the response when the summary.json file was empty in /data folder. This was because the TIF files were created in subfolders in /data for me.
After moving them to the /data folder, the summary.json were created successfully but then the elevation data in response were 0.
In the docker container I got the following error message:
"Unable to allocate array with shape (28810, 100810) and data type int16"
I tried to change overcommit_memory like this:
echo 1 > /proc/sys/vm/overcommit_memory
(suggested in this stackoverflow question) but it only resulted that my requests to api runned until timed out without a response.
Any other suggestions to this elevation: 0 problem?
from open-elevation.
Hi all!
Any news on this issue?
In the docker container I got the following error message:
"Unable to allocate array with shape (66507, 53163) and data type float32"
Any suggestions?
Thanks!
from open-elevation.
I also got "no such coordinate" and I can't understand why, my summary.json file is empty.
does someone solved this issue?
from open-elevation.
stale
from open-elevation.
Related Issues (20)
- How can I make a javascript call?
- Public API is down HOT 1
- TLS certificate for `open-elevation.com` has expired HOT 1
- geojson format in the requests
- Issued certificate has expired. To connect to srtm.csi.cgiar.org insecurely, use `--no-check-certificate'.
- Public api does not work HOT 11
- Expired certificate
- replace the .sh scripts with py scriprts HOT 5
- Docker installation help HOT 3
- Elevation=0 HOT 1
- Public POST API not working HOT 1
- latitude, logitude reversed HOT 1
- SSL crt and key files
- Is the elevation value from mean sea level or from the ellipsoid or ?
- TLS certificate for open-elevation.com has expired
- Multiple Access-Control-Allow-Origin headers causing CORS error HOT 1
- Dead repository - Maintained fork available! HOT 4
- WKT
- Altitudes above 60 not working
- Extending API for LandXML input type
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 open-elevation.