Questions tagged [maps]

A map is a visual representation of an area—a symbolic depiction highlighting relationships between elements of that space such as objects, regions, and themes. For the key-value data structure, use dictionary tag instead.

Modern maps

Many maps are static two-dimensional, geometrically accurate (or approximately accurate) representations of three-dimensional space, while others are dynamic or interactive, even three-dimensional.

Although most commonly used to depict geography, maps may represent any space, real or imagined, without regard to context or scale; e.g. brain mapping, DNA mapping, and extraterrestrial mapping.

Many, but not all, maps are drawn to a scale, expressed as a ratio such as 1:10,000, meaning that 1 of any unit of measurement on the map corresponds exactly, or approximately, to 10,000 of that same unit on the ground.

Maps of the world or large areas are often either 'political' or 'physical'. Topographic maps show elevations and relief with contour lines or shading. Geological maps show not only the physical surface, but characteristics of the underlying rock, fault lines, and subsurface structures.

Maps that depict the surface of the Earth also use a projection, a way of translating the three-dimensional real surface of the geoid to a two-dimensional picture. Perhaps the best-known world-map projection is the Mercator projection, originally designed as a form of nautical chart.

Aeroplane pilots use aeronautical charts based on a Lambert conformal conic projection, in which a cone is laid over the section of the earth to be mapped.

From the last quarter of the 20th century, the indispensable tool of the cartographer has been the computer. Much of cartography, especially at the data-gathering survey level, has been subsumed by Geographic Information Systems (GIS).

A complex problem when dealing with maps is to calculate the distance between two points. The simplest approach is to work as if the map was a simple plane and use Euclidean distance function. However, this might be inadequate, especially in the case when we are dealing with large distances. In that case the differences between the real shape of the planet and a plane will get more accent. A significant improvement over this is to calculate the distance between two coordinates using the Haversine formula, but even this might be imprecise in some cases where high precision is needed, due to the differences of altitude or other geometrical, or non-geometrical distance modificators, like speed limits on roads, closed borders of countries, travel costs, etc.

More info on Wikipedia

9449 questions
2
votes
1 answer

How to make a regular label in levelplot (lattice) with non-regular numbers?

I need make meteorological maps with package lattice. But i found a problem in comand levelplot(). I can make maps with the comand using a regular label. E.g: Correlation maps with label 0, 0.1, 0.15, 0.2, 0.25, 0.3, 0.35 0.4... In this example the…
2
votes
0 answers

Apk size increased by 40mb due to map fonts in assets resource folder (using tomtom api for map)

I'm using tomtom api to display current location on map. Problem is apk size increased by 40Mb. I found that apk size is increased due to map fonts. 1.I tried to use downloadable font like this: "glyphs":…
2
votes
1 answer

How to make second layer view with settings like in iphone "maps" app

Hello i want to develop simple iPhone application with one button. And I want to have a list with settings like in "Maps" application on iPhone (see screenshot) -- Have you got any advises to do it ?
2
votes
3 answers

Not-bing maps on Windows Phone 7?

Is there by any possibility a library or sth that allows to work with maps on Windows Phone 7 (connect to gps, connect a gps data with a point on the map etc.) and is NOT the control that connects with Bing? Thanks in advance.
piernik
  • 21
  • 2
2
votes
1 answer

How to test leaflet based maps using testcafe?

We are building a series of tests using TestCafe. How do we test if a point or path in a leaflet control is rendered correctly? To be more specific we are trying to test the lat-lon data of a circle marker in the map. But, we do not have any leaflet…
user 923227
  • 2,528
  • 4
  • 27
  • 46
2
votes
0 answers

How to animate marker from one position to another?

I need to animate marker position from one coordinate to another. When I change the position via copyWith it's already animated but doesn't let to set the animation duration. And looks like there's no built in method for this purpose yet. What would…
Fernando Luiz
  • 131
  • 1
  • 2
  • 11
2
votes
2 answers

Pointers on how to use leaflet's polyline in reactjs & react-leaflet

I am very new to React and leaflet. I am trying to plot a set of latitudes and longitudes that is available in an object on a map in React using leaflet. Any pointers on how this can be done will be helpful. I have gone through tutorials on react…
Shriprada S
  • 281
  • 4
  • 11
2
votes
1 answer

How to define colors of Lisa cluster manually?

I am trying to do some maps of LISA CLUSTERS. O changed the code of lisa_cluster function to specify the colors I wanted. I used a generic 5 colors list, and changed it manually from matplotlib import patches, colors import…
Oalvinegro
  • 458
  • 5
  • 21
2
votes
1 answer

how to read latitude and longitude in firebase to display in google maps android

i want to retrieve latitude and longitude in firebase to display in maps.. i search some tutorial but it still eror, please help it is code to upload in firebase(succes) private Button mButtonChooseImage; private Button mButtonUpload; private Button…
2
votes
1 answer

Using Getters from Nested Structure In Streams

I am converting a List into a Map>. City within it has fields like CityIdentifier, State, Latitude etc. CityIdentifier within it has a cityName & cityType. For the above conversion, for the Collectors.groupingBy, I need a…
Sanchay
  • 1,053
  • 1
  • 16
  • 33
2
votes
1 answer

Browser cache management during local development

While testing in development, how can you disable cache for all your local scripts/styles, and keep the cache working for all the external scripts/styles? Preferably firefox Basically when making changes to css, js, or sprite files on my site I'm…
Moak
  • 12,596
  • 27
  • 111
  • 166
2
votes
1 answer

How to resize map in Vue2Leaflet if container was hidden at first

How can I reload a Leaflet map from Vue2Leaflet if it was hidden at first and is then shown (e.g. if hidden by bootstrap collapse element)?