Questions tagged [map-projections]

A map-projection transforms the coordinates of the spherical earth to a flat map in cartesian (x,y) space.

A map-projection transforms the coordinates of the spherical earth, usually given in degrees (latitude, longitude), to a flat cartesian (x,y) space.
There is no perfect projection, it can be proved that each projection has a drawback, one have minor others major ones.

448 questions
0
votes
2 answers

Create complex SVG without intermediate strings

I'm creating/editing a lot (100s to 1000s) of SVG path elements, with integer coordinates, in real time in response to user input (dragging). var pathElement = document.createElementNS('http://www.w3.org/2000/svg', 'path'); var coords = [[0,0],…
Michal Charemza
  • 25,940
  • 14
  • 98
  • 165
0
votes
1 answer

Openlayers point not in same location over WMS map and WMTS map

I've been trying to get openlayers 3 working with two different Tiles, WMTS and WMS with a point at (69.69, 18.95) which is a coordinate in Tromsø, Norway. The tiles for the maps are using a projection of EPSG:32633 and therefore I found out that i…
Lars Karlsen
  • 117
  • 9
0
votes
1 answer

Opanlayers Reprojection Kml layer

I have a map with 'EPSG:32639' projection for base map and 'EPSG:4326' projection for kml layer that show on base map. It just show my basemap and do not show any kml layer. what's wrong with that? My source code is ther. function initMap(){ …
user402131
  • 23
  • 2
  • 7
0
votes
0 answers

Why is the map displayed by d3.js cut in half although the JSON file contains every (polygon) path?

UPDATE (SOLUTION -- Thanks to altocumulus): geoAlbersUSA() clips one map to its bounds. Using geoMercator() with the appropriate scale() and transform() solved the problem. I'm currently trying to display a map of the US and Mexico using d3. After…
Jeremie
  • 65
  • 1
  • 7
0
votes
1 answer

Converting latitude/longitude to UTM ~ zone projection

I have a set of lat/long coordinates under WGS84 Zone=21 N and i am trying to re-project into UTM format but i am getting numbers that are really wonky; library('rdgal') library('sp') plot_coord_SW <-…
Anand Roopsind
  • 581
  • 2
  • 8
  • 11
0
votes
1 answer

MATLAB Mapping Toolbox Default Map Projection

I am creating a map using worldmap with set lat and lon limits. What projection is MATLAB using to create the figure? Mathworks just says that it automatically chooses a 'reasonable' projection. This is the code I'm using: …
SugaKookie
  • 780
  • 2
  • 17
  • 41
0
votes
2 answers

How to use collect to compose a node allowing empty lists as results?

Consider a graph that looks like this: (node) -> (related nodes) a1 -> [b1, b2, b3] a2 -> [b1] a3 -> [] I want to return all the nodes extended with a list of its neighbors. My current query is the following MATCH (x0:A) MATCH (x1:B ) WHERE…
0
votes
1 answer

Draw circle with certain radius on a map - Making sure distance is right

In R, I am trying to plot a circle on a map with certain distance given its centroid as lat, long points. I found this thread and used @lukeA's code to achieve what I want. However, it seems like the distance is not right. The distance I get between…
ilyas
  • 609
  • 9
  • 25
0
votes
0 answers

Issue changing leaflet to different coordinate system in R

I am trying to get a map in the Dutch Rijksdriehoekstelsel coordinates in a Leaflet map in R that is going in a Shiny app later. I am going to have to add polygons later, and changing their X and Y coordinates into the WGS84 would be horrible. I…
DS501
  • 113
  • 1
  • 10
0
votes
1 answer

D3js circles on a map : Projection Issue?

Once again i'm searching for some help. I manage to draw my map but when i attempt to add circles (stores locations from csv), my points appears in the left corner and i'm getting the following errors > Error: attribute cx: Expected…
MFAMOROCCO
  • 27
  • 8
0
votes
1 answer

How to find the BBOX coordinates of a jvectormap

I have the SVG file of a particular state, I have successfully converted the svg coordinates into a jvectormap, but I dont know how to identify the bbox coordinates of the projected region, can any one help me to identify it ?
0
votes
1 answer

How to overlay GRADS image into OpenLayers map

I need to overlay a GRADS image into an OpenLayers map, but they do not fit each another because some lands are not in the position even the lower-left and upper-right of the image are in the right place. I guess it is due to the projection…
Frankie
  • 21
  • 1
  • 4
0
votes
1 answer

Uncaught TypeError: n is not a function d3.js. While trying to overlay us_map on google maps

I am trying to overlay a US map with different states over google maps. I know I can use loadGeoJson function of Google Maps, but I want to color different states. Here is the code I am trying. I have removed the API-Key while pasting the…
Narahari B M
  • 346
  • 1
  • 16
0
votes
0 answers

regridding unregular grid to regular

I have satellite images in EASE 2.0 projection and want to reproject them to a regular WGS84 0.25 degree grid. I have tried several options, e.g. rasterize them to an empty raster with my desired dimensions, but would like more control over the…
heffalump
  • 23
  • 4
0
votes
1 answer

Able to use equirectangular Projection on world map like tweetping, need to get that working for USA image also

Currently I am able to plot the geocodes using equi-rectangular projection on world map like tweetping site(https://tweetping.net/), but I need to get that working with US map image. I see that equi-rectangular formula work with world map image but…