The Stack Overflow podcast is back! Listen to an interview with our new CEO.
6

The answer to this question is somewhat technical. First you need to recall that the Earth looks like this: So when it's drawn as a flat surface, there will be distortion. How much distortion depends on the projection. The Web Mercator map projection is famous (or, in some circles, notorious) for the infinite exaggeration at the poles (note that Greenland ...


3

Your example is a MULTIPOINT. Members of a multi-point collection are accessed via the geoms property or via the iterator protocol using in or list(). Here's an example: >> from shapely import wkt >> from shapely.geometry import MultiPoint >> p = wkt.loads("MULTIPOINT (92 169, 100 163.552380952381, 105.2167832167832 160, 266....


3

You can retrieve the extent coordintes of map item via variables, and use them in text box. x_min - [% to_dms(x_min(transform( map_get(item_variables('map'),'map_extent'),'EPSG:3857','EPSG:4326')),'x',2)%] y_max - [% to_dms(y_max(transform( map_get(item_variables('map'),'map_extent'),'EPSG:3857','EPSG:4326')),'y',2)%] Expression explained step by step: To ...


3

I think what you are looking for could be achieved with the following expression in the Field calculator. Just create a corresponding text field beforehand. y(transform($geometry,'EPSG:25832','EPSG:4326')) || ', '|| x(transform($geometry,'EPSG:25832','EPSG:4326')) Additionally, you may be interested in alternative solutions: QGIS 2: a plugin Swap XY QGIS ...


2

Check your units in the Andrew Hedges Haversine tool - it gives me 25.008 km ! (or 15.543 miles) (also by just looking at your coords, you can see it should be 10s of km and not metres - a degree is usually somewhere in the 50-100km range - this is a very rough approximation but gives you a clue)


2

I'm not sure why the order matters to you but the shapely manual shows wrapping the MultiPoint in a list: pprint.pprint(list(points.geoms)) so I would expect something like: points = MultiPoint(list(points.geoms)[::-1]) to work. Though the manual makes no claims that MultiPoints honour the order of the input list.


1

You're looking for a simple query string, here is a working example. I took the code below and called it querystring.html, and passes it coordinates in the url. The maps first view is from N. Adams, MA, and the query string zooms the map to London. Only issue you have to consider is if the query string is not used, null. http://localhost/querystring.html?...


1

Yes it is possible without plugins. You need to create two grids: one for the UTM Coordinates and the other for WGS84. Here is an image that shows both of the grids. The black grid is UTM and the red is WGS 84. For UTM, I think you know how to do it since the data is in UTM. Now, When adding additional grid for WGS 84, you need to change the CRS to WGS 84 ...


1

I imagine that you are working with spherical trigonometry, and that you already have the formulas for the length of the flight and for the initial azimuth, and the way in which the azimuth varies at each point of the trip. You need to calculate the maximum latitude reached, which is the one in which the azimuth of the flight is 90º. Being as you're ...


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