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
54 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 ...
user avatar
1 vote
1 answer
39 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 ...
user avatar
  • 11
0 votes
0 answers
12 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....
user avatar
  • 101
1 vote
1 answer
52 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 ...
user avatar
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 ...
user avatar
0 votes
1 answer
38 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 ...
user avatar
0 votes
3 answers
42 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 ...
user avatar
-2 votes
1 answer
59 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° ...
user avatar
0 votes
0 answers
34 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 ...
user avatar
  • 179
1 vote
1 answer
86 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 ...
user avatar
  • 11
3 votes
1 answer
401 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 =...
user avatar
3 votes
1 answer
67 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 ...
user avatar
1 vote
1 answer
46 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. ...
user avatar
2 votes
0 answers
72 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 ...
user avatar
  • 51
-1 votes
1 answer
95 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 ...
user avatar
0 votes
1 answer
35 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 ...
user avatar
0 votes
0 answers
47 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 ...
user avatar
  • 101
2 votes
1 answer
103 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 ...
user avatar
0 votes
0 answers
45 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 ...
user avatar
  • 101
0 votes
1 answer
165 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
38 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
231 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
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 ...
user avatar
0 votes
2 answers
189 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
35 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
56 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
353 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
74 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
107 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
791 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
  • 355
0 votes
1 answer
91 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
175 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
34 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
56 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
74 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
91 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
  • 188
0 votes
1 answer
248 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
268 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
2 votes
6 answers
3k 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
255 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
264 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
666 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
92 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
295 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
106 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
  • 188
0 votes
0 answers
212 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
30 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
146 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
0 votes
2 answers
573 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
  • 11
1 vote
0 answers
108 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
  • 188

1
2 3 4 5
18