467 questions
2
votes
2
answers
129
views
After projecting, world elevation raster is not visible in plot even though values exist
I downloaded raster data of world elevation from here: https://www.naturalearthdata.com/downloads/10m-raster-data/10m-cross-blend-hypso/ --> Cross Blended Hypso with Relief, Water, Drains, and ...
0
votes
0
answers
56
views
India map rendering issue on d3 + svelte
I'm an absolute beginner when it comes to d3 + svelte and I'm trying to render a map of Indian districts in d3 in svelte framework. The json I'm accessing is from here. I'm trying to render the ...
0
votes
0
answers
65
views
How to correctly convert geo-coordinates (lat, lon) to GeoTIFF pixel coordinates using GDAL in C++?
I'm working with GDAL in C++ and trying to convert geographic coordinates (latitude, longitude) to pixel coordinates in a GeoTIFF file. Specifically, I am using the GetGeoTransform function to fetch ...
1
vote
1
answer
73
views
Why is my OSM map rendering squished in Love2D?
Why is my OSM map rendering squished in Love2D?
I'm trying to render an OpenStreetMap (.osm) file in Love2D without using external libraries. The issue is that the displayed map appears vertically ...
0
votes
0
answers
34
views
Merge rasters returns blank spaces
I have TIF files with different UTM zones(zone 37, zone 38). I want to merge these TIF files: first I reproject them to the same projected coordinate system (Mercator). After that, I used the merge ...
2
votes
1
answer
93
views
how to get an accurate length of a features that may be a LineString or MultiLineString of LatLng coordinates?
Using leafletjs map.distance() function, I consistently get a value that is ~40% over what it should be. Is this because I am a latitude of 56˚N?
Using Overpass Turbo, I get an OpenStreetMap export of ...
0
votes
1
answer
134
views
How to find the appropriate CRS for shapefile with strange extent in QGIS
I have a shapefile that I need to import. It has an extent as follows:
6070755.0197066366672516,2191083.7598814815282822 : 6213671.7394500551745296,2236821.9991134637966752
The layer does not have a ...
0
votes
0
answers
82
views
Calculate shape from WMS BBOX in projection
I want to write a little wms service in php, querying polygons from a mariadb database and use it with leaflet.
leaflet.js together with proj4leaflet.js calls my service with a BBOX parameter, ...
0
votes
0
answers
46
views
"UV pixel mapping" a projection onto a planet
My problem is that i try to "UV map" an unwrapped jupiter onto points on a sphere and i did that but the texture doesnt rotate (just occasionaly flips 180, to be exact i see the poles of the ...
-1
votes
1
answer
238
views
How to plot maps in Python in Mollweide projection with rotated coordinate grid?
In Python, I try to plot all-sky maps in Mollweide projection. I am looking to be able to show maps with arbitrarily rotated coordinates and coordinate grid. See the following generic grid image (...
-3
votes
1
answer
48
views
How to get two Google Maps Markers at a fixed pixel distance
I've been struggling for hours looking for the solution to my question: I need to place two markers around the center of the map, allowing enough space for not having any overlay between them, ...
0
votes
1
answer
452
views
Take latitude/longitude on a Lambert Conic Conformal Projection Map and get pixel X/Y
I am implementing a map in .net 4.5 WPF application.
I was given an image of a map in lambert conic conformal projection.
I am struggling with the conversion from lat/long to lambert conic so that I ...
0
votes
1
answer
270
views
C# - Simple MongoDB projection with automapping returning "Expression not supported"
Im trying to execute a mongodb query with projection and I want to use automapper to map the model and the DTO.
Im using mongodbdriver 2.23
public class MachineOperationModel
{
public ObjectId Id {...
0
votes
1
answer
239
views
How do I gdal_translate an orthographic PNG image of the Earth centered at Lat=+50N Lon=+5E to proper GeoTIFF format?
How do I gdal_translate an orthographic PNG image of the Earth centered at Lat=+50N Lon=+5E to proper GeoTIFFf format ?
I cannot work out how to specify the limits of a full disc. (diameter of Earth ...
1
vote
1
answer
274
views
Plotting data which is already in Lambert projection
Recently I am trying to plot the meteorological field from HRRR datasets. However, HRRR datasets are already in Lambert projection (not gridded). The datasets provide x,y as an index (1~len(x) and 1~...
0
votes
1
answer
63
views
Why are my co-ordinate axis specifications distorting my image?
I am trying to plot some markers on a to-scale map but when I try to add an axis to my graph corresponding to the coordinates of the map I have used as the background the image distorts. This should ...
2
votes
0
answers
107
views
Override google maps api default projection?
I have a list of lat/lon data that forms a path. The data was obtained using a GPS device from a vehicle on a race track. When I plot this using Google maps JavaScript API (satellite map), it doesn't ...
0
votes
1
answer
695
views
How to read output of crs() in the Terra package in R
I have a SpatRaster and I want to figure out the EPSG code of it. I have used the crs() command and I got the following output:
PROJCRS["unknown",
BASEGEOGCRS["NAD83",
...
0
votes
1
answer
141
views
D3 : Custom projection with tiles (Waterman Butterfly)
I'm looking for a Waterman Butterfly map with imagery projection (Esri.WorldImagery).
Waterman Butterfly map
I'm a beginner in javascript and after searching for some projects and simply replacing the ...
0
votes
1
answer
50
views
Javascript Openlayers Polyline Problem - Straight Line
I have following Polyline: https://pastebin.com/ktcNGRWg
With following code:
this.map = new Map({
target: 'map',
layers: [
new TileLayer({
...
1
vote
0
answers
292
views
From lat lon zoom to x y
I'm trying to implement a code in dart(flutter) that transforms the lon lat coordinates into x y coordinates of an image without success.
The image is downloaded from openstreetmap and of dimensions: ...
0
votes
2
answers
1k
views
How do I convert the projection of a netcdf file to a regular grid of lons and lats?
I need to make an interpolation object where I enter a given longitude and latitude and the object returns the nearest ocean surface current value. The dataset I am using is . You can download the ...
0
votes
1
answer
260
views
How to create Geopandas buffers for locations around the World
I have a location dataset (points long & lat) for events that happened around the World. I want to create 5km rings around these locations using Geopandas.buffer function. As explained in a ...
0
votes
0
answers
227
views
Reprojection of INSAT geostationary .h5 file to EPSG:4326
I am trying to reproject my .h5 of INSAT LST to get an transformed mercator lat lon coordinates EPSG:4326.
I have used rio.reproject but not working, the reprojected lat lon are all weird , so the ...
0
votes
1
answer
579
views
Reprojecting longitude and latitude coords within a dataframe to a Mollweide projection
I need to reproject the co-ordinates of my dataframe so I can plot them into a different projection. When I do, all points collapse towards 0,0. so I take it the map itself is projecting towards my ...