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

Sensor Orientation (XYZF) to Lat/Long? triangulation required?

I have IAGA2002 data regarding Magnetic North, as read from Sensor Orientation (XYZF), documented here: https://www.ngdc.noaa.gov/IAGA/vdat/IAGA2002/iaga2002format.html Example data is: Format ...
3
votes
2answers
27k views

How to calculate Distance, Azimuth and Dip from two XYZ coordinates

I have two XYZ coordinates and I would like to calculate the Distance, Azimuth and Dip between them. I have come across a similar question on this site that calculates it the other way around (with ...
6
votes
1answer
14k views

Calculating View Angle?

I am looking for the most accurate way of calculating the view angle (Azimuth, Elevation) from a reference point (my location) A to another point B. I have the Lat, Lon, and Altitude for each point. ...
0
votes
0answers
12 views

Retrieving which Polygon contains a point

I am using the ArcGIS Online and have a layer within a map. Within the layer I have several polygons. When I load the map via the com.esri.arcgisruntime library, I was able to load the polygons as ...
6
votes
5answers
6k views

Converting csv to kml/geojson using ogr2ogr or equivalent command line tools? [duplicate]

I've just unsuccessfully tried to use ogr2ogr to convert CSV into KML like so: ogr2ogr -f "KML" output.kml input.csv The csv has "latitude" and "longitude" columns. The attributes are all loaded ...
2
votes
1answer
58 views

Entering coordinates in QGIS? [closed]

I am trying to import coordinates in QGIS but they only appear as single line in the delimited text file. What am I doing wrong?
0
votes
0answers
19 views

Adding XY coordinates for Polygon through ModelBuilder? [closed]

i have polygon data. i need add xy coordinates for polygons using ModelBuilder. i'm getting this type of data......
16
votes
3answers
26k views

List of central coordinates for all countries?

I need a list of the central points for all countries: China: lat/long (coordinates of the most central point in China) France: lat/long (coordinates of the most central point in France) etc...
1
vote
1answer
38 views

Transform HTML area to GeoJSON

I have this file http://www.meteofrance.com/mf3-rpc-portlet/js/datas/zones_AVDEPT73.json where the "zone" field is put in an area HTML element (so does "shape"). I have a little script that takes the ...
2
votes
1answer
64 views

Converting Degrees Minutes Seconds to Decimal Degrees for coordinates?

I have a list of coordinates I'm trying to put into a csv and then convert to points in ArcMap. I tried converting them to decimal degrees because at first they appear to be in DMS. When I plotted the ...
1
vote
2answers
2k views

Calculate centre point of SpatialGrid object

I am using R and have a SpatialGrid object similar to the example from this question: Overlay a spatial polygon with a grid and check in which grid element specific coordinates are located ## read ...
6
votes
1answer
4k views

Add distance to a latitude or longitude

Say I have a latitude of 38.802610 and a longitude of -116.419389 and I want to be able to add a distance to that, 20 miles for example. So far I have came up with a rough idea on how I would do this:...
2
votes
2answers
442 views

PyQgis convert screen to map coordinates

With PyQgis how can I convert absolute screen coordinates (say, 123,456) into map coordinates of the iface.mapCanvas? It would be no problem if I had screen coordinates relative to the iface....
1
vote
1answer
37 views

Calculate Coordinates on the Beeline between two Coordinates on a Spheroid/Ellipsoid (Earth)

I have two coordinates of locations on the earth and want to calculate points in between these two coordinates on the Beeline, for example the coordinate in the middle or at 10%. I am able to do this ...
7
votes
2answers
14k views

Using Leaflet Js, is it possible to know the onclick location of a Marker (ignore anchor point)?

I have a marker object that is of a specific height and width, and although it is pointing a single coordinate, the visual representation of the marker spans many pixels. When I click on the visual ...
0
votes
1answer
38 views

Infering course given origin and destination coordinates

I have two points. A vehicle is at point A and I have the coordinates at point A. The vehicle moves to point B and I know the coordinates as well. I would like to find the angle of movement i.e., 0,...
1
vote
1answer
44 views

Calculating coordinates given a reference point and distance

I am using QGIS 3.6 and trying to calculate coordinates (lat&long) from a point given the distance. I have the lat&long for reference point and have the distance from the reference point. ...
2
votes
0answers
40 views

Getting minimum distance of points with scalable algorithm

I have a number of geographical coordinates with latitudes/longitudes: id | name | lat | lon 1 | New York | 40.730610 | 74.0060 2 | Philadelphia | 75.1652 | 39.9526 3 |...
2
votes
2answers
64 views

pyproj EPSG:4326 converts degrees to radians

Case My input is a point given as x, y and an SRS name which specifies how to interpret the numbers. My goal is to convert these into lon, lat in degrees. I convert this by using this piece of code:...
2
votes
1answer
200 views

Transform coordinate from rotated lat/lon to normal lat/lon WGS84

I have acces to an OPeNDAP service that allows me to peek into a humongous ocean wave dataset. It takes latitude and longitude as inputs (in fact even a range of the two) - but the coordinate system ...
2
votes
0answers
32 views

Add geometry attributes (x y) in the lat long column using Python console in QGIS [duplicate]

I would like to add geometry attributes (x y) to my point layer using py console.I know it is possible to calculate using the field calculator syntax, but then it creates a new layer which I want to ...
3
votes
1answer
9k views

Create a polygon from coordinates in GeoPandas with Python

I was trying to create a simple Polygon from a list of coordinates and export it to multiple formats (including shapefile and GeoJSON) and wanted to automate it using Python. There were some good ...
1
vote
1answer
2k views

Converting mercator meters without UTM zone?

I've been attempting to extract track information from Humminbird (Side Imaging Sonar) binary files and have hit a stumbling block with the coordinates it provides. The values are apparently in ...
1
vote
1answer
576 views

Improving accuracy of mercator meters conversion to lat/lon?

My question is an extention to Converting mercator meters without UTM zone? While the answer in the previous Q&A got me so far, I've now come to an impass. While the conversion I do from Mercator ...
1
vote
1answer
206 views

Truncate coordinates (LonLat) to decimal precision

For example if coordinates are 17.12345678, -82.12345678, and I want to convert them to 3 decimal digits. Expected result: 17.123, -82.123 Is there any API in OpenLayers 2 to truncate coordinates (...
5
votes
0answers
94 views

PostGIS vs shapefile vs geodatabase precision [closed]

How coordinates are stored in a PostgreSQL/PostGIS database? If not adjusted manually, is it "infinite"? Or up to some digits(15?). My question is the following: If I work in a PostGIS database with "...
1
vote
1answer
980 views

Why does Print composer draw wrong coordinates?

QGIS Version: 2.14.3 EPSG: 32630 (WGS 84 UTM Zone 30N) I´m trying to draw a grid with EPSG: 32630. Layers are in the same CRS. As you see, coordinates are completely off. It does not matter if I use ...
0
votes
1answer
32 views

How to get WMTS tile coordinates?

What can I do with the given information: I don't know where I am in the World having some particular tile. It's only an ocean (or sea). "https://services.arcgisonline.com/ArcGIS/rest/services/...
0
votes
0answers
16 views

How to change coordinates units in WMS display?

I have strange case when reading the same map in two Firefox instances on the same computer. Seemingly everything is the same but in one view I have feet and in other degrees (lower left corner). The ...
0
votes
1answer
55 views

Creating coordinate points based on polygon

I am trying to create coordinate points based on a polygon that I've created in Google Maps and imported into R as an sf object. Specifically I have sample points of physical samples I've taken, but ...
1
vote
1answer
33 views

Georeferencing CAD drawing and setting ground control points in GRASS?

I'm fairly new to QGIS and Grass GIS, and learning the interface. I have a CAD drawing that has no coordinate system assigned and needs to be georeferenced to NAD83 HARN Northern Colorado (feet). I'...
1
vote
1answer
54 views

Points Plotted Without XY coordinates

I am currently trying to figure out how a set of points were plotted without full XY coordinates. I was given Y coordinates, but not X and there are points plotted on a map. I think these points were ...
2
votes
1answer
47 views

Extract midpoint coordinates from TIFFs (QGIS)

I have a large collection (>20000) of georeferenced satellite imagery tiles in TIFF format. Each of them has a size of 64x64 pixels. Is there a way to extract the lat/lon coordinates of the midpoint ...
8
votes
3answers
4k views

Is there a standard for the coordinates of pixels in georeferenced rasters ?

We are working with different raster datasets, and the pixel coordinates are either stored at the center of the pixel or at one corner. The information is usually provided in the metadata, but ...
1
vote
3answers
57 views

Switch coordinates in shapefiles

I got some shapefiles out of a WFS service and the points and polygons are not where they supposed to be. After taking a closer look in the data I came to the conclusion, that the X an Y coordinates ...
-1
votes
1answer
50 views

What type of coordinates?

I was given homework to covert this to some location on planet earth. But I am unable to make sense over these numbers.... Tried various forms of coordinates representation but still no clue... ...
1
vote
1answer
45 views

Map eastings in QGIS 2:18 Print Composer alternate between correct values, then negative values

Using CRS OSGB 1936 (ESPG 4277) at various map scales in Composer, I find that the northings are all correct, but the eastings alternate between two or three correct values, then two negative ones. I ...
0
votes
1answer
63 views

ISO 3166-1 alpha-2 Country and region location in coordinates

I am doing some mapping that requires country and region average coordinates. I've found this very useful table with the coordinates of countries, their ISO 3166-1 alpha-2 code and the average ...
0
votes
2answers
2k views

Convert coordinates to census tract for large dataset

I have about 20 million sets coordinates from the Philadelphia, PA, USA region. For each set of coordinates I would like the FIPS code of the corresponding census tract. I looked at this thread: ...
1
vote
1answer
57 views

Extra attribute is embedded into KML file after conversion

I converted point shapefile into KML which has two columns, one is Name of School and second is Coordinates. "Coordinates" column has only 10 rows. And in the "Name of School" column, there are 30 ...
0
votes
1answer
42 views

Drawing a marker on a shapefile with the given latitude and longitude?

I am using shapefiles to draw a custom map. They were created successfully with the help of ArcGIS Desktop. Now I need to draw a marker on shapefile based on an existing tuple of lat, lng. How can I ...
5
votes
2answers
13k views

From coordinates find country using Python

I have tweets with coordinates. I'm trying to bucket the tweets by country using the coordinate information. I know that I can achieve this using some hosted web services but all of these have API ...
0
votes
1answer
57 views

about a widget to get coordinates in web api?

I'm need to know if there is a widget that let me draw a geometric figure in the map, and get the coordinates of the selected area. Any similar widget is welcome.
1
vote
0answers
13 views

How to share custom coordinate in an atlas between pages? [closed]

I know we can build custom coordinate grid (cf. url:How to create a custom coordinate grid in the QGIS 2.14.2?). I would like to use this in an atlas but I have not succeded yet. I get Page 1 : ...
6
votes
0answers
90 views

Calculating viewing angle (2D) between polygons and points [closed]

I am looking for a solution to the following problem. I have several points (for example houses) and several polygons (eg forests). Seen from the houses, I can see the forests within a certain angle. ...
1
vote
2answers
43 views

Converting unknown coordinate (EPSG:3395?) to EPSG:3857

I'm attempting to convert a 7-digit coordinate of an unknown coordinate system I receive in this format: { lat: 4575651.267366762, lng: -9729851.06598594 } After a few hours of trial and error, I ...
13
votes
3answers
42k views

Change OpenLayers 3 view center

I'm using OpenLayers 3 to interact with some maps. I first declare my map: map = new ol.Map({ target: 'map', layers: [ new ol.layer.Tile({ ...
5
votes
2answers
7k views

Update point coordinates in QGIS after manually moving locations in edit mode

I have imported point coordinates from a database, but I need to manually adjust a lot of the locations. Is there a way for QGIS to automatically update the point locations in the attribute table ...
3
votes
1answer
157 views

Extracting X and Y coordinates from .gpx file using QGIS?

I'm using QGIS 2.18.17 on Linux Mint 19. I have several .gpx files of waypoints recorded using a handheld GPS device. I can load them on to QGIS or Google Earth with no problems. However, I want to be ...
1
vote
2answers
94 views

Rounding coordinates to 5 decimals in GeoPandas?

I have a shapefile, which I converted into geopandas dataframe. I would like to round the coordinates to 5 decimals. Is there a method/function in geopandas that can do this? My shapefile contains ...