Code Monkey home page Code Monkey logo

Comments (4)

aberezkin avatar aberezkin commented on September 14, 2024

Honestly, I can't understand which coordinates do you mean. Do you want to fetch geopositioning data from the image?

Can you provide a more detailed explanation?

from ng2-image-upload.

millturnK avatar millturnK commented on September 14, 2024

yes, I mean the latitude and longitude (geoposition) coordinates. For example I am in Canberra, Australia. Let's imagine I live at Parliament House - my latitude (the line of distance which goes vertically through our earth) would be -35.309522 and my longitude (the line going horizontally) 149.123936. If you search Google Maps and enter "-35.309522, 149.123936" in the search bar, it would zoom here. Most of my users won't know the location their photo was taken from which makes it impossible to map, hence I would like to get it automatically from the info they provide. A little bird told me it was encoded into the jpeg object somehow??? Any help would be appreciated and would make a valuable addition to your module for your users such as myself ;-). Might even fork it and add it in ;-).

from ng2-image-upload.

limpep avatar limpep commented on September 14, 2024

@millturnK This is meta data related to the image. If the information doesn't exist within the image there is no way you can get that information. This meta data would usually be added by the camera which took the image or added later on by a third part service.

Here are some useful links that might help,
How to See Exactly Where a Photo Was Taken (and Keep Your Location Private)

Even if you had this meta data within the image you will still have to process this image to extract the meta data by either a third party library or writing a library yourself.

This library all it does is uploads the image to a specific location.

from ng2-image-upload.

millturnK avatar millturnK commented on September 14, 2024

from ng2-image-upload.

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.