Questions tagged [coordinates]

Any of a set of two or more numbers used to determine the position of a point, line, curve, or plane in a space of a given dimension with respect to a system of lines or other fixed references.

Filter by
Sorted by
Tagged with
2
votes
2answers
98 views

Getting coordinates of individual polygon in shapefile

I just started working with shapefiles. I need to take polygon # 93 (Sea of ​​Japan) in a large shapefile and build a sea map in bokeh Python. How do I refer to a specific polygon in a shapefile? ...
0
votes
0answers
14 views

How to set extent of map for list of coordinates using ArcGIS JavaScript API

I am trying to set the extent for my ArcGIS map using the JavaScript API built in. Here's my code: const [Extent] = await loadModules(["esri/geometry/Extent"]); ...
-1
votes
0answers
37 views

Convert KML path to CSV with coordinates that can be edited in CSV and be imported back in QGIS [closed]

I have KML paths (link attached) that require bulk edits within CSV format. I need to convert these paths into a CSV file with coordinates, so I can edit and import them back into QGIS. Basically I ...
0
votes
0answers
57 views

Converting Excel sheet of coordinates into multiple individual shapefiles

I have a CSV file with coordinates in the CRS form and want to convert each set of coordinates into a standalone shapefile (ideally with QGIS software). So far, all instructions online seem to be ...
0
votes
1answer
33 views

Convert CSV XY coordinates to different spatial reference system

I have a CSV containing the eircodes of Ireland (over 1 million records) and their coordinates which are in Irish Transverse Mercator (ITM) Easting and Northing. 717387.8 748192.3 I am trying to ...
0
votes
0answers
16 views

Looking for exact geocoordinates and/or zip code of location of nearest hub identified with "Distance to nearest hub"

I used the "Distance to nearest hub (line to hub)" tool from the QGIS processing toolbox to determine the distance between over 8.000 polygon centroids and a line layer. That worked ...
0
votes
0answers
18 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=...
2
votes
3answers
206 views

Converting polygon to list of coordinates with shapely

I received a code, that expects a list of coordinates such as this as input area_polygon = [{'lat': 46.037286, 'lng': 14.471329}, {'lat': 46.036733, 'lng': 14.467378}, {...
1
vote
1answer
28 views

Inaccurate results when converting coordinates from shapefile(dynamic projection system file) to EPSG:3857 using geotools

I have created a functionality where I get the geometry data from the shapefile and display it on the map and table structure. Here there is no restriction like that only some specific files can ...
0
votes
2answers
62 views

Creating polygon bounds by using CSV input in QGIS

I want to create a ABCD-rectangle in QGIS using the coordinates for AB, BC,CD, DA in format (x,y) each. What is the procedure to do this? Also is there any special formatting required for the CSV?
6
votes
1answer
125 views

Could this be any other geographic coordinate system than DMS?

I got given these coordinates for a point at Erdington Rugby Club, Birmingham. However, when I type them into Google Maps I get an error message and when I convert them from DMS or DDM to DD I end up ...
1
vote
0answers
10 views

Autogenerating waypoints to GPX file with QGIS to find coordinates along route

Edit: I was able to figure out how to get the waypoints, I now need help with getting the coordinates for those waypoints in a CSV or JSON format. I am trying to get geo coordinates for every 0.1 km ...
0
votes
0answers
20 views

Adding points to layer

The problem I try to solve is next: I need to create 5x5m square and I have south-west corner coordinate point taken in the field. How do I compute other three square corner coordinates using SW point ...
0
votes
1answer
53 views

Compute East-West or North-South orientation of polylines (sf linestring) in R

I have a shapefile of road segments, which I want to segregate as East-West and North-South when viewing on Leaflet. The repex for the sf object is as follows: dfr_sf <- structure(list(ID = c(1236,...
1
vote
2answers
58 views

How do you flip/invert/reverse the order of the coordinates of shapely geometries?

Is there a generic way to flip/invert/reverse the order of the coordinates of a shapely geometry? Here are a couple of examples of what I mean. Example 1 Input: LINESTRING (0 0, 1 1, 3 1, -3 3) Output:...
1
vote
0answers
25 views

How does the expression look like to sort route segments of multiple routes using start and end coordinates of segments in qgis?

I do have a line layer containing multiple route segments. Having a route_id (string type; for example A101-1, B207, ...) as attribute for each segments tells me to which route the segment belongs. ...
0
votes
0answers
25 views

Converting shapefile to raster and extracting coordinates of each pixel

I currently have an EPSG:4326 - WGS 84 MultiPolygon shape in QGIS. I need to make a path planning tool to cross the lake above. In which case I need to convert this shapefile into a raster (from ...
1
vote
1answer
150 views

Identifying coordinate system from dataset (without using GIS software)

I've got a CSV file which I downloaded from a Waka Kotahi open data website. The file has got X,Y coordinates of locations. I am using that file in Python to generate markers in Folium. I don't have ...
1
vote
1answer
37 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,...
0
votes
0answers
17 views

Cursor coordinates in ArcGIS Online

I use the coordinate widget in ArcGIS Online. I then get the coordinates when clicking in the map. Is it possible to get the coordinates "real-time" when moving the cursor?
2
votes
1answer
97 views

How to copy coordinates from a .tif that has coordinates to a .tif that does not have coordinates?

So I have done some RGB-channel extraction from a .tif file, meaning I took UAV_image.tif and I have extracted R,G,B channels on three different .tif files. Next, I did some calculations such as ...
-1
votes
1answer
64 views

Circle with direction pointer in Leaflet

I am new to Leaflet and I am using leaflet 1.7.1. My need is to put some custom markers on map. I am currently using circles (as in: L.circle([lat, lon], {radius: rad}).addTo(map);) as markers (note ...
1
vote
0answers
35 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) ...
1
vote
3answers
63 views

Output point feature created with ModelBuilder (ArcGIS Pro) doesn't display on map

I have been tasked with creating a model on ArcGIS Pro that allows you to create a point feature and input XY coordinates (British National Grid) from ModelBuilder. Please note I don't want to use a ....
2
votes
0answers
58 views

Listing lat/long coordinates of every point inside polygon or shapefile using QGIS

This is likely a beginner question but I've seen numerous posts on how to export the boundaries of a polygon as coordinates, but none on exporting the area of a polygon as coordinates. I am ultimately ...
4
votes
2answers
84 views

Drawing lines between pair of two points with their coordinates in QGIS

I'm using QGIS 3.18. For my thesis I use coordinates of starting points and destination points. So far I uploaded these coordinates into my project which worked without any problems. The CSV-file ...
1
vote
1answer
35 views

"Resize" arbitrary coordinates (inches) to EPSG46

I'm using ogr2ogr to transform an AutoCAD (DXF) file to GeoJSON. The GeoJSON file is generated, but with very large coordinates, for example "coordinates": [ [ [ 6319.645968701713173, 9523....
0
votes
1answer
53 views

Visualizing CSV with multiple coordinates per one ID in QGIS

I have spatial data detailing with the locations of survey respondents living in over the last 15 years. I need to display how each respondent moved over time. Each row in the attribute table of the ...
1
vote
1answer
52 views

Applying correction value to shapefile due to older handheld GPS error in QGIS

I didn't realise that a limitation of an older handheld GPS may be that it would always be off target. After uploading polygon coordinates for a number of areas, I realised that the polygons were ...
0
votes
1answer
66 views

Finding corner start point on map with compass headings

I'm searching for an actual corner point of a piece of property on a map surveyed by the bureau of land management. The corner has headings of N60° 09'E by S29° 26'E How do I convert this point to ...
0
votes
1answer
22 views

Coordinates not being labelled in ArcMap

I am working on a basemap by plotting GPS coordinates taken during a field survey onto a basemap in ArcMap. I imported coordinates from Excel in CSV format and the points have been plotted correctly. ...
1
vote
1answer
56 views

Using coordinates from mouse click for QgsPointXY when creating point using PyQGIS

I can not figure out how to input the coordinates through a mouse click instead of the code below. I am trying to create a temporary layer of a point from a mouse click. Everything seems to work ...
0
votes
0answers
19 views

What is the accuracy of DMS coordinates that don't contain any seconds [duplicate]

For example, if I have coordinates for latitude 50°52'N, about how accurate are these coordinates? Within 10 km? 100 km? All the information I'm seeing is about decimal degrees, and I could convert ...
1
vote
1answer
47 views

Get the coordinate values from Map.Onclick in Google Earth Engine

I want to calculate a min cost path from a start point to a end point. Because the GEE has not provide the function, I have to code it by myself. The first step is to get the start and end point from ...
1
vote
0answers
35 views

Finding local EPSG code for WGS84 coordinates offline

My task is convert WGS84 latitude/longitude coords to local Russian coords system and back. I found that there are several EPSG codes for local systems 28400:28430 (mb even more). There are several ...
12
votes
2answers
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 ...
1
vote
0answers
323 views

AttributeError: type object 'object' has no attribute '__getattr__'

I have made a PyQt application where I load UAV images and I display the coordinates (lat, long) according to where the mouse pointer shows. I use this code: Converting a pixel coordinate in GeoTIFF ...
2
votes
1answer
41 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 ...
0
votes
0answers
55 views

ogr2ogr in QGIS v3.8 vs. v3.20 - swapped coordinates from swissgrid to WGS84 when import to MariaDB 10.4.19-

I have a shapefile to be imported to db. in QGIS 3.8 the following worked: ogr2ogr -f ....... -t_srs "+proj=latlong +datum=WGS84 +axis=neu +wktext" but with the latest QGIS 3.20 coordinates ...
1
vote
1answer
60 views

QGIS: How to export Coordinates of Polylines of a Layer (containing several Features) into single CSV-files?

Assumed we have some shapefiles imported into QGIS. Each shapefile consists of several features, in this case these are partly connected fragments of polylines (= streets with nodes). Now I want to ...
0
votes
0answers
45 views

Using x,y coordinates and a value gathered in an Excel file, set these values in a raster with Python and GDAL

I have an Excel file with X, Y coordinates and one Altitude value for each coordinate. I have already gathered these values in a Python dict. Altitude, Lat, Long (see image) Also, I have a raster ...
1
vote
0answers
20 views

How can I go from a SVG file to a Polygon string with ID table in Python? [closed]

I would like to translate my SVG file (objects) into polygons. The result I would like to obtain is a table with a column of IDs and another column with the Polygons in it (string). I would like to ...
4
votes
2answers
114 views

Drawing line between two points from another CSV in QGIS [closed]

I have two large CSV files, one that defines the location of each point as: point lat lon attribute 1 And another that has data on what lines exist between them point A point B attribute 2 ...
1
vote
2answers
47 views

Export Lat long of Line/Polyline in QGIS with start to end [duplicate]

I have a polyline layer in QGIS, and I am trying to get the list of lat longs of each of the vertices and their path. As you can see from the image below, I have tried the steps mentioned in this ...
3
votes
1answer
52 views

Is there a difference in transformations betweeen pyproj 2.6.1post1 and 3.0.0?

I've got the following Python Script: from pyproj import Transformer, transform transformer = Transformer.from_crs(31468, 25832, always_xy=True) x_coords = 4359995 y_coords = 5295525 transformer....
1
vote
2answers
94 views

Different representations of decimal coordinates out there - how to unify?

I have discovered that there seem to be two different versions of decimal coordinate representations in use out there. Let's show an example: In QGIS the city of Vienna (Austria) is displayed as ...
3
votes
1answer
71 views

How to export Coordinates when clicking on Points?

Assumed I click around on a map, while I need to export the coordinates of the points where I have clicked into a simple text file. In best case, writing into the text file should be performed ...
0
votes
0answers
17 views

Extracting elevation data from DEM with Python [duplicate]

I have downloaded a DEM model for a given region. I use rasterio like this: import rasterio dem_path = 'path_to_dem.TIF' list_of_points = ((42.136097, 24.742168),) def get_offline_elevation(...
2
votes
1answer
29 views

Scaling a soil profile Raster to georeference and vectorize Raster data

I have pictures of root patterns, where each root is marked by a point. We worked on soil profile walls, so there is no coordinate system to use as a basemap. I loaded it to QGIS and classified it ...
0
votes
0answers
24 views

Converting coordinate systems in MySQL

I have one table with shapes using ESPG 4326 as the coordinate system and another using ESPG 3857. I'd like to be able to convert the ESPG 4326 table to ESPG 3857 with an SQL query but I'm unsure of ...

1
2 3 4 5
29