Skip to Content
Mastering Geospatial Analysis with Python
book

Mastering Geospatial Analysis with Python

by Silas Toms, Paul Crickard, Eric van Rees
April 2018
Beginner to intermediate content levelBeginner to intermediate
440 pages
11h 36m
English
Packt Publishing
Content preview from Mastering Geospatial Analysis with Python

Editing and updating datasets

Because CARTOframes incorporates the Pandas dataframes objects, which can be edited in memory, and writes to the datasets stored in the CARTO account, we can create scripts that will automate the upload of geospatial data. Datasets can be updated entirely, or individual rows and values can be updated using Pandas data methods such as replace. This, coupled with Builder, the CARTO web-map deployment tool, makes it easy to create GIS with a web-map frontend and cloud data storage that can be managed using scripting.

In this example code, the name of the state that contains the NBA arena is found using the intersect query. The names are added to a list, and the list is added to the arena dataframe as a new column ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Geospatial Analysis with Python

Learning Geospatial Analysis with Python

Joel Lawhead

Publisher Resources

ISBN: 9781788293334Supplemental Content