Git Product home page Git Product logo

Comments (16)

 avatar commented on July 21, 2024 3

"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.

sujiv avatar sujiv commented on July 21, 2024 2

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.

AnDanilova avatar AnDanilova commented on July 21, 2024 1

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.

felixb101 avatar felixb101 commented on July 21, 2024

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.

halilbrhmtrn avatar halilbrhmtrn commented on July 21, 2024

Unfortunately i dont have any solution of that

from open-elevation.

KirkMiller avatar KirkMiller commented on July 21, 2024

Did you validate that the coordinate works on the open-elevation website?

from open-elevation.

halilbrhmtrn avatar halilbrhmtrn commented on July 21, 2024

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.

ignaciogeli avatar ignaciogeli commented on July 21, 2024

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.

juanfilipe avatar juanfilipe commented on July 21, 2024

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.

bionicoz avatar bionicoz commented on July 21, 2024

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.

mr10abb avatar mr10abb commented on July 21, 2024

Hi I'm having this same issue atm, any help available?

from open-elevation.

KKmigu avatar KKmigu commented on July 21, 2024

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.

DavidJenei94 avatar DavidJenei94 commented on July 21, 2024

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.

tbattisti avatar tbattisti commented on July 21, 2024

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.

Ravidi22 avatar Ravidi22 commented on July 21, 2024

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.

halilbrhmtrn avatar halilbrhmtrn commented on July 21, 2024

stale

from open-elevation.

Related Issues (20)

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.