Questions tagged [cartopy]

A library providing cartographic tools for python.

Filter by
Sorted by
Tagged with
2
votes
0answers
81 views

Estimating a Rotated Pole given a gridded dataset with lat/lons at each point

I have netcdf dataset that I think is regular gridded dataset using a Rotated pole mapping, but the rotated pole information is wrong. For those not familiar with Rotated Poles, the cartopy ...
1
vote
1answer
344 views

Increasing resolution of Cartopy stock background?

I am trying to create a small application that will show zoomed in maps. If possible, I would like to avoid using map tiles. Going off the example on this page: https://scitools.org.uk/cartopy/docs/...
0
votes
1answer
138 views

Geoplot/Cartopy Orthographic projection won't work near equator

I am having trouble getting Geoplot's Orthographic projection to work near the equator. It works fine at locations ±90 longitude where latitude is right at 0, but if I run the code below, it fails ...
0
votes
1answer
92 views

cartopy and xarray issues

I'm beginning to use netCDF4 data and therefore I have downloaded xarray and also cartopy (with pip). I have downloaded data from the climate data store and want to plot these data. I have a ...
0
votes
1answer
206 views

Cartopy lakes and rivers are clipped

I'm trying to produce a map showing water bodies like oceans/rivers/lakes polygons for purposes of plotting vessel voyages using cartopy. Ultimately I'm looking to create a sea mesh grid using the ...
0
votes
1answer
467 views

Displaying geopandas points with cartopy

I am trying to display a GeoDataFrame containing points, using cartopy. I first tried to follow the indications given in the documentation of geopandas. However, the points are not displayed: ...
1
vote
1answer
206 views

Interpolate Temperature Data On Urban Area Using Cartopy

I'm trying to interpolate temperature data observed on an urban area formed by 5 locations. I am using cartopy to interpolate and draw the map, however, when I run the script the temperature ...
1
vote
0answers
319 views

Add geopandas to cartopy

How can I add a geopandas geodataframe to a cartopy map? My objective is to create a large number of PNGs to turn into a GIF. The geopandas default plotting options are limited so I would like to ...
1
vote
2answers
805 views

Shapefiles won't display with cartopy

I'm trying my first GIS project with cartopy and matplotlib and I'm having some trouble displaying some shapefiles. The shapefiles were downloaded from here: http://data.vancouver.ca/datacatalogue/...
1
vote
0answers
727 views

Cartopy image tiles - determining possible zoom level in advance?

In Cartopy I'm using an image tile like so: terrain_tile = cimgt.StamenTerrain() ax.add_image(tile, zoom) By default I've set the zoom level to 14 and that works perfectly for my first test case. ...
4
votes
1answer
1k views

How do I set extent in a geopandas plot (as in cartopy)?

The usual. My shapefile is from a much bigger place than my data, and I want to zoom in. The dark dot below is Melbourne, and it has some very interesting data plotted on it. base.plot(linewidth=0 ...
0
votes
1answer
543 views

Rotating geometry in cartopy?

I would like to use cartopy to display a map of the cities in the contiguous United States. In order to do so, I have written the following code (the data comes from here): import geopandas as gpd ...
3
votes
1answer
3k views

cartopy: plotting shapefiles

I am new to gis and am trying to plot a shapefile containing land polygons. (From OSM.) Unfortunately my output image is always empty (i.e. white). Can somebody tell me what I am doing wrong? import ...
1
vote
0answers
413 views

Error and kernel dies with shapely/geos inside Jupyter notebook

I have a Python 2.7 script (code below) that scrapes data from a table on the web and draws a map. It runs fine from the command line using $ python bears.py When I run the identical script from ...
3
votes
0answers
670 views

Installing cartopy on OSGeo4W

I am trying to install cartopy on OSGeo4W. Even though all required packages already downloaded and updated, the installer won't recognize them. I keep getting the following error: setup.py:168: ...
5
votes
1answer
9k views

Python Mapping in Matplotlib Cartopy Color One Country

I have plotted a map of the world using matplotlib Cartopy. Now I want to select a specific country in the map in this case the United States and change the color. I think this is possible but not ...