Questions tagged [gis]

A Geographic Information System (GIS) captures, stores, analyzes, manages, and presents data that are linked to location(s). The GIS Stack Exchange should be considered for questions with this tag.

According to Wikipedia:

A geographic information system (GIS), geographical information system, or geospatial information system is any system that captures, stores, analyzes, manages, and presents data that are linked to location(s). In the simplest terms, GIS is the merging of cartography, statistical analysis, and database technology.

There is a Stack Exchange site devoted to Geographic Information Systems.

6555 questions
12
votes
1 answer

Plotly: How to set choropleth map color for a discrete categorical variable?

I am trying to plot a world map with all the countries having different risk levels (low, moderate and high). I would like to make each risk level a different color but am not sure how to change the color scheme so that each risk category has a…
Sanch
  • 367
  • 2
  • 11
12
votes
1 answer

Re-project Web Mercator tiles to arbitrary projection with D3?

It's been a few years since Jason Davies blew us away with Reprojected Raster Tiles—that map stopped working because Mapbox is blocking his site, but the Mollweide Watercolour and Interrupted Goode Raster remain great demos. Now on Observable HQ I…
Ahmed Fasih
  • 6,458
  • 7
  • 54
  • 95
12
votes
2 answers

Overly Function from GeoPandas Not Working

I simply want to use geopandas to get a union and intersection of two polygonal areas. I define: import geopandas as gpd from shapely.geometry import Polygon polys1 = gpd.GeoSeries([Polygon([(0,0), (2,0), (2,2), (0,2)]), …
Rotail
  • 1,025
  • 4
  • 19
  • 40
12
votes
1 answer

Displaying Radius in Meters with Folium

I am having trouble understanding how the radius option works with Folium. I have the following code: import folium lat = 40.7787006 lon = -73.9654842 map = folium.Map(location=[lat, lon], zoom_start=20) folium.Marker([lat,…
Kevin
  • 555
  • 1
  • 5
  • 10
12
votes
1 answer

python: perform gdalwarp in memory with gdal bindings

I currently have a processing chain in R which downloads MODIS data and then calls gdalwarp from the system to reproject a specific subdataset (e.g. NDVI) into WGS1984. The resulting GeoTiffs are then collected into an HDF5 file for further…
Val
  • 6,585
  • 5
  • 22
  • 52
12
votes
2 answers

What is relationship between GDAL, FDO and OGR?

Their documentations are simple and professional. But they don't mention too much about the relationship between these open source projects. When should I use which one? And which one is suitable for what scenario? If you are a GIS developer who is…
Cui Pengfei 崔鹏飞
  • 8,017
  • 6
  • 46
  • 87
12
votes
1 answer

Mysql function MBRContains is not accurate

I have the following POLYGON (in the image you can see the area it covers) POLYGON((-74.05100448502202 4.7239278424321,-74.05092938316898 4.7241416902206,-74.04830618275201 4.7237460717602,-74.04643668306903 4.7234306460692,-74.04635688735101…
Oscar Gallardo
  • 2,240
  • 3
  • 27
  • 47
12
votes
2 answers

What's the difference between LineString and Multipoint in GeoJSON

What's the difference between LineString and MultiPoint in GeoJSON? To me the examples given are identical. http://geojson.org/geojson-spec.html#id3. I'm planning some things in GeoJSON and if something as basic as this is confusing I'm in trouble.
Greg
  • 2,359
  • 5
  • 22
  • 35
12
votes
1 answer

Mixing surface and scatterplot in a single 3D plot

I am studying the patterns of distribution of whales around specific seabed structures. I am trying to create an interactive 3D plot showing at the same time: bathymetry as a surface (x = longitude, y = latitude, z = depth), and geographic…
S.Derville
  • 208
  • 1
  • 2
  • 6
12
votes
4 answers

Calculate endpoint given distance, bearing, starting point

I am trying to find the destination point, given a starting point lat/long, bearing & distance. The calculator from this website below gives me the desired results. http://www.movable-type.co.uk/scripts/latlong.html When I try to implement the same…
Sri
  • 121
  • 1
  • 1
  • 5
12
votes
3 answers

C# WPF resolution independancy?

I am developing a map control in WPF with C#. I am using a canvas control e.g. 400 x 200 which is assigned a map area of e.g. 2,000m x 1,000m. The scale of the map would be: canvas_size_in_meters / real_size_in_meters. I want to find the…
Theo Zographos
12
votes
5 answers

How to use OpenStreetMap background on Matplotlib Basemap

This should be simple, but when I look for it I just find web packages. I need something better than as oriented on This Blog. Maybe using .oms file or shapefiles. Some way to give bbox and get the OpenStreetMap background on Basemap map. I found…
iury simoes-sousa
  • 1,440
  • 3
  • 20
  • 37
12
votes
1 answer

Finding largest inscribed rectangle of a polygon with Shapely

I am trying to locate millions of points inside a half-dozen polygons. Here's my code: def find_shape(longitude,latitude): if longitude != 0 and latitude != 0: point = shapely.geometry.Point(longitude,latitude) else: return…
Martin Burch
  • 2,726
  • 4
  • 31
  • 59
12
votes
4 answers

Geographical ontologies ready to use?

I'm looking for an ontology containing geographical knowledge. In particular I'd like to have these types of information: political states / regions / cities / city areas geographical regions (e.g. continents, name of mountains, lakes, etc) For…
Mulone
  • 3,603
  • 9
  • 47
  • 69
12
votes
2 answers

How can I display OSM tiles using Python?

I'm in the process of generating tiles with generate_tiles.py and I'd like to write a Python app to display them instead of having a web interface. Does anything like that already exist or is there information somewhere on how to write such an app…
user1084826
  • 137
  • 1
  • 3
  • 8