mirror of
https://github.com/marceloprates/prettymaps.git
synced 2025-08-07 07:06:32 +02:00
Merge branch 'main' of github.com:marceloprates/prettymaps
This commit is contained in:
70
README.md
70
README.md
@@ -94,28 +94,7 @@ prettymaps.presets()
|
|||||||
|
|
||||||
to list all available presets:
|
to list all available presets:
|
||||||
|
|
||||||
|
|
||||||
```python
|
|
||||||
prettymaps.presets()
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<style scoped>
|
|
||||||
.dataframe tbody tr th:only-of-type {
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dataframe tbody tr th {
|
|
||||||
vertical-align: top;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dataframe thead th {
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<table border="1" class="dataframe">
|
<table border="1" class="dataframe">
|
||||||
<thead>
|
<thead>
|
||||||
<tr style="text-align: right;">
|
<tr style="text-align: right;">
|
||||||
@@ -362,38 +341,17 @@ plot = prettymaps.plot(
|
|||||||
)
|
)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
You can access layers's GeoDataFrames directly like this:
|
You can access layers's GeoDataFrames directly like this:
|
||||||
|
|
||||||
|
|
||||||
```python
|
```python
|
||||||
# Run prettymaps in show = False mode (we're only interested in obtaining the GeoDataFrames)
|
# Run prettymaps in show = False mode (we're only interested in obtaining the GeoDataFrames)
|
||||||
plot = prettymaps.plot('Centro Histórico, Porto Alegre', show = False)
|
plot = prettymaps.plot('Centro Histórico, Porto Alegre', show = False)
|
||||||
plot.geodataframes['building']
|
plot.geodataframes['building']
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<style scoped>
|
|
||||||
.dataframe tbody tr th:only-of-type {
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dataframe tbody tr th {
|
|
||||||
vertical-align: top;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dataframe thead th {
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<table border="1" class="dataframe">
|
<table border="1" class="dataframe">
|
||||||
<thead>
|
<thead>
|
||||||
<tr style="text-align: right;">
|
<tr style="text-align: right;">
|
||||||
@@ -948,19 +906,6 @@ display(prettymaps.presets())
|
|||||||
|
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<style scoped>
|
|
||||||
.dataframe tbody tr th:only-of-type {
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dataframe tbody tr th {
|
|
||||||
vertical-align: top;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dataframe thead th {
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<table border="1" class="dataframe">
|
<table border="1" class="dataframe">
|
||||||
<thead>
|
<thead>
|
||||||
<tr style="text-align: right;">
|
<tr style="text-align: right;">
|
||||||
@@ -1025,19 +970,6 @@ display(prettymaps.presets())
|
|||||||
|
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<style scoped>
|
|
||||||
.dataframe tbody tr th:only-of-type {
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dataframe tbody tr th {
|
|
||||||
vertical-align: top;
|
|
||||||
}
|
|
||||||
|
|
||||||
.dataframe thead th {
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<table border="1" class="dataframe">
|
<table border="1" class="dataframe">
|
||||||
<thead>
|
<thead>
|
||||||
<tr style="text-align: right;">
|
<tr style="text-align: right;">
|
||||||
|
Reference in New Issue
Block a user