Tag Info

Hot answers tagged

4

According to the ogr2ogr csv documentation and also this answer, you need to specify which fields contain the geometry in a VRT file: <OGRVRTDataSource> <OGRVRTLayer name="test"> <SrcDataSource>test.csv</SrcDataSource> <GeometryType>wkbPoint</GeometryType> <LayerSRS>WGS84</LayerSRS> ...


4

On the bottom of the application you can set extent or the center of the map. It looks like this: l The first button switches between extent and map center.


3

You can use the Geometry Export to CSV function on your shapefile to obtain coordinates via: MMQGIS > Import/Export > Geometry Export to CSV Make sure it is enabled in Plugins > Manage and Install Plugins...


3

There might be multiple crater holes in this area. In a Russian language magazine Science First Hand there is an article that mentions different coordinates, though the pictures look familiar. The coordinates mentioned in the article are 69°58.268'N, 68°22.2'E Below is an image taken as a screenshot from the Russian Federal Space Agency portal that ...


2

There is a native (non-plugin) solution within QGIS: Right-click on your shapefile layer and select "Save as". Select CSV format; Deselect "Add saved file to map"; Under "layer options", select GEOMETRY AS_XY (for point files) or GEOMETRY AS_WKT (for points, polygons or lines). For point files only, this will output a CSV file with an X and Y column in ...


2

Vincenty's formula (ellipsoid based) is more accurate than haversine (sphere based). Also, lat and long are usually expressed in degree, but your coordinates are not in 0-180, therefore you could be in another system than expected.


2

If you know the coordinate values of the north, south, east, and west edges of the grid and the number of rows and columns, then you can calculate the row and column of a known x,y point (your weather station) using the following equations: row = Math.round((numberRows - 1) * (north - y) / (north - south)) column = Math.round((numberColumns - 1) * ...


1

Finding the center is not as simple as you think. take an example square in EPSG:4326: Transform it into World Mercator, and the center is somewhere else: In Lambert conformal conical, it is not yet a rectangle: And same for azimutal equidistant: So be careful if you think of a "simple" rectangle and its center point. The world is not a plane! My ...


1

From wiki/Tessellation A tessellation of a flat surface is the tiling of a plane using one or more geometric shapes, called tiles, with no overlaps and no gaps. I think the same word can be used to describe the tiling of a sphere. If you're after the (very conventional) spherical equivalent of a planar grid, then the word is graticule – the ...


1

Something like: Coordinate[] coords = geometry.getCoordinates(); StringBuilder out = new StringBuilder(); out.append("coordinates="); boolean start = true; for(Coordinate c: coords) { if(!start){ out.append(","); }else{ start=false; } out.append(c.x+","+c.y); }



Only top voted, non community-wiki answers of a minimum length are eligible