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
votes
0answers
23 views

Converting utm2deg code from MATLAB to R

I have this code in MATLAB to convert UTM to lat_long: [lat, lon] = utm2deg(xc, yc, repmat('19 N', size(xc,1), 1)). The general format of the MATLAB code is utm2deg(x,y,utmzone). I have downloaded a ...
0
votes
2answers
24 views

QGIS: Custom formatting coordinate grid to reduce number of decimals

I am making a coordinate grid system of a map I have made, but now I would like to reduce the number of decimals of the seconds (of the latitude and longitude). So instead of 36°54'0.000"E -> ...
0
votes
0answers
33 views

Conversion to longitude/latitude

I am very new to GIS. I wanted to find out if it is possible to convert coordinates as specified in the table below to longitude and latitude c
0
votes
0answers
18 views

Haversine formula on rotated poles sphere

I'm working with climate data from the CORDEX domain WAS-22. The data are on rotated poles grid defined as: char rotated_pole; :long_name = "coordinates of the rotated North Pole"; :...
1
vote
2answers
33 views

Exchange of coordinates in GeoPandas

I was plotting some points with the plot function in GeoPandas. I realized that when I plotted using Point.lat, Point.long, the points didn't fall at the right place but when I exchanged the ...
-1
votes
0answers
24 views

Getting instant latitude and longitude every 5 seconds for a Taxi app

We are developing an application for taxis in Laravel. Uber-like application. According to our plans, we need to get the location of each taxi every 5 seconds. We need to save this in the database. ...
0
votes
1answer
35 views

How to separate one column with latitude and longitude into two columns. Lat/long are not separated by anything

I'm a GIS novice. I have a CSV file that contains the latitude and longitude data for a small region in the northeast U.S. The data appear in one column appearing as one uninterrupted string of text ...
0
votes
3answers
67 views

List of extreme latitudes and longitudes for each US state?

I need a list of extreme latitudes and longitudes for each US state. That is, max / min latitude, max / min longitude. The purpose is to exactly center each state map when initially shown. I found ...
0
votes
0answers
17 views

Plotting polygon on map with length of sides known and lat lng known only for two vertices and no angles known

I have an image(a polygon), generated by survey department from a field survey. I know the lat lng of two vertices and the length of all sides.I do not know the size of the angles.(Using a protractor ...
0
votes
0answers
61 views

Seeking formula for Distance Calculation on Mars

I have a database of craters on Mars in decimal latitude and longitude. The latitude ranges from about -90 to 90 and the longitude from -180 to 180 which feels right to me. Is there a formula to ...
0
votes
0answers
45 views

PostGIS latitude/longitude vs longitude/latitude confusion

I have been importing polygon data on PostGIS but started to wonder if I had input latitude/longitude in the right order. On PostGIS doc there is a page https://postgis.net/2013/08/18/tip_lon_lat/ ...
0
votes
0answers
18 views

Converting polygon coordinates relative to tile to world lat lon

So I have this geojson: {"type":"FeatureCollection","features":[{"type":"Feature","properties":{},"geometry":{"type":&...
0
votes
0answers
14 views

Getting pixel values from lat/long values using ENVI

I am using ENVI software to process satellite image. I have two images from two different satellites and I want to get the value of the same point in the two images. I got random points from the first ...
6
votes
2answers
2k views

What does “¢” mean in a coordinate?

I'm looking at coordinate pairs defining Australian maritime boundaries. From here. The coordinate pairs look like this: AUS-CS-24 14°05¢09.4168²S 156°38¢26.5411²E ITRF2000 AUS-CS-25 14°05¢16.2817²S ...
1
vote
1answer
51 views

Conversion of coordinates into degrees, minutes and seconds to decimal degrees

Within the framework of manual marker input (Adding GeoJSON properties when creating marker in Leaflet), I would like to propose the conversion of coordinates in degrees, minutes, and seconds to ...
2
votes
1answer
47 views

lat, lon in Google (static) Maps vs Google map with globe view

I am trying to find latitude and longitude of some visual feature using Google map and I found that switching between globe view and flat (not globe) view (like in Google static maps) changes the ...
3
votes
1answer
47 views

Drawing line from variable number of points stored in two lists

I have two Python list latitude and longitude which stores the coordinates, and I want to draw a single line from the list coordinates. I can draw the line if I know the number of latitude/longitude. #...
3
votes
1answer
48 views

Projection and transform lat,long coordinates in geo in OpenLayers

I am working on a project that from the ads-b data puts on the OpenLayers map the position of the intercepted planes .... I encounter 2 problems: The coordinates are in latitude and longitude and ...
1
vote
1answer
75 views

Getting scipy.cKDTree to return everything with a given meter radius

I want to find everything within a 0.1 meter radius. I'm confused on exactly how query_ball_point is getting distance. I'm using decimal degree coordinates when creating the cKDTree, ie. [(-73....
2
votes
2answers
96 views

Convert coordinates from degree unit to meters unit

I have a CSV file including some coordinates in degrees. I need to have these coordinates in the meter unit. I tried to add it as a shapefile in QGIS, then I saved the features and set a projected CRS....
0
votes
0answers
24 views

How to find the furthest coordinates on a polygon in a given direction

My task is to generate a box that maps over the existing polygon, which I’ll call the level. What I’m doing is mapping buildings with geojson, which does so by using a set of lat/long coordinates as ...
1
vote
1answer
78 views

Getting a count of points in a multipolygon?

I have a set of lottery retail locations, latitude and longitude, that I transformed to points and added the geometry column like this: ALTER TABLE lottery.retailers ADD COLUMN geom geometry(Point, ...
0
votes
1answer
36 views

Three different distance values, which one should I use?

I'm implementing a script that (ideally) has a threshold of <1 meter. However, I have three different distances being pulled from these points that differ by multiple meters. I was wondering which ...
0
votes
1answer
25 views

Geometry geografic transformation with OGR, OSR - UTM to Degree

I am trying make a geotransformation from UTM coordinates to decimal degree coordinates, but i have only zeros as result... I must be missing something, i already take a lock on other users codes but ...
0
votes
0answers
19 views

Plot statistics of a raster dataset by latitude in GEE?

How can I plot some statistics of a raster by latitude (see bottom picture) in GEE? Some pictures of a paper are attracting, so I want to know how to reproduce this in GEE or ArcGIS or QGIS or some ...
3
votes
3answers
343 views

Converting x,y coordinates (EPSG:102002) to latitude,longitude (EPSG:4326) [duplicate]

I have ranges of x and y coordinates in EPSG:102002 GRS 80 that I need to convert into EPSG:4326 WGS 84. I have tried different suggestions here and here but nothing has worked so far. I find myself ...
8
votes
1answer
463 views

Why does the same UTM northing give different values when converted to latitude?

I'm converting two coordinates from UTM to latitude/longitude. The coordinates are: Easting: 657787 Northing: 7795664 and Easting: 658144 Northing: 7795664 Both from zone 23S (EPSG:31998) or 23K (...
0
votes
1answer
43 views

Distance between two latitudes and two longitudes [closed]

I would like to know what is the distance in km between two longitudes and two latitudes. For example, at the same latitude, what is the distance, in km, between longitude x and longitude x+1 (where x ...
1
vote
0answers
55 views

Determine if a great circle is on the left or right from a point defined by latitude, longitude and bearing

Given A point coordinate on the map specified by latitude and longitude. Shown as "C" on pictures below. Direction where this point is moving, specified by bearing in degrees (0-359), where ...
-3
votes
1answer
50 views

Is there an Excel, Stata, MATLAB, R or Python program or online website that converts geo-coordinates to distance at large scale? [closed]

I have the geo-coordinates (latitude and longitude) for more than 1000 counties (in Excel) in the US, and I want to know their distances to a particular county with known geo-coordinate. Is there an ...
2
votes
1answer
81 views

Lat/Long data to shapefile with many values in CSV dataset

I have my polygon spatial data in a format of CSV with the column of lat/long delimited by comma. Is there any way to upload this csv and got polygon shapefiles (or any other visualisable format)? My ...
2
votes
0answers
25 views

How to calculate coordinate of a selected points in QGIS?

How to calculate coordinate of a selected points in QGIS? Not just x, y, I need like this: X = 77° 1' 5.032" E Y = 28° 38' 58.034" N. Refer the attached image the (x,y,z) columns coordinate ...
4
votes
1answer
158 views

lat, lng to lng, lat in polygon WKT - axis flip

I have a sheet with the column with polygon information in WKT format. However, the data taken are from web mapping (OSM or google maps) and in the order of lat, lng. When I am using the solution from ...
-6
votes
1answer
259 views

What are “degrees” in SRID 4326 and why can't they use meters? [closed]

I want to return all the houses for sale within 500 meters from my own house. I have this query: SELECT * FROM houses_for_sale WHERE postgis.ST_DWithin(coordinates, $1, 500); It returns houses ...
1
vote
1answer
56 views

Getting latitude and longitude of lines in attribute table using PyQGIS

I have a road network in form of lines. I retreived the Lat/Long using field calculter in QGIS. The method I used was: long: x(centroid($geometry)), for lat y(centroid($geometry)) However, i want to ...
0
votes
0answers
18 views

How to transpose coordinates in Mapbox (either manually or programmatically)?

So I have a route going from California to India, and it looks like this currently. The arc is currently going to the left, but I want it to go to the right (over Africa). Can I add a value to the ...
0
votes
0answers
29 views

Converting polygon with latitude and longitude to x y plane

I have a polygon (shape of a building) containing coordinates as latitude and longitude. I need to convert them into an x-y plane. I have used various methods such as: const R = 6.371; const x = R * ...
0
votes
1answer
52 views

Kilometer to degree and back

I used the following code from this github repo I know it take a point coodinates and return area of 10 sequare Km around it by transforming Km to degree, but I need to make this area to 5 sequare Km ...
1
vote
0answers
18 views

Drawing appropriately coordinate grids [duplicate]

I am having an issue while trying to show the coordinates in the print layout in QGIS. While the coordinate format is in decimal and suffix, it is ok. I need the format in degree, minutes, and suffix....
0
votes
1answer
128 views

Extracting lat lon of points from list of postal codes

I have scraped a list of postal codes for which I want to extract (lat, lon) data. extracted postal codes In Postal Codes Germany, I was able to extract lat lon for the postal code by is there a way ...
3
votes
2answers
219 views

Getting latitude / longitude in the QGIS Raster Calculator

I have raster files in the good and old EPSG:4326 (WGS-84) and I would like to create two other raster files with the exact same extent and resolution of it, but with the first raster having the the ...
1
vote
0answers
252 views

What is the minimum / maximum of longitude / latitude? [closed]

I'm currently writing code which checks if coordinates are proper. I'm basically asking which check I need to do: For longitude: A: -180 <= LONGITUDE <= 180 B: -180 <= LONGITUDE < 180 C: -...
0
votes
0answers
60 views

Converting latitude, longitude to image coordinates

I have a 2D image and I know a given pixel in the image corresponds to a particular latitude longitude (so basically a reference point). The image I have is a camera image of an outdoor scene and I ...
0
votes
1answer
35 views

Zipcode shape database as lat/long data

I would like to be able to have the Lat/Longs of each zipcode in the United States so that they can be mapped out as polygon shapes I have used https://github.com/OpenDataDE/State-zip-code-GeoJSON in ...
1
vote
1answer
22 views

Assign NTA's to lat longs using R?

I have lat longs and want R to return a column of the neighborhood tabulation area for each point; lat long NTA 40.79127 -73.96484 Morningside Heights 40.72622 -73....
7
votes
2answers
178 views

Transform 1860s Australian (English?) map coordinates to modern ones

I hope this is the right place. I found an 1862 reference to a very specific land location, not from where I live in Melbourne, Australia. However, when I entered the latitude and longitude into ...
1
vote
0answers
51 views

Change of latitude and longitude when rotating around an Euler pole

Suppose we have a point P on the surface of the Earth characterized by its latitude and longitude. There is an Euler pole given together with an angle of rotation around the axis associated with this ...
1
vote
1answer
170 views

Stat_density_2d density plot seem to show too high density values for a small dataset

I'm working with a two-column data.frame with the columns containing x and y coordinates (Longitude, Latitude). A simple way to visualize a density map is by using the 'stat_density_2d' function. When ...
-3
votes
2answers
91 views

Concept behind longitudes

Why longitudes are not parallel and why do they meet at the poles? What problem would have happened if like latitudes they were parallel circles running from west to east? I would request the ...
0
votes
1answer
51 views

Converting lat long coordinates to shapefile x y values

I'm trying to figure out where a given latitude, longitude coordinate should appear on a particular shape file. The shape file was generated by the US government and I doubt it has any peculiar ...

1
2 3 4 5
16