Questions tagged [xy]

A pair of values that represents the distance from an origin (0,0) along two axes, a horizontal axis (x), and a vertical axis (y).

Filter by
Sorted by
Tagged with
0 votes
1 answer
48 views

Inaccuracy using field calculator to get coordinates of a point layer [closed]

When using the $x and $y commands in the field calculator to get coordinates of features in a point layer, the coordinates I get are different than if I point the feature with my cursor. The deviation ...
1 vote
2 answers
347 views

Extracting values from soilgrid layers for xy coordinates in QGIS

I want to extract soil values for a list of x and y coordinates from Soilgrids layers in QGIS. I loaded some layers through the browser (WMS) as a test, and then selected the specific layer (e.g. Soil ...
0 votes
1 answer
209 views

Go To XY not working on one map but works on other maps using ArcGIS Pro

I'm not sure what I did to cause this issue as it worked previously. When I attempt to use the "go to XY" feature on ArcGIS Pro v. 2.9.3 it seems to work fine when I try on a new map ...
0 votes
1 answer
459 views

Creating one single coverage polygon feature class from XY point data?

I'm using ArcMap 10.2, and I need to map areas covered by London postcodes (E1 0xx, E1 1xx, E1 2xx, and so on). What I have is the coordinates for every single postcode (310,000 in total) in an Excel ...
3 votes
1 answer
5k views

Adding easting and northing points in ArcGIS

I am trying to add coordinates into ArcGIS 10.6.1. Below are the Northing and Easting I have been given. I have added these Northing and Eastings into an Excel sheet and saved them as a CSV File (The ...
0 votes
3 answers
3k views

ArcMap says there is no Object-ID field, but there is, even after exporting data as shapefile

Starting just a day or two ago, I have been running into the same issue every time I try to Display XY coordinates from a .csv file. When I add a .csv file, Display XY Data, I get an error that there ...
5 votes
2 answers
5k views

Exporting x,y coordinates as latitude,longitude in QGIS

I have a shapefile and I loaded it into QGIS using 'Add vector layer'. After that, I can see points in different positions. I open the Attribute table and I can see columns "X" and "Y&...
6 votes
3 answers
27k views

Adding x,y coordinates to Attribute table in QGIS

If I use the 'Add coordinates to point' it adds the coordinates to in the file, however splits the data into the amount of objects in the original file. If I try to add separate columns in the ...
1 vote
2 answers
593 views

Loading SQL X/Y Table into QGIS

I'm new to QGIS (moving from ESRI). I'm wanting to use an SQL table that has X and Y coordinate columns for viewing in QGIS as a layer. I've created and tested the ODBC connection to the database ok ...
5 votes
1 answer
3k views

Extracting x,y coordinates from QgsGeometry: Point(x, y) using PyQGIS

I'm trying to extract the coordinates of a feature vertex. When I write on my editor print(vertex) what I get is <QgsGeometry: Point(58746.43000004297, -256665.088999123)> But when I try to ...
0 votes
0 answers
57 views

How to extract the Lat and Long coordinates used to create the boundaries of polygons in a shapefile using QGIS

I have a shapefile that contains 10 polygons that represent 10 legal fishery management zones. I would like to extract the latitude and longitudinal data points used to create each polygon so that I ...
2 votes
1 answer
274 views

XY coordinates efficient way to copy

I get XY coordinates of point features delivered to me in PDF format, this means that to bring them into ArcGIS I manually have to enter them first into an excel spreadsheet. Is it possible to copy ...
0 votes
0 answers
50 views

Combining bounding box with xy coordinates in R

I am just beginning a side project to start learning something about spatial analysis using data from match play events in a particular sport. I have some xy coordinates of shots taken at goal and in ...
3 votes
1 answer
242 views

Adding vectors (segments) connecting pairs of points from CSV file in QGIS [duplicate]

a) Given: In QGIS 3.28 I have two sets of points: Points M and Points N (See embedded image), given by their coordinates in a CSV file. b) Required: A set of vectors (or segments) connecting the pairs ...
1 vote
1 answer
194 views

Show updated xy coordinates 'live'?

I want to create add-in tool to show x y coordinate on status bar live. protected override void OnMouseMove(ESRI.ArcGIS.Desktop.AddIns.Tool.MouseEventArgs arg) { //this.Enabled = !...
16 votes
2 answers
5k views

Difference between QgsPoint, QgsPointXY and QgsGeometry.fromPointXY() in PyQGIS

I am using PyQGIS. What is the difference between: QgsGeometry.fromPointXY(QgsPointXY(x, y)) QgsPointXY(x, y) QgsPoint(x, y) When I print these three options, I get: print(QgsGeometry.fromPointXY(...
0 votes
0 answers
35 views

How is Esri online course data spatially referenced without xy coordinates

I have completed ESRI's online course, Mapping Racial Disparities in Breast Cancer Mortality Rates Using ArcGIS Pro, which analyzed the disparities between black and white women by county. Here is ...
1 vote
0 answers
27 views

Allow duplicate lines in XY to Lines using ArcGIS Pro

I am a complete beginner with ArcGIS Pro. I have a table of people, each with year, workplace and birthplace coordinates. I'd like to visualize a connection between birth and workplace with time ...
2 votes
1 answer
961 views

Automatically generating coordinates of new points features and adding them to feature table in QGIS

I need to add point coordinates into table ("xcoor" field and "ycoor" field). I knew this could be done using the Field Calculator. First I created a new field "xcoor" ...
0 votes
0 answers
26 views

How to create a points layer without XY cordinates in my attribute table

I have tried a few methods. I loaded a table and tried to join it with "add join" using the object ID as the the common attribute, but it did not join the table the way I planned. I ...
2 votes
2 answers
4k views

Move points to XY coordinate

I have a lot of points. In the attribute table I have the coordinates(coordx / coordy). How can I move all points, so that they are corresponding to the coordinates value in the attribute table?
5 votes
4 answers
331 views

Importing points from CSV file with NaN as vertical separator in QGIS

I am importing a CSV file with the coordinates of several points forming some kind of circle structure. The different circles are separated in the file table with one line of NaN, NaN. When I import ...
0 votes
0 answers
1k views

Correct format for Easting/Northing in Go To XY tool in ArcGIS Pro

I am trying to create a point in ArcGIS Pro based on Easting and Northing coordinates that I obtain from an online map viewer. The online map viewer only has the Easting and Northing and does not have ...
6 votes
1 answer
2k 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 ...
20 votes
4 answers
144k views

Converting x,y coordinates to longitude,latitude using QGIS

I'm working with this downloadable shapefile that has X Y coordinates. They are akin to '3672187.92698000, 534175.72095400'. I would like to convert them to longitude latitude so they are more like '-...
5 votes
1 answer
96 views

Converting coordinates from cartesian to geodetic in QGIS

I have a problem with my layer attributes in QGIS, every time I add $x and $y coordinates as attributes, they are always returned to me in meters, while I would need this data expressed in degrees. I ...
5 votes
2 answers
19k views

Go To XY not working in ArcMap

I found a new problem after installing ArcMap 10.3.1 in my laptop. When I clicked Go To XY, the toolbar (below) is not shown. When I clicked Go to XY, nothing happened. How do I solve my problem?
1 vote
1 answer
714 views

Converting XY coordinates to lat, lon in the Iberian peninsula

I have been looking for a way to convert XY coordinates (from a coordinate system based on ETRS89) to latitude and longitude coordinates. So far I have this function: from pyproj import Proj, ...
1 vote
1 answer
409 views

Looking for QGIS equivalent of ArcGIS "Go to XY" tool

I am wondering if there is a way to quickly add coordinates on the map as a callout (without the need of creating a shapefile). For example, ArcMap has a nice feature (Go to XY) where you can simple ...
0 votes
1 answer
62 views

Displaying XY data incorrectly

I received the following coordinates for a project in Peru. I have used the correct projection (PSAD 1956 UTM Zone 19S/ WKID 24879), which never shows up in the correct destination. They should be ...
3 votes
1 answer
705 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 ...
1 vote
1 answer
68 views

Excel table with X and Y values doesn't convert in point layer correctly

I have an Excel table with the X and Y values that I have added to QGIS 3.18. Y want to georeference this table in points, so I follow these steps: Process toolbox -> vector creation -> create ...
4 votes
2 answers
4k views

Extracting starting and ending points from geometry column in separate columns using GeoPandas

I have a line shapefile in GeoPandas. How can I extract the start and end coordinates as (x,y) pairs in two separate columns? import geopandas as gpd gdf = gpd.read_file(pth_line_shapefile) gdf['...
0 votes
1 answer
2k views

Longitude not appearing when selecting Display XY data from table using ArcGIS Pro

I am attempting to add the Latitude and Longitude from a large (6000 row) .csv file into an ArcGIS Pro map. Only the "Latitude" field is appearing, and Longitude is no where to be found. I ...
1 vote
2 answers
5k views

Converting X and Y coordinates Data to Latitude Longitude

I have a data file that contains locations of different places of Wilmington, North Carolina. The data file contains the X Coordinates, Y Coordinates, and Latitude. I want to calculate the Longitude ...
5 votes
2 answers
7k views

Getting XY coordinates and field values for each row in ArcPy SearchCursor [closed]

I am trying to enumerate each row of a points shapefile and get a certain field's value (elevation) and the xy coordinates. I see I can use: arcpy.SearchCursor to get the field; OR arcpy.da....
1 vote
1 answer
723 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 ...
0 votes
2 answers
2k 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 ...
3 votes
0 answers
735 views

Changing order in Coordinate field in QGIS

Can I change the order of how my coordinates will display on QGIS? I would like to display Latitude, longitude instead of longitude, Latitude
8 votes
3 answers
3k views

Updating feature geometry from attribute fields in QGIS

I know how to get the geometry (x,y) into Attribute fields with the Calculator, but I can't figure out how to update the geometry from values contained in attributes. I am trying Field Calculator > ...
3 votes
1 answer
169 views

Updating geometry field automatically from East and North fields in QGIS

I have a layer that contains a number of fields, two of which are "East" and "North". I would like to be able to set up the layer so I fill out the attribute form including ...
1 vote
1 answer
3k 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 ...
6 votes
1 answer
707 views

Generating x, y, coordinates within polygon/polyline with certain interval in QGIS

I need all the x- and y-coordinates with a interval of 500 meters that fit inside a polygon/polyline. For example I want to generate a CSV file that looks like this: x, y, 10000, 30000 10500, 30000 ...
3 votes
1 answer
1k views

Rounding decimal numbers in PostGIS [duplicate]

I have a 'cities' point layer. I want to compute a table with the coordinates of the geometries which works fine with that expression: select name, ST_X(geom) as x_coordinate, ST_Y(geom) ...
4 votes
1 answer
9k views

Making polygon from list of xy coordinates using Shapely

I am new to Python and am trying check if a set of points are inside a polygon using Shapely as I am not able to install GeoPandas (tried for over a week now and am tired of fighting with Anaconda). I ...
4 votes
3 answers
2k views

Adding XY coordinates (latitude/longitude) to DEM raster in ArcMap

I would like to add xy coordinates of about 10 sites to a raster. I am using ArcGIS 10.1 and my xy coordinates are on Access 2013 database - saved as .mdb. The steps I have taken so far: In ...
6 votes
1 answer
1k views

Scaling more than 1000 polygons in QGIS

I have more than 1000 polygons, but they do not have the correct size and location. I have a table with the correct coordinates (centroid) "x, y" and different scale factor for each polygon....
2 votes
1 answer
317 views

Why $x and $y gives some results NULL and other correct values for one point layer? (on one only table of attributes)

I created a point layer starting on lines (with revised geometries) and then tried to obtained the coordinates of several point layers created from the same procedure and also joined all the point ...
32 votes
8 answers
72k views

Returning lat and long of centroid point with GeoPandas

I would like to return the lat, lon or x, y from the point object in the following series as I plan to link them with an API I built that links OSM and NetworkX. The centroids will be added as new ...
1 vote
4 answers
3k views

What is format for coordinates of polygon in KML?

I have a KML file with a polygon as shown below: <Polygon> <tessellate>1</tessellate> <outerBoundaryIs> <LinearRing> <coordinates> ...