Natural Earth Shapefile

0 views
Skip to first unread message

Vivien

unread,
Aug 4, 2024, 11:46:59 PM8/4/24
to olebasris
OKI'm back on this. I downloaded the ne_110m_yada_yada shapefiles unzipped them and put them in my .local/share/cartopy/shapefile/natural_earth/culturalphysical) as I found them on a connected laptop when I ran this test program:

That worked as expected. I hid the files in my .local cache and had my sysadmin hack the cartopy.config to point to the in /data/cartopy/ where I hoped it would find /data/cartopy/shapefiles/natural_earth/culturalphysical where the zipped data ultimately resided. Is it expecting zipped files there or is that only if it tries to go out and download them? Cartopy did not find the zip files there and tried to go to the internet. What are the rules for putting data in pre_existing_data_dir? Will cartopy find the zip files if placed in /data/cartopy/ and do the right thing. Or do I need the shapefile/natural_earth subdirectories? I'd like to just point it only as far as /data/cartopy and have it find any shapefile or raster data I have parked in that hierarchy, whatever the source. Natural Earth is merely the test case. I'm not ruling out that my sysadmin messed up, but he is extremely competent and I may have misled him.


In summary, a read-only cache of data can be configured with pre_existing_data_dir in cartopy.config. For a writeable cache (that cartopy can extend) data_dir is the config item. Cartopy will check the pre_existing_data_dir cache before checking the data_dir when determining whether or not it needs to fetch the resource on your behalf.


Natural Earth is a public domain GIS data package that has all the essential layers you need to create a map. For example, it has administrative, hydrographic, and general land information.


Hello how are you are doing? I have downloaded the cultural and physical zip files for natural earth but the files are missing shape files (shp) for loading in QGIS 2.18 rather its containing the shp files for AutoCad. What should i do to obtain the shp files for QGIS?

Thank you


To identify valid components for this function, either browseNaturalEarthData.com, or if you know what you are looking for, go tonvkelso/natural-earth-vector to see the actualfiles which will be downloaded.


QGIS is a free and open source geographic information system (GIS) that runs on Windows, Mac, Linux, UNIX, and Android. It is designed to be very user friendly with a modern user interface. QGIS is released under the GNU General Public License Version 2 or above with source code on GitHub. Go to the QGIS Website to download the software and find tutorials. The QGIS tutorials in this course will cover cartography, map algebra, visual programming, animation, and more.


TheQGIS Processing Frameworkis an environment for geospatial computation that includes a toolbox, a history, a graphical modeler for visual programming, and a batch processing interface.The QGIS processing framework integrates algorithms fromthe Geospatial Data Abstraction Library (GDAL),the R programming language for statistics,QGIS,GRASS GIS,SAGA GIS,TauDEM,LASTools for lidar processing,and more.QGIS also has an extensive library of plugins.


Find rasterand vector mapsof the world in theNatural Earth collection.Download and extract the Natural Earth Vector Theme GeoPackageand the1:50m Natural Earth I with Shaded Relief and Waterraster.The coordinate reference systemfor these datasets is theWorld Geodetic System 1984 (WGS84).Optionally move these datasets toa new directory on your computer callednatural_earth.


Then in the subdirectory natural_earth_vectorexpand natural_earth_vector.gpkgand double click to addne_10m_lakes,ne_10m_rivers_lakes_centerlines_scale_rank, andne_10m_admin_0_countries.The maps will have been added to the Layer panelbeneath the Browser and to the map display.


Style the lakes with a nice blue fill.In the Layer paneldouble click on ne_10m_lakesand select the symbology tabto set the layer styling.Set the fill color to a blueusing the color pickerto sample the oceanin the Natural Earth raster.Set the stroke color to transparent.


Style the rivers with stroke weightsand colors based on stream order.In the Layer paneldouble click on ne_10m_rivers_lakes_centerlines_scale_rankand select the symbology tabto set the layer styling.Under line select simple line.For stroke width click ondata defined override at the far rightand select the Assistant.In the Assistant dialogset the source to strokeweig,refresh the input values,and set the output value size from0.1 to 0.6.


Style the countries witha thin border.In the Layer paneldouble click on ne_10m_admin_0_countriesand select the symbology tabto set the layer styling.Under fill select simple fill.Change simple fill to outline: simple outlinein the symbol layer type dropdown.Then set the color to whiteand the stroke width to 0.2.Back in fill Layer Styling settingschange the opacity to 50%.


Add labelsto the rivers.In the Layer paneldouble click on ne_10m_rivers_lakes_centerlines_scale_rankand select the labels tabto set the layer styling.First try setting single labelsto either name or name_en.Since there are too many labels,set rule-based labelling instead.Double click to edit the new rule.Set a filter based on stream order:


Optionally set your fontand add drop shadows and buffers to your text.Under shadow check draw drop shadowand lower the opacity.Under buffer check draw text buffer,set a size, and set a blend mode such as soft light.


To keep your data organized and easy to move and share,add your rasters and vectors to a GeoPackage (.gpkg).First rename natural_earth_vector.gpkg to natural_earth.gpkg.Then in QIGS in the Browserdrag the Natural Earth I raster NE1_50M_SR_W into natural_earth.gpkg.After a popup dialog confirms that the raster was successfully imported,hit the refresh button in the Browserto see the raster inside of the GeoPackage.Remove the current raster layer from your mapand instead add raster layers from the GeoPackage.


Save your project as natural_earth.qgzin the same directory as the natural_earth.gpkg GeoPackageso that you can easily move both files together.By default data sources will be saved as relative paths.This setting can be changed in Project Properties > General Settings.


When you want to move or share this project,be sure to move both files together.You need the data as well as the project.If you are sharing these files online,you may want to compress them into aa .zip or .tar.gz archive.


While it is often an overlooked aspect of research and commercial applications, joining tabular country data or performing statistical summaries of raster and vector feature data within country boundaries is a key component of geographical, political, climate, and social sciences. The Natural Earth databaseNE 1 is one of a small number of vectorized global municipal boundaries. Additional global vectorized municipal boundaries are available from The Database of Global Administrative Boundaries (GADM),2 Esri/Garmin,3 the Food and Agricultural Organization (GAUL),4 the United Nations (SALB),5 and CShapes.6


NE is the only fully open-source and public domain pre-packaged database of vectorized administrative boundaries. Natural Earth presents global coverage of ADMIN 0 and ADMIN 1 boundaries, but no ADMIN 2 coverage and is available as downloadable shapefiles, SQlite, and GeoPackage, or a limited number of features via the rnaturalfeatures R package. Unlike GADM, GAUL, and SALB, Natural Earth also features the premiere collection of additional public domain cultural and physical vector data themes. These include, but are not limited too, disputed areas, urban areas, parks and protected areas, water boundaries, coastlines, reefs, lakes, and bathymetry. Although NE delivers the largest collection of public domain vectorized boundaries layers, users should be aware of limited data quality issues. There are sparse instances of boundary overlaps, bad geometries, and topology errors that may cause processing errors in some GIS software or packages. The Esri/Garmin World Countries dataset suffers from similar issues.


Whereas the aforementioned data sets are fantastic resources for maps and current analysis, they provide no resources for historic visualizations or time-series analysis of spatially explicit country-year processes. The CShapes dataset presents ADMIN 0 boundaries, however, this is not the primary focus; the purpose of CShapes is to present historical state boundaries dating back to 1946.6 This presents a few interesting questions: 1) what defines an independent state in this context, 2) what defines the spatial extent of a state, and 3) what constitutes a change in state boundaries? Weidmann (2010)6 wisely chose to offload recognition of an independent state by relying on 2 well established lists of states born out of political science and conflict data sets: 1) Gleditsch (1999)8 and 2) the Correlates of War Project.9 Most nation-state boundary data sets take practical approaches to the spatial extent of a state by relying on internationally accepted boundaries. States may often make wild claims about their territories (see Venezuela), however, as a practical matter, the actual boundaries are those by which they exert control over. This component of the CShapes dataset was developed internally and is described in detail within Weidmann (2010).6 Lastly, CShapes relays temporal territorial changes by observing the merger, emergence, disappearance, or dissolution of independent states. These distinctions are also outlined in detail in Weidmann (2010).6 CShapes is available as a standalone vectorized shapefile and a package for the R software package. As an added bonus, the cshapes R package offers functionality to calculate paired country distances based using either the distances between capitals, the distance between the centroid of the nation-states, or the minimum distance between state boundaries. These are excellent tools for several modeling exercises.


GIS data are made available as a public service by the Florida Natural Areas Inventory. FNAI must be cited as the source of these data in all reports and products making use of these data. These data are updated frequently, and the user is responsible for ensuring the most recent updates are used. FNAI is not responsible for any errors or incompleteness in user analysis or products based on these data.

3a8082e126
Reply all
Reply to author
Forward
0 new messages