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
1 answer
20 views

Use Georeferencer GDAL plugin on QGIS to create a GeoTIFF if the latitude and longitude boundaries are known for a raster image

What I have/know: I know the latitude and longitude boundaries for an image I am using the EPSG:4326 projection QGIS with the Georeferencer GDAL Plugin Installed Is it possible to create the ...
0 votes
1 answer
31 views

Negative Easting while converting long/lat to UTM zone

I have a dataset of some points in python which have longitude and latitude for each of them. Because they are located in different UTM zones, when I want to convert them to UTM, I will get some ...
1 vote
0 answers
28 views

QGIS - Setting out a grid of points within a predefined area and giving them specific lat/long values

I'm basically re-learning GIS on the job, so forgive me for any inaccurate terminology or methodology etc. I will try to be as clear and concise as possible. I will be collecting the lat/long values ...
  • 11
0 votes
1 answer
26 views

How can I get the longitude and latitude of a specified pixel (e.g. equal to certain value) with Google Earth Engine?

I want to get the longitude and latitude of a specified pixel (e.g. equal to a certain value) using Google Earth Engine. In other words, I have used "ee.Reducer.min()" to get the minimum ...
1 vote
1 answer
60 views

Dividing a map into zones based on latitude

I'm new to QGIS and I'm trying to divide a map of the world based on latitude. The final result, I need a shapefile or a raster file where multiple zones are created based on latitudinal zones. Is ...
  • 29
0 votes
1 answer
49 views

Calculate UTM grid convergence using UTM coordinates

What would be the simplest way to arrive at a value for UTM grid convergence for a point given in UTM coordinates? All advice I can find requires that the point be given in latitude/longitude. For ...
  • 316
1 vote
0 answers
56 views

How to find the standard deviation in GPS measurement of latitude and longitude?

Let's say my GPS configuration is said to have a precision of 10 meters. I have taken this as the standard deviation in the GPS measurements. But the measurements that come from GPS are latitude, ...
1 vote
1 answer
36 views

Geotools unable to transform EPSG:5359 to EPSG:4326 , returns NAN for coordinates

I am using geotools to transform a set of point in chile EPSG:5359 to world EPSG:4326 I am using below code transform("6884327.77", "447076.76"); static Coordinate transform(...
1 vote
1 answer
45 views

Calculate poygon area in km2 from degrees to km2 in R

I found this but I think it is possible. I am trying to calculate the area in Km2 of a polygon given by the vertices in degrees: library(pracma) x= c(-40.03953, -44.24278, -40.90583, -35.55361) #those ...
0 votes
0 answers
25 views

From UTM to long/lat [duplicate]

I have a set of points expressed in the UTM zone 32N EPGS:32632 WGS84 and I would like to obtain long/lat expressed in -90/90 180/-180 degree. Is there a way to obtain it with Qgis? For instance:
  • 75
4 votes
1 answer
443 views

Creating square polygon around center of the point using Python

How do I create a square polygon using center of the point (lat/lon) 25 kilometers (KM) by sides? I am not looking for a radius i.e. buffer. Here I am creating edges of 25 KM from the center point ...
  • 143
1 vote
0 answers
40 views

What coordinate system uses three places for decimal minutes for longitude values?

I have data from a navigation unit that is reporting coordinates where the latitude is in a familiar decimal minutes format (e.g., 26° 14.12345’) that never has the number of places (I,e., the 14 in ...
0 votes
3 answers
143 views

Creating geometry from lat/lon column using Python

I used the code: import geopandas as gpd geom = gpd.points_from_xy(dat['lon'], dat['lat'], crs=4326) dat = gpd.GeoDataFrame(data=dat[['value']], geometry=geom) but I receive the error: CRSError: ...
0 votes
1 answer
82 views

Radius in nn2() in RANN package

I was trying to use the solution offered here to find all the location from df which are within the 70 km distance from my point of interest userLocation=c(6.9,55,2), but it does not work properly. ...
  • 115
2 votes
1 answer
40 views

How can I convert the GPS coordinate to find local geographic longitude, lambda?

Let's say I have a coordinate of 59.3536 N, 18.0578 E. How can I calculate lambda (local geographic longitude) from the given value to calculate solar time? ST = LT - 4 * (15deg - lambda) + ET where ...
0 votes
1 answer
29 views

QGIS Y-Axis grid repeating values

I've set up a grid on a map in print layout. The X-axis labels are working correctly but the y axis is repeating the results: The options selected are shown in the following two photos:
1 vote
1 answer
57 views

Understanding latitudes longitudes and angles

I am very new to geographic concepts. I already know and understand the concepts of latitude and longitude. What I am trying to find is the angle between two points having those points data. First I ...
0 votes
0 answers
16 views

Finding closest matching data between two 2D lat/lon arrays

Let's say I have two different lat/lon/data arrays with varying dimensions between the two sets of arrays. For example, lat1 has a spacing of 0.01 degrees of latitude, while lat2 has a varying spacing ...
2 votes
1 answer
36 views

Exporting random points inside polygon as coordinates with lat/lon in QGIS

I have created a points layer in QGIS using Vector > Research Tools > Random Points Inside Polygon. However, I would like to export the points as a GeoJSON file where each point has a coordinate ...
  • 225
3 votes
1 answer
159 views

Populating geom using lat/long or x/y

I'm having trouble populating a geometry (geom) column by using already existing columns (the data has an x, y, as well as lat, long columns) the 4 columns are in varchar. I have created the geometry ...
  • 31
1 vote
1 answer
45 views

Creating a spatial join for longitude/latitude data to areas on a base map

I have three different sets of data: The basemap (local authority wards), crime (recorded through longitude and latitude), population (recorded by local authority ward). I have already mapped the ...
  • 19
0 votes
1 answer
100 views

Find the distances between stores with Lat/Long Coordinates in Python

I have a SQL query that pulls the Lat/Long values of all stores. How do I find the distances between all stores in the column that is returned from the query? Is that even possible? First, I imported ...
0 votes
0 answers
82 views

How is the XY error (m) for GCPs/checkpoints in Agisoft Metashape calculated?

I have a project in Metashape where I am using 8 GCPs and 1 checkpoint. The selected coordinate when importing GCP survey is WGS84 (EPSG::4326). My school advisor, who is a GIS expert, but has limited ...
5 votes
2 answers
266 views

Calculate raster cell area as function of latitude?

Raster used available here: https://www.dropbox.com/s/xn7hdll2op5zcc9/MAP_global.tif?dl=0. INTRODUCTION: The resolution of a raster is commonly related in degrees, e.g.: library(raster) r <- ...
0 votes
1 answer
54 views

Latitude represented as a Matrix

I have some NetCDF data where I have a few variables lat : dimensions - (x,y) lon : dimensions - (x,y) x : dimensions - (x,) y : dimensions - (y,) temp : dimensions - (year, y, x) I am struggling a ...
0 votes
2 answers
351 views

Create grid with equal spacings R from specific latitude and longitude

I would like to create a grid of 8 points with lat lons (2 x 4) each 200m apart using a specific point as the start, e.g., top left of the grid. My starting point is Latitude 51.83985301, Longitude 0....
0 votes
1 answer
48 views

Missing address in OSM file

I downloaded a part of germany .osm file from geofabrik and extracted all ways and nodes whose tag contains addr-key using osmfilter: osmfilter.exe hessen-latest.osm --keep=addr:*=* --drop-relations --...
  • 1
0 votes
1 answer
162 views

SQL Server: Coordinate conversion from NZTM to WGS84

I got a table that has shape value in one of the columns. I am converting shape value into geo_json formate and calculating centroid value and saving in two columns. The coordinate system of shape ...
1 vote
2 answers
135 views

Problem with cartopy when a shapefile as lon > 180

I am trying to make a figure using a shapefile and cartopy. When longitudes are in the range [-180,180] everything is working fine When longitudes are in the range [0, 360] the shapefile is not ...
1 vote
1 answer
48 views

PostGIS: given two points and the max distance in meters find if the two points are within that distance

Given latitude and longitide of two points I have to find if them are withing a given max distance in meter, I found this function: https://postgis.net/docs/ST_DWithin.html and I am using it in this ...
  • 113
0 votes
1 answer
79 views

QGIS coordinate system in meters

I am new to working on spatial data. Someone sent me a series of coordinates x,y in meters of particular locations in London. Here is an example: X (m) Y (m) 534849 177512 The person was able to ...
  • 161
0 votes
0 answers
21 views

Given the lat long of the centre of a rectangle, how do you get the lat long of the bottom left corner of the rectangle [duplicate]

I have the latitude and longitude of a point. This point is in the centre of a rectangle that is 2miles wide and 8 miles long. The rectangle has an azimuth (angle from north) of 35degs. How do I get ...
  • 1
1 vote
0 answers
91 views

Calculating diagonal end coordinates in latitudes and longitudes, if midpoint coordinates and distance is known, using ArcGIS Pro

I am using ArcGIS Pro. I want the coordinates of top left end and bottom right end of a diagonal of a square, and I know the mid point of the line joining them and the length of side of the square ...
1 vote
0 answers
188 views

Executing minimum distance between random samples in python

Right now, my code finds random points within an area and appends them to a variable that I can export as a file. Next, I want to make sure that no two points are within 100 meters of each other. I've ...
  • 157
1 vote
0 answers
41 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 ...
1 vote
0 answers
213 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 vote
0 answers
97 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
141 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
487 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
332 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
283 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 ...
  • 125
1 vote
1 answer
323 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
308 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
26 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....
  • 119
1 vote
1 answer
123 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
16 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
69 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
108 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
143 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
168 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
2 3 4 5
19