Questions tagged [latitude-longitude]

Angular geographic coordinates that specifying the north-south and east-west positions of locations.

Filter by
Sorted by
Tagged with
0
votes
0answers
19 views

Extract the Lat and Long for geo tagged UAV images [closed]

I have a stream of drone images from DJI drone flowing in to an application. I have the below geo tagged information {'GPSVersionID': b'\x02\x03\x00\x00', 'GPSLatitudeRef': 'N', 'GPSLatitude': (38.0, ...
0
votes
0answers
17 views

proj4js convert long, lat to x,y by axis by meters

Can anyone provide right projections for proj4js convert long, lat to x,y by axis by meters? Here is my projections: const fromLatLongProjection = '+proj=longlat +ellps=WGS84 +datum=WGS84 +units=...
0
votes
0answers
28 views

Calculate a line between two points on Earth [closed]

Can someone maybe get me a way to calculate the line equation between two points on the Earth? I have the distance formula but not the line equation (which is not a straight line).
0
votes
1answer
52 views

Clustering 2 different datasets based on distance from one another in R

I have two different datasets with latitude and longitude, one for manufacture and other for storage: lat <- c(47.3523235, 47.5673237,47.606209) long <- c(-121.9837251, -121.8887269, -122....
0
votes
0answers
18 views

How to use affine matrix to calculate row-column pair on a raster corresponding to a lat-long pair using NumPy?

I have a pair of latitude-longitude coordinates: lat, lon = 59.87115844471202, 10.656472637769236 I have a URL for a TIFF (this - it's public). I open it with rasterio (install: pip install rasterio),...
0
votes
0answers
41 views

Rounding latitude longitude locations up/down to approximately 0-1 kilometer to mutual GPS coordinations dot/point

This is a very simple problem I have to solve simple (in JavaScript, but it doesn't matter for that topic). OK its possible so solve that the hard way, but I just want to solve that as easy as ...
0
votes
0answers
23 views

Accuracy of distance between two latitudes and longitudes points

Is the error of evaluating the distance between two lat,lon points bounded? For example: Given point a and point b (acquired by smartphone GPS) such as |a.lat-b.lat| < 10^-4 and |a.lon-b.lon| < ...
1
vote
1answer
37 views

Creating map of New Zealand with coordinates in Folium

I want to create a map of New Zealand in Folium Python. I want to show the map of New Zealand. Later on I will add the markers on the map. I started coding as follow: nz_map = folium.Map(location=(lat,...
1
vote
1answer
33 views

Invalid geometry when importing xy points

I am trying to import xy coordinates from a CSV file as points into my ArcGIS map. However, when doing so, I get the message "Some of the features have invalid geometry and have been removed from ...
1
vote
0answers
35 views

Calculating latitude-longitude of given pixel on TIFF using numpy only [closed]

I know how to calculate the latitude-longitude coordinates of a given pixel of a TIFF file using rasterio. Methods based on importing external functions (from within rasterio or GDAL for example) ...
0
votes
0answers
26 views

How do I change from degrees to metres on my map grid? [duplicate]

I have changed the CRS to GDA94/MGA zone 50 but still when I create a new grid it displays in degrees. I cant find the 'on the fly' check box on my version of QGIS so I cant follow the instructions to ...
0
votes
0answers
54 views

Reprojecting Rotated Lat-Lon Grids gives GDAL Warp Error

I have stumbled on an unusual error that I have not encountered in GDAL previously. I downloaded a GRIB2 file that contains several data grids. This file is described as a rotated lat-lon grid with ...
1
vote
0answers
44 views

Distributing lat long points equally within state boundary (USA) using Python

Looking to distribute points equally like the picture below within the boundaries of a given state such as California or Texas and then get those lat/long points as a csv or txt file. A way to do this ...
1
vote
0answers
44 views

Converting from Lat Long Altitude to Geocentric to Topocentric using modern PROJ C++

I'm trying to use Proj to perform lat long alt to geocentric to topocentric transforms. I've been able to do this fine in python, but the API pyproj uses underneath is apparently very old. I want to ...
1
vote
1answer
59 views

How to get lat and lon from a GeoPandas geodataframe polygon

I am looking to get the lat and lon coordinates for a number of different polygons in a geodataframe. The following code was suggested on another answer but this returns non lat and lon numbers (lon = ...
12
votes
2answers
1k views

What kind of coordinates are 38,40.1365N, 75,4.23933W?

I have a series of coordinates (e.g. 38,40.1365N, 75,4.23933W) that I cannot make sense of. These coordinates were with the pictures taken with iPhone 12. I need to know their type so that I can then ...
0
votes
1answer
44 views

Confusion in longitude range, why do they start at 80? [closed]

In one of our notes in the university, there's a paragraph about latitude and longitude that tell us this: Geographic coordinates are the earth's latitude and longitude system, ranging from 90 ...
2
votes
1answer
41 views

QGIS: How to export Coordinates of Polylines in Scheme of Latitude/Longitude instead of (default) Longitude/Latitude?

I want to export line coordinates of several features of a layer into a CSV file. This is easily possible with Export -> Save Selected Features As... and choosing Geometry: AS_WKT: However, this ...
1
vote
0answers
21 views

Get coordinates from Folium's feature LocateControl() in Python

I have this problem. I have this to get the information from the mobile phone from folium.plugins import LocateControl m = folium.Map() # With default settings LocateControl().Add_to(m) m and I need ...
0
votes
1answer
35 views

Offset Latitude and Longitude by some meters accurately - Reverse Haversine

I have a set of lat/long coordinates and need to offset the value to the "left" by < 10 meters. I calculate left by getting the direction my instrument is facing and use basic ...
1
vote
1answer
46 views

How to convert Latitude Longitude to UTM - conflicting UTM Zone codes

Just as in this question, I download a sentinel tif file: from pystac_client import Client catalog = Client.open("https://earth-search.aws.element84.com/v0") mysearch = catalog.search(...
0
votes
0answers
19 views

Converting sinusoidal projection into WGS84 lat and lon values using MATLAB for MODIS file

I have a MODIS HDF file, MCD19A2 product. The files are stored using sinusoidal projection for a tile. A tile is then divided into 1200 by 1200 grids (or in 1200 by 1200 matrix, you can say). The ...
0
votes
0answers
40 views

Extracting lon lat data from .hgt file using Python

I have a .hgt file and I want to extract the lon and lat data from it. I separated the height values by using python==3.8 to work with the data in an numpy array-format. import rasterio raster1 = ...
1
vote
1answer
43 views

How does one geocode 2 points with same Lat-Long but different heights?

I am working with Ground-Based SAR (radar) data. My task is to geocode the image. I am new to Geocoding. I was reading through various geocoding approaches that explain how to convert latitude, ...
0
votes
0answers
42 views

Adding metre distances to Web Mercator projection

I'm new to using GPS and using map projections. I've read quite a bit but I'm struggling to understand how to use Web Mercator projection. I have lat/long coordinates from the nuScenes dataset. The ...
2
votes
1answer
52 views

How come the Antarctic REMA Explorer say its 108,66 km from 90°S to 89°S?

I am trying to understand the calculation for distance at the Antartic REMA Explorer site: https://livingatlas2.arcgis.com/antarcticdemexplorer/ Zooming in, selecting the measure tool and doing a ...
2
votes
1answer
47 views

Choosing proper Order field when using Point to Path tool in QGIS

I'm practicing creating vectors/lines in QGIS 3.16.3 by uploading .csv files from Excel with Lat/Long decimal degrees, and then using the "Points to Path" tool to connect the locations. I ...
1
vote
0answers
25 views

Derivation of Lat/lon given radial and distance [duplicate]

I'm looking for a derivation of the following aviation formula. I found this on one or two other sites as well but no explanation. http://www.edwilliams.org/avform147.htm#LL I took a stab at this ...
0
votes
0answers
42 views

Accuracy of Google maps/HERE maps

According to this article in https://junipersys.com/support/article/6614, I have a basic understanding of the accuracy of GPS data. Through calling Google Maps/HERE Maps API, we are able to receive ...
0
votes
1answer
89 views

Projection of map to WGS 84 3857 in QGIS ends up shapfile on 0.0 (near Africa) [closed]

I have a building shapefile in my country which, when imported is in CRS EPSG 4326 - WGS 84. I need to project this to typical latitude, longitude values (If my GIS knowledge is right, to EPSG 3857 - ...
3
votes
2answers
161 views

Obtain min and max lat,long for all geometries using GeoPandas

I am reading a shapefile of a county and need to extract the min and max coordinates across all geometries. It seems like this is possible with each individual geometries in the shapefile with shapely ...
1
vote
2answers
55 views

Converting DMS to coordinates with +/- signs

I am looking to convert Degrees/Minutes/Seconds coordinate data into decimals for plotting. However, I am unfamiliar with the science behind the +/- signs given by the longitudinal coordinates. I have ...
0
votes
0answers
31 views

How is it that ArcMap and QGIS produce feature classes with different numbers of points and different coordinates from the same TIFF?

I have a 300m by 300m B&W TIFF map of Brazil, and I need to convert all the pixel values into a point feature class. When I do it in ArcMap using Raster to Point, I get a feature class with 92,054,...
0
votes
0answers
35 views

Adding relative spherical coordinates to absolute Lat/Lon/Alt coordinates

I have an absolute position of an observer given in Lat/Lon/Alt (on earth, ellipsoid). The observer observes an object and measures azimuth (angle), elevation (angle) and range (NM) to this object ...
1
vote
2answers
69 views

Why is there a difference in latitude/longitude for the same place?

I am a complete newbie to this field. When I look up that lat/lon of a place on the web, I see different values reported. For example, for Jamaica Bay, New York, Google shows 40.6057°, -73.8713°. But ...
0
votes
0answers
31 views

Field calculator: Adding coordinate fields to attribute table with DECIMAL DEGREE values instead of UTM [duplicate]

I have a shapefile layer with several points, each with its own ID. The attribute table just shows the IDs of these points. Now I want to add two new fields with the coordinates (lon/lat). I'm using ...
4
votes
3answers
54 views

Angle of lines between two points varies between "90" and 270"

I have several sets of points on a layer, with all sets of points in nearly the same geographic location. I use the "points to paths" function and then explode the lines. I then use the ...
0
votes
0answers
28 views

Getting a rasterized object from irregular lat and long data

I have a dataframe (I've named it ozone2raster) with latitude and longitude points, and values for ozone concentration that I want to use for making a rasterized map. The dimensions of this dataframe ...
0
votes
0answers
84 views

How to compute an n*n time matrix in R if n points with longitude and latitude is given?

The basic idea here is, I will provide a dataframe with name/id, longitude and latitude as input and will be able to generate a time matrix. osrmTable from the osrm package is doing the intended job ...
1
vote
1answer
456 views

Converting "Degrees Decimal Minutes" to "Decimal degrees" in Python

I'm trying to convert the following format to decimal degrees: 45° 17,896' N Is there any module that I can use? I tried using dms2dec: from dms2dec.dms_convert import dms2dec lat = dms2dec("45° ...
1
vote
0answers
86 views

R: Clustering observations together based on distance and time

In R, I have a dataframe with roughly 3 million observations, with the columns being longitude, latitude and time respectively. My goal is to form clusters (using a custom distance function), and then ...
4
votes
1answer
88 views

Adding latitude and longitude to QGIS file without losing the current xy coordinates

I plan to convert a .dwg-file to QGIS. The coordinate system of the .dwg-file is set up in feet in the x and y directions from a point near the bottom center of the drawing. This coordinate system ...
1
vote
0answers
77 views

Embedding interactive Google Maps into a Google Form

I have a Google form with some questions. People can answer the questions about (future) trees they want to have in their neighbourhood. But there also must be the possibility that people mark the ...
0
votes
0answers
32 views

Probability of latitude and longitude

I had made an Android app which send current Latitude and Longitude of user to my server continuously, on the server I calculate 5 KM in circular way of user location to find the nearest known points ...
3
votes
2answers
78 views

Is there a convenient way to uniformly partition the United States into "buckets?"

I'm not a GIS professional, it's just that my current project is heavily reliant on geospatial data. I'm currently working on a project that has to do with transportation behavior. My hypothesis is ...
0
votes
0answers
18 views

Plotting lat/long with Tableau averages it out

I'm trying to plot crimes by lattitude and longitude on Tableau Public. Yet the software averages it out the values: I've watch this tutorial but, as you can see on the screenshot, I don't have the &...
5
votes
1answer
164 views

Translating X, Y coordinates to lat/long

I have X and Y coordinates from a resized image that has its origins from a Sentinel 2B photo. The original photo is 109.681 by 110.334 km. The re-dimensioned file is 370 by 369. I also know the ...
0
votes
1answer
131 views

Calculating coordinates for halfway around world from given location

I am curious about how to mathematically determine "half-way around the world" from a given spot. For example, from where I live in Monterey, what is half-way around the world heading either ...
1
vote
2answers
218 views

Converting X and Y coordinates Data to Latitude Longitude

I have a data file that contains locations of different places of Wilmington, North Carolina. The data file contains the X Coordinates, Y Coordinates, and Latitude. I want to calculate the Longitude ...
1
vote
1answer
67 views

Converting 7 digit coordinates to Latitude and Longitude (Ohio, USA)

I have a dataset of traffic monitoring stations in Ohio, and I am trying to locate these stations in Lat/Long. Here is an example: This station is located in Franklin county, along Interstate 71. ...

1
2 3 4 5
17