Spatial operations: नई ज्योमेट्री बनाना

Python में Geospatial Data के साथ काम करना

Joris Van den Bossche

Open source software developer and teacher, GeoPandas maintainer

Spatial operations

Python में Geospatial Data के साथ काम करना

Spatial operations: intersection

Python में Geospatial Data के साथ काम करना

Spatial operations: union

Python में Geospatial Data के साथ काम करना

Spatial operations: difference

Python में Geospatial Data के साथ काम करना

GeoPandas के साथ spatial operations

africa.head()
           name             geometry
0        Angola  (POLYGON ((23.90...
1       Burundi  POLYGON ((29.339...
2         Benin  POLYGON ((2.6917...
3  Burkina Faso  POLYGON ((2.1544...
4      Botswana  POLYGON ((29.432...

Python में Geospatial Data के साथ काम करना

GeoPandas के साथ spatial operations

print(box)
POLYGON ((60 10, 60 -10, -20 -10, -20 10))

Python में Geospatial Data के साथ काम करना

GeoPandas के साथ spatial operations

africa.intersection(box)

Python में Geospatial Data के साथ काम करना

GeoPandas के साथ spatial operations

africa.head()
           name                                           geometry
0        Angola  (POLYGON ((23.90415368011818 -11.7222815894063...
1       Burundi  POLYGON ((29.33999759290035 -4.499983412294092...
2      Botswana  POLYGON ((29.43218834810904 -22.09131275806759...
...
africa.intersection(box)
0    (POLYGON ((13.22332255001795 -10, 13.120987583...
1    POLYGON ((29.33999759290035 -4.499983412294092...
2                                                   ()
...
dtype: object
Python में Geospatial Data के साथ काम करना

अभ्यास करते हैं!

Python में Geospatial Data के साथ काम करना

Preparing Video For Download...