Questions tagged [latitude-longitude]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
20 views

Extent incorrect after using affine and rasterio to write image

I'm using rasterio to write data to a TIFF image. The original data was extracted from a TIFF image, that was projected in UTM 17 North, or EPSG 32617. I'm writing the data to EPSG 4326, and am also ...
0 votes
0 answers
15 views

EXIF data from images using arcpy [closed]

I'm following along with a video at the following link and had a quick question about the lat and long values I'm getting. Video Tutorial The results at the end of the video for calculating lat and ...
  • 43
0 votes
0 answers
16 views

calculate the average trajectory from a set of input trajectories [closed]

I have several .csv files that contain a set of coordinates (latitude, longitude), which are all points of a trajectory. my goal is to be able to find a method to implement in python that allows me to ...
1 vote
0 answers
31 views

Convert a single point (lat, long) to raster-projection from a tiff file, and finding the nearest pixel

I have a TIFF file and a list of coordinates, of which I'd like to get the information from the TIFF file for each coordinate. I'm quite new to working with geodata, but after a bit of searching I ...
  • 11
-1 votes
1 answer
28 views

Seeking latitude and longitude data for roads/highways [closed]

I wish to make an analysis where I intend to differentiate if my vehicle is on road or it is in other places like forests/farms/other land. For this I need either a database of coordinates of roads or ...
-2 votes
0 answers
25 views

Australian map grid zone 56 to lat long [duplicate]

Converting the below coordinators to degrees minutes seconds so I can plot on Google Earth. The location will be around Gympie Queensland Australia, most likely north... AMG 4612 70065 The source data ...
1 vote
0 answers
32 views

How to change the extent of raster layer to lat lon in QGIS?

For species distribution modelling I am working in R with rasters obtained from QGIS. To be able to work with my data, both my rasters and point variables need to be saved in similar extent format. ...
  • 11
0 votes
2 answers
22 views

SF Collection Plots in lat/long but Geometry is Not

I'm using urbnmapr to get a county base map. I want to plot my own points on top of this map. Even though the urbnmapr map plots with lat/long on the x y axis, the lat/long points that I want to plot ...
1 vote
0 answers
55 views

transform latitude and longtitude to pixel coordinate

I am trying to draw latitude and longtitude unit polygon on an image. Firstly I converted latitude and longtitude to pixel coordinate by these codes: #Coordinates of the image that was taken by ...
  • 11
0 votes
0 answers
54 views

Leaflet JS: How to check if a Lat/Longitude is in proximity going away from the original point?

I am trying to generate a route where each point in the route has progressively a lower elevation than the last point. So a route would look like this: [A, B, C, D, E] So E, would be lower than D ...
3 votes
0 answers
127 views

How to compute weighted mean centroid of lat+lon points taking into account spheroid

I have a bunch of points (lat+lon coordinates). Each one has a weight. I would like to get a weighted mean centroid of the points, taking into account the spheroid (as my points are scattered across ...
  • 115
1 vote
1 answer
75 views

Converting X/Y coordinates using pyproj giving incorrect results

I have two CSV files which I have to merge and the only thing common I found was one of them has coordinates of six points for polygon. and the second file has x, y coordinates which is the only ...
1 vote
1 answer
83 views

Calculate GPS elevation angle (Python)

I have two GPS points (Latitude, Longitude, Altitude) the distance between the two points is a maximum of 50 kilometers. How can I calculate the elevation angle? (I want to implement the whole thing ...
  • 11
0 votes
0 answers
17 views

How to determine the area size of a terrain for which I want to calculate its roughness

I want to calculate the wind speed on the ground for a specific location. In order to do so I will use the log wind profile. One of the input variables of this formula is the surface/terrain roughness....
  • 89
1 vote
1 answer
58 views

Polygon coords are backwards

I have been given a delimited text file with a series of polygons representing areas in the UK. I have a column labelled WKT_LatLong and the column contains the polygons. When I import the data it ...
0 votes
0 answers
12 views

EM31 Scanner WGS84 Lat Lon DDMM.SS how to convert?

I normally can convert the .xyz data sent to me from someone using an EM31 scanner, but they recently sent me a file with coordinates that I don't recognize. How can I display coordinates that seem ...
0 votes
1 answer
43 views

Utilizing ArcPy InsertCursor to populate lat/long field using a for loop

I am writing a script that populates a field full of Lat/Long coordinates and most likely should be a tuple. Originally I just created a Lat/Long tuple pair nested within a list and set equal to a ...
0 votes
3 answers
47 views

Adding Lat/Long Coordinates to Frame in Print Layout

I am still learning how to use QGIS: I am making a map of a location in Antarctica, so I am using WGS 84/Antarctic Polar Stereographic coordinates (EPSG:3031). I have put the map into a print layout ...
-2 votes
1 answer
77 views

Finding intervals of latitude/longitude of cities throughout the world at 0.01° precision [closed]

Geographical coordinates determine a specific point on a map. I am searching for the coordinates interval (thus to frame the area) of different large cities by latitude/longitude at a 0.01°x0.01° ...
0 votes
0 answers
56 views

Create lat-lon mesh grid from MODIS HDF4 file GDAL

I have a Python code that reads HDF4 files for different satellite products. I am having issues obtaining the underlying grid that it uses. In panoply I can see the variables XDim and YDim that have ...
  • 187
1 vote
1 answer
192 views

Using Python to plot flight data over portion of US?

Question I have a dataset in Python that tracks the flightpath of an object. I know the minimum and maximum latitude and longitude of the flightpath. The flightpath is entirely over the Montana. Is ...
  • 11
3 votes
1 answer
737 views

Interpolating series of points between two locations using Python [closed]

Let's say we have two addresses that are provided. I grabbed two random ones from the web below: # Google headquarters: google_lat = 37.422131 google_lon = -122.084801 # Apple headquarters apple_lat =...
3 votes
1 answer
78 views

How do I translate legalese into latitude/longitude?

I bought some land in the mountains recently, and its location is described like so: THAT PORTION OF THE SOUTHWEST 1/4 OF SECTION 25, TOWNSHIP 3 NORTH, RANGE 73 WEST OF THE 6TH P.M., DESCRIBED AS ...
1 vote
1 answer
48 views

Where do I live? (figuring out latitude/longitude from legal documents)

I recently bought the SparkFun RTK Express which looks like a pretty cool little gizmo. I've got some applications for it up in the mountains, but first I want to try it out down here in the suburbs. ...
2 votes
0 answers
76 views

Convert x,y to lat, long values

I am a senior with limited GIS experience. I am using QGIS to convert northings and eastings to latitude and longitude. I am having difficulty extracting lat, longs from one last survey shapefile. I ...
  • 51
-1 votes
1 answer
148 views

Are latitude and longitude of WGS84 geodetic or geocentric? [closed]

I note from wiki that there are other CRS under WGS84 apart from EPSG:4326 but I am only interested in EPSG:4326. I have also visited https://epsg.io/ page regarding EPSG:4326; however, I can’t find ...
  • 328
0 votes
1 answer
54 views

Changing spatialpolygonsdataframe to default longitude/latitude (degrees) using R

I am trying (and failing) to convert the coordinates in a spatial object (Spatialpolygonsdataframe) form easting/northing to latitude/longitude. The zone is 35S. I know it can be achieved with ...
0 votes
0 answers
58 views

Rotate latitude and longitude coordinates based on True North

I have a number of latitude- and longitude coordinates. In addition, I have two other data sources: trueNorth = 166 # I only know the value and a compass: How do I update my coordinates based on ...
  • 89
3 votes
1 answer
178 views

Polygon boundary from shapefiles not in latitude/longitude format

I just downloaded the shapefiles for the County boundaries in Minnesota from here. Now I am expecting the boundaries of the Polygons/MultiPolygons to consist of latitude and longitudes (according to ...
0 votes
0 answers
53 views

Find latitude/longitude of northernmost, southernmost, westernmost, and easternmost points in county

I need to find the latitudes of the northernmost and southernmost points, and the longitude of the easternmost and westernmost points, in two US counties (one in Oregon and one in California). What is ...
  • 101
0 votes
1 answer
318 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<-...
0 votes
0 answers
47 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 ...
  • 127
1 vote
1 answer
521 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 ...
0 votes
2 answers
38 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 ...
0 votes
2 answers
326 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. ...
0 votes
0 answers
39 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 ...
  • 101
2 votes
1 answer
57 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 ...
3 votes
2 answers
572 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 ...
  • 127
1 vote
0 answers
138 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, ...
  • 127
0 votes
1 answer
158 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 ...
  • 849
5 votes
2 answers
1k 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....
  • 365
0 votes
1 answer
150 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?
  • 3
3 votes
1 answer
310 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 ...
1 vote
0 answers
43 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....
0 votes
1 answer
69 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 ...
  • 13
4 votes
1 answer
88 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 ...
  • 438
0 votes
0 answers
110 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....
  • 400
0 votes
1 answer
344 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 ...
  • 5
1 vote
0 answers
413 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 = ...
2 votes
6 answers
4k 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 ...
  • 71

1
2 3 4 5
18