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
0 answers
14 views

Finding the overlapping points frequency table [closed]

I have a point feature class in ArcGIS that represents the registration location of each car. I need to find the frequency of cars at each Lat/Lon and create an output table which has three columns of ...
user avatar
0 votes
1 answer
35 views

Converting points to latitude and longitude values in R

I have a .tiff file with some coordinate data associated with temperatures that I need to convert into latitude and longitude, using R. I used the following code to read the original file: testlat<-...
user avatar
0 votes
0 answers
26 views

Uploading tif to GEE Error: "Image extends outside -90,90 latitude range. Bounding box x=0..43200, y=0..16800"

I had a vrt layer of soils that I'd like to use in GEE. Since GEE only takes tif image files for upload to assets, I exported it as a tif with the projection EPSG:4326. However, when I try uploading ...
user avatar
1 vote
1 answer
40 views

Converting x/y in Pandas DataFrame to lat/long

I have written the following Python code to convert various input files into a shapefile using Pandas. The coordinates of the input file are x,y which is what my shapefile outputs to, but I would like ...
user avatar
0 votes
2 answers
34 views

Displaying X/Y data in ArcMap

I am very new to GIS. I am unfamiliar with the terms so I may not have found similar queries. I just want to display my XY data on a layer. However, whenever I import my CSV/XLS file to ArcMap, the ...
user avatar
0 votes
2 answers
54 views

Convert from latitude/longitude into feet and acres using Python

I have a field that I am trying to convert into acreage using Python. My understanding is that the process depends on your location in the world, as this process can be different based on location. ...
user avatar
0 votes
0 answers
26 views

Normalize distance between U.S. counties so that adjacent counties are unit distance away

High level problem: I'd like a "distance" metric that measures adjacency rather than euclidean distance. Details: I'm looking for a way to normalize distance between U.S. counties so that ...
user avatar
  • 101
2 votes
1 answer
50 views

Importing text file with coordinates with "N12.345" and "E6.789" as shapefile in QGIS

In our project we have an app that provides data of coordinates with "N" and "E" for Lat and Lon correspondingly. We get the data as Excel and want to open it as shape in QGIS. We ...
user avatar
3 votes
2 answers
92 views

Creating CSV with lat/long from point shapefile using Python [duplicate]

Does anyone know how to create a CSV containing lat and long fields from a point shapefile in Python? I can only find info on how to make a shapefile from CSV with lat/long and not the other way ...
user avatar
1 vote
0 answers
43 views

LatLong to XYZ data viz

I'm somewhat of a noob when it comes to coordinate systems and projections. I am woking on wind visualization and I am coming across two issues that I am not sure why they are happening. For context, ...
user avatar
  • 127
0 votes
1 answer
50 views

What is the appropriate mesh or grid for latitude, longitude data

I have a set of military clashes in Ukraine coded with latitude, longitude coordinates. So I want to create 2D bins for the data and then count the number of events that fall inside each bin. Later I ...
user avatar
  • 849
5 votes
2 answers
379 views

Joining two Pandas DataFrames based on lat, long as fields

I have two Pandas DataFrames containing "lat" and "long" coordinates. I'd like to do a spatial join and merge columns from one DataFrame into another. import pandas as pd df1 = pd....
user avatar
  • 323
0 votes
1 answer
50 views

How do I convert from RT90 to WGS84 in R?

I have a dataset with a bunch of data in RT90 format. E.g 6275755 1538971 should be around 56.607512 16.439838 in WGS84, according to this online converter. How can I do this using R?
user avatar
  • 3
3 votes
1 answer
86 views

Obtaining lat/lon coordinates for layer in QGIS

With QGIS 3.24.1-Tisler on Mac, I want to get a list of lat/long coordinates for the Alaska sample data that comes with QGIS. I followed the instructions at https://gis.stackexchange.com/a/64700, with ...
user avatar
1 vote
0 answers
30 views

Precision of latitude / longitude in history

I am looking to assign a likely precision value for a point based on the decade when the measurement was made. Lets say that in the 1910's the precision widely available would be to two decimal places....
user avatar
0 votes
1 answer
47 views

Performing conditional near analysis in ArcGIS

I have two shapefiles with different points (cities) in lat/lon, and I am running the Near Analysis tool to find the nearest point in the second shapefile for each point in the first one. However, I ...
user avatar
  • 13
4 votes
1 answer
66 views

Convering latitude and longitude of starting point of line from Lambert to DMS in QGIS

I know how to convert Lambert to DMS latitude for points in a shapefile, i.e.: y(transform($geometry, 'EPSG:31370', 'EPSG:4326')) It works fine. I want to make a similar transformation for points ...
user avatar
  • 418
0 votes
0 answers
72 views

How to efficiently find pixel coordinate in raster if affine transform is not, but coordinates of all pixels are given?

I have two 2D numpy arrays, one of them contains the latitudes, the other contains longitudes of a raster. For example: lats = \ np.array([[26.21965851, 26.21965851, 26.2196585 ], [26....
user avatar
  • 250
0 votes
1 answer
132 views

Longitude to metres ratio given a latitude for Google Maps Static API stitching?

I'm working on a project that hopes to convert Google Maps static images into larger, stitched together maps. I have created an algorithm that given a starting and ending, latitude and longitude, it ...
user avatar
  • 5
1 vote
0 answers
92 views

Is there a way to set CRS in st_sfc

Did something recently change with the sf library? My code, which has been working for a long time, no longer works. Here is what I am doing... pt1 = st_point(c(lowerLeftLong, lowerLeftLat)) pt2 = ...
user avatar
0 votes
0 answers
29 views

How to know if a reverse-geocoding place is a city or village/town

I need to create a reverse geocode logic that is able to determine if a place is a city or a village. I don't want to use GoogleAPI, so I searched for other API-provider: locationiq.com developer....
user avatar
2 votes
6 answers
805 views

Getting location data from Latitude and Longitude

I am looking for some API that will return me the info of location from Latitude and Longitude parameters. I tried using Google Geocoding but it doesn't work well for anything water-related, like it ...
user avatar
  • 71
1 vote
1 answer
184 views

Map lat/lon onto polar stereographic projection map based on two known points on map image

I've searched already everywhere but couldn't find anything. I have a "polar stereographic projection" map that is true at 60 degrees latitude north as an image (e.g. https://flightplanning....
user avatar
  • 113
3 votes
1 answer
168 views

Find latitude and longitude point in geometry field

I have a SQL Server reference table that stores statistical areas for Australia. To build this I had to import a .shp (shape) file using QGIS (I was provided an Excel file but it didn't have any ...
user avatar
  • 31
0 votes
1 answer
359 views

How to convert WGS84 degrees coordinates to SK42 in meters in Java

How to convert WGS84 degrees coordinates to SK42 in meters in Java? Are there any code examples?
user avatar
0 votes
0 answers
52 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=...
user avatar
0 votes
1 answer
191 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....
user avatar
0 votes
0 answers
70 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),...
user avatar
  • 250
0 votes
0 answers
120 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 ...
user avatar
  • 1
0 votes
0 answers
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| < ...
user avatar
  • 101
1 vote
1 answer
84 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,...
user avatar
1 vote
1 answer
357 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 ...
user avatar
  • 13
1 vote
0 answers
79 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) ...
user avatar
  • 250
0 votes
0 answers
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 ...
user avatar
0 votes
0 answers
158 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 ...
user avatar
1 vote
0 answers
84 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 ...
user avatar
  • 19
1 vote
0 answers
105 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 ...
user avatar
  • 111
1 vote
1 answer
1k 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 = ...
user avatar
  • 21
12 votes
2 answers
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 ...
user avatar
0 votes
1 answer
50 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 ...
user avatar
  • 103
2 votes
1 answer
52 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 ...
user avatar
  • 181
1 vote
0 answers
62 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 ...
user avatar
0 votes
1 answer
255 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 ...
user avatar
  • 1
1 vote
1 answer
296 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(...
user avatar
  • 250
0 votes
0 answers
102 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 ...
user avatar
0 votes
0 answers
94 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 = ...
user avatar
1 vote
1 answer
77 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, ...
user avatar
0 votes
0 answers
43 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 ...
user avatar
2 votes
1 answer
61 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 ...
user avatar
2 votes
1 answer
87 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 ...
user avatar
  • 21

1
2 3 4 5
18