Git Product home page Git Product logo

marceloprates / prettymaps Goto Github PK

View Code? Open in Web Editor NEW
10.8K 10.8K 502.0 94.48 MB

A small set of Python functions to draw pretty maps from OpenStreetMap data. Based on osmnx, matplotlib and shapely libraries.

License: GNU Affero General Public License v3.0

Python 0.37% Jupyter Notebook 99.63% Dockerfile 0.01% Shell 0.01%
cartography generative-art jupyter-notebook maps matplotlib openstreetmap python

prettymaps's People

Contributors

ashirviskas avatar balloob avatar charbelad avatar chrieke avatar g21-goose avatar jonfreer avatar kinow avatar marceloprates avatar matthewfeickert avatar mei-se avatar mfbehrens99 avatar sacovo avatar thejokersthief avatar worldpotato avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

prettymaps's Issues

Coastline Rendering?

I'm sure this is something that you've considered, but how possible is it to render land/ocean using OSM coastline data?

Oakland Harbor Not Rendering Correctly

Hi,

I am rendering a map of West Oakland, CA, using the below code:

layers = {
                    'perimeter': {'circle': False, 'dilate': dilate},
                    'streets': {
                        'width': {
                                'primary': 5,
                                'secondary': 4,
                                'tertiary': 3,
                                'residential': 2,
                                'footway': 1,
                        },
                        'circle': False,
                        'dilate': dilate
                    },
                    'building': {'tags': {'building': True, 'landuse': 'construction'}, 'union': False, 'circle': False, 'dilate': dilate},
                    'water': {'tags': {
                                'waterway': True,
                                'water': True,
                                'harbour': True,
                                'marina': True,
                                'bay': True,
                                'river': True
                     }, 'circle': False, 'dilate': dilate},
                    'green': {'tags': {'landuse': 'grass', 'natural': ['island', 'wood'], 'leisure': 'park'}, 'circle': False, 'dilate': dilate},
                    'forest': {'tags': {'landuse': 'forest'}, 'circle': False, 'dilate': dilate},
                    'parking': {'tags': {'amenity': 'parking', 'highway': 'pedestrian', 'man_made': 'pier'}, 'circle': False, 'dilate': dilate},

                },
                drawing_kwargs = {
                    'background': {'fc': '#F2F4CB', 'ec': '#dadbc1', 'hatch': 'ooo...', 'zorder': -1},
                    'perimeter': {'fc': '#F2F4CB', 'ec': '#dadbc1', 'lw': 0, 'hatch': 'ooo...',  'zorder': 0},
                    'green': {'fc': '#D0F1BF', 'ec': '#2F3737', 'lw': 1, 'zorder': 1},
                    'forest': {'fc': '#64B96A', 'ec': '#2F3737', 'lw': 1, 'zorder': 1},
                    'water': {'fc': '#a1e3ff', 'ec': '#2F3737', 'hatch': 'ooo...', 'hatch_c': '#85c9e6', 'lw': 1, 'zorder': 2},
                    'parking': {'fc': '#F2F4CB', 'ec': '#2F3737', 'lw': 1, 'zorder': 3},
                    'streets': {'fc': '#2F3737', 'ec': '#475657', 'alpha': 1, 'lw': 0, 'zorder': 3},
                    'building': {'palette': ['#FFC857', '#E9724C', '#C5283D'], 'ec': '#2F3737', 'lw': .5, 'zorder': 4},
                },

As you can see, though, my output does not match the OSM map, as the Oakland Inner Harbor is not rendering:
image
image

Any idea what could be going on here?

PyPI

Any plans to put this on PyPI?

Generating an map Example takes a long time and outputs many warnings into console

Cool Library. I noticed the following warnings when recreating the map example:

/python3.9/site-packages/geopandas/_vectorized.py:287: DeprecationWarning: An exception was ignored while fetching the attribute __array_interface__ from an object of type 'MultiLineString'. With the exception of AttributeError NumPy will always raise this exception in the future. Raise this deprecation warning to see the original exception. (Warning added NumPy 1.21)
data[:] = [
/home/vls/proj/haxko/map/venv/lib/python3.9/site-packages/geopandas/_vectorized.py:142: DeprecationWarning: An exception was ignored while fetching the attribute __array_interface__ from an object of type 'Polygon'. With the exception of AttributeError NumPy will always raise this exception in the future. Raise this deprecation warning to see the original exception. (Warning added NumPy 1.21)
aout[:] = out

and it took considerably longer than expected almost 30 seconds

Add OpenStreetMap attribution by default to generated images/maps

First of all, great work on this library. The generated maps look awesome!

I would just like to ask if we can add a copyright notice by default to the generated maps since they are using OpenStreetMap data. For example, we can have a simple "© OpenStreetMap contributors" or "data © OpenStreetMap contributors" at the bottom right of the generated maps similar to the map below.

image

I know this can be done via post-processing but having it automatically generated would be good too. A flag/option can also be implemented such as "osm-credit=true" when running the commands of the library.

See: https://www.openstreetmap.org/copyright

Once again, thank you for this library!

Use geometry from other sources

Great library!
I know it's limited to OpenStreetMap data, but would it be possible to add the feature pulling in geometry from other sources? The geometry could be provided as a GeoDataFrame in the layers key, so the styling drawing_kwargs could be reused for each name.

Large dependancies

Should advice to install in a virtual / conda environment, as it retrieve many dependancies which could break some beginners Python installation with different version of libs than those installed on their OS.

Parts of water not mapped properly

Boston (river) and Lisbon (part of the ocean) are not recognized as water.

As in my other issue: Using a slightly modified version of the circular example with a radius of 2500.

black code formatting

Great repo! Wanted to suggest to apply black code formatting, this would make code contributions easier.

pip install black

To apply to all Python scripts in the current folder and subfolders:

black .

Thank you ❤️

This is a really cool project! The generated maps are looking so awesome! Congratulations! I will use it in my next charity project ☺️☺️☺️

Sorry for opening a new issue for that, but this is the only option leave a comment here ❤️

Missing streets

Hi,

I am using this wonderful tool and I notice that some streets are not visible or are truncated. Here is an example for the City of Ottignies, in Belgium (address: Clinique Saint Pierre, Ottignies, Belgium). In purple there is some missing residential streets. In green there is some missing footways.
ottignies

I am using the script from the Macao example, with path and track added to the drawing.
I don't see in OSM any distinctive traits in the configuration of those streets which could explain the fact that they are not visible.

Best regards,
Simon

Rotation

Hi,

I love your project, thanks for sharing it! Is there any way to rotate the underlying map? I'm doing a city where the roads are just a few degrees off from alignment with North and I'd love to rotate the image. Any tips?

Thanks,

Matt

Using custom bounding area for rendering

At the moment, as far as I am aware, there are 2 ways to define what to render:

  1. Provide an address or coordinates + a radius around that point
  2. Provide an enclosed feature in OSM (region, city, lake, etc.)

I would like to define the area to render by a number of coordinates - e.g. four street corners in a city.

I tried to do it with a Polygon, with a list of coordinates, but it errors out:

Traceback (most recent call last):
  File "/home/jakub-l/prettymap/main.py", line 9, in <module>
    backup = plot(
  File "/home/jakub-l/.pyenv/versions/prettymap/lib/python3.9/site-packages/prettymaps/draw.py", line 189, in plot
    layers = {
  File "/home/jakub-l/.pyenv/versions/prettymap/lib/python3.9/site-packages/prettymaps/draw.py", line 190, in <dictcomp>
    layer: get_layer(
  File "/home/jakub-l/.pyenv/versions/prettymap/lib/python3.9/site-packages/prettymaps/fetch.py", line 132, in get_layer
    return unary_union(ox.project_gdf(kwargs['perimeter']).geometry)
  File "/home/jakub-l/.pyenv/versions/prettymap/lib/python3.9/site-packages/osmnx/projection.py", line 72, in project_gdf
    if gdf.crs is None or len(gdf) < 1:
AttributeError: 'Polygon' object has no attribute 'crs'

Washington DC not horizontal rendered

Hi, i was just trying to render Washington DC (38.89872,-77.03654).

Open street Maps Map of Washington shows me that all streets are horizontal East-West.

But when i render it, it looks like this:
washington

Just a bit rotated.... I used following Notebook:
Washington.pdf

Is there any explanation to that phenomena? Can i rotate the location but still render as a horizontal square?

Thanks

by_osmid does not work

Traceback (most recent call last):
  File "render.py", line 33, in <module>
    by_osmid = True,
  File "/mnt/c/users/mfbeh/documents/prettymaps/code/draw.py", line 146, in plot
    **({'point': point, 'radius': radius} if circle else {'perimeter': perimeter}),
UnboundLocalError: local variable 'point' referenced before assignment

Else can probably just been inserted in after draw.py:129 where a point is defined

Licence

I fully understand the change of the licence and absolute support it. But I don't think CC is not the correct one since it is more for art and scientific papers etc.

See githubs desciption:
The most common license for Open Access scientific publications. Not recommended for software.

I propose GPL 3.0

trees

Hi!

Love the libray!

Was thinking about using it to make a treasure hunt map for my son and his friends. It's perfect, apart from that I can't quite figure out how to plot individual trees (clues will be hidden in them!). I can see them in open street map, I've figured out the tag I think, I just can't quite figure out how to render them.

I was wondering - is there something special about rendering this sort of thing? Maybe it's a point, rather than a polygon?

Thanks again!

Mike

Notebook broke due to dependency problem

Hi,

the linked example notebook broke (regardless of whether it's executed on Binder or Colab) with the following dependency problem:

There are some problems showing when initially executing the first cell. When executing the second cell afterwards I get this:

ContextualVersionConflict: (scipy 1.4.1 (/usr/local/lib/python3.7/dist-packages), Requirement.parse('scipy<2.0,>=1.6'), {'vpype'})

GPX data

Hey,

I love the the package. The maps look really great.

Is it possible to use gpx data to generate the maps? For instance by rendering a map around a gpx track or/and by rendering a gpx track layer?

That would be super cool to visualize trekking/hiking/bike tours.

Best,
Sebastian

ValueError: OSM did not return any polygonal geometries for query

Hi all,
I just wanted to plot my 'hood' and some adjacent districts, so i basically took the example from the notebook and ran it.

from shapely.ops import unary_union
from shapely.affinity import *
from shapely.geometry import *
from descartes import PolygonPatch
from matplotlib import pyplot as plt
import matplotlib.font_manager as fm
import osmnx as ox
from prettymaps import *
import sys
from datetime import datetime
import re

sys.path.append('../')
fig, ax = plt.subplots(figsize = (15, 12), constrained_layout = True)
fig.patch.set_facecolor('#F9F8F8')

places = {
    'Wiesenau, Hannover, Deutschland': ['#49392C', '#77625C', '#B2B1CF', '#E1F2FE', '#98D2EB'],
    'Brink-Hafen, Hannover, Deutschland': ['#EEE4E1', '#E7D8C9', '#E6BEAE'],
    'Vinnhorst, Hannover, Deutschland': ['#BA2D0B', '#D5F2E3', '#73BA9B', '#F79D5C'],
}

for i, (place, palette) in enumerate(places.items()):
    plot(
        place,
        ax = ax,
        layers = {
            'perimeter': {},
            'streets': {
                'width': {
                    'trunk': 6,
                    'primary': 6,
                    'secondary': 5,
                    'tertiary': 4,
                    'residential': 3.5,
                    'pedestrian': 3,
                    'footway': 3,
                    'path': 3,
                }
            },
            'building': {'tags': {'building': True, 'leisure': ['track', 'pitch']}, 'union': False},
            'water': {'tags': {'natural': ['water', 'bay']}},
            'park': {'tags': {'leisure': 'park'}},
            'forest': {'tags': {'landuse': 'forest'}},
            'garden': {'tags': {'leisure': 'garden'}},
        },
        drawing_kwargs = {
            'perimeter': {'fill': False, 'lw': 0, 'zorder': 0},
            'park': {'fc': '#AABD8C', 'ec': '#87996b', 'lw': 1, 'zorder': 1},
            'forest': {'fc': '#78A58D', 'ec': '#658a76', 'lw': 1, 'zorder': 1},
            'garden': {'fc': '#a9d1a9', 'ec': '#8ab58a', 'lw': 1, 'zorder': 1},
            'water': {'fc': '#92D5F2', 'ec': '#6da8c2', 'lw': 1, 'zorder': 2},
            'streets': {'fc': '#F1E6D0', 'ec': '#2F3737', 'lw': 1.5, 'zorder': 3},
            'building': {'palette': palette, 'ec': '#2F3737', 'lw': 1, 'zorder': 4},
        },

        osm_credit = {'x': -.55, 'y': -.25, 'color': '#2F3737'} if i == 0 else None
    )

ax.autoscale()

#plt.savefig('../prints/bomfim-farroupilha-cidadebaixa.png')
#plt.savefig('../prints/bomfim-farroupilha-cidadebaixa.svg')

but it failed with the error message

Traceback (most recent call last):
  File "error.py", line 24, in <module>
    plot(
  File "/home/kamil/.local/lib/python3.8/site-packages/prettymaps/draw.py", line 226, in plot
    else get_perimeter(query, by_osmid=query_mode == "osmid")
  File "/home/kamil/.local/lib/python3.8/site-packages/prettymaps/fetch.py", line 80, in get_perimeter
    return ox.geocode_to_gdf(
  File "/home/kamil/.local/lib/python3.8/site-packages/osmnx/geocoder.py", line 110, in geocode_to_gdf
    gdf = gdf.append(_geocode_query_to_gdf(q, wr, by_osmid))
  File "/home/kamil/.local/lib/python3.8/site-packages/osmnx/geocoder.py", line 166, in _geocode_query_to_gdf
    result = _get_first_polygon(results, query)
  File "/home/kamil/.local/lib/python3.8/site-packages/osmnx/geocoder.py", line 230, in _get_first_polygon
    raise ValueError(f'OSM did not return any polygonal geometries for query "{query}"')
ValueError: OSM did not return any polygonal geometries for query "Brink-Hafen, Hannover, Deutschland"

After that I´ve took a look at the relationat OSM: Brink-Hafen Relation
There is one part which is not connected to the other, could it be the cause of the issue ?

Regards

Disappointed !

Whatever the solution I try, I have an error. I'm so disappointed !!

With Colab :
here the error after the build instruction (fig, ax = plt.subplots(figsize = (12, 12), constrained_layout = True)...)

ImportError
Traceback (most recent call last)
in ()
41 )
42
---> 43 plt.savefig('../prints/macao.png')
44 plt.savefig('../prints/macao.svg')

3 frames
/usr/local/lib/python3.7/dist-packages/matplotlib/backends/backend_agg.py in print_png(self, filename_or_obj, metadata, pil_kwargs, *args, **kwargs)
503 Keyword arguments passed to PIL.Image.Image.save.
504
--> 505 If the 'pnginfo' key is present, it completely overrides
506 metadata, including the default 'Software' key.
507 """

ImportError: cannot import name '_png' from 'matplotlib' (/usr/local/lib/python3.7/dist-packages/matplotlib/init.py)

With my Mac, it's worth.
I have a Mac Mini M1 and a Macbook Pro Intel.
pip install git+https://github.com/marceloprates/prettymaps.git make an error. I'm sure my pip is useful because I often use it !

With a PC under Windows 10, same issue !

The only way I don't try it's Linux way. I'm going to try it !

I will be so happy when I will succeed to product a map !
Can somebody help me ?

shapely.geos:TopologyException: depth mismatch at at 552100 5277600

ERROR:shapely.geos:TopologyException: depth mismatch at  at 552100 5277600
Traceback (most recent call last):
  File "maps.py", line 18, in <module>
    layers = plot(
  File "/home/***/.local/lib/python3.8/site-packages/prettymaps/draw.py", line 189, in plot
    layers = {
  File "/home/***/.local/lib/python3.8/site-packages/prettymaps/draw.py", line 190, in <dictcomp>
    layer: get_layer(
  File "/home/***/.local/lib/python3.8/site-packages/prettymaps/fetch.py", line 146, in get_layer
    return get_streets(**kwargs, layer = layer)
  File "/home/***/.local/lib/python3.8/site-packages/prettymaps/fetch.py", line 109, in get_streets
    streets = unary_union([
  File "/home/***/.local/lib/python3.8/site-packages/prettymaps/fetch.py", line 111, in <listcomp>
    MultiLineString(
  File "/home/***/.local/lib/python3.8/site-packages/shapely/geometry/base.py", line 637, in buffer
    return geom_factory(self.impl['buffer_with_params'](self, params, distance))
  File "/home/***/.local/lib/python3.8/site-packages/shapely/geometry/base.py", line 78, in geom_factory
    raise ValueError("No Shapely geometry can be created from null value")
ValueError: No Shapely geometry can be created from null value

To reproduce:

  • Use the Barcelona, Spain (square plot with rounded edges) example
  • Change the plot coordinates and radius to (47.606292888654316, -122.33203340169379), radius = 5000
  • Run script

Error adding railway layer

I added 'railway': {}' to my config, and it results in the error NotImplementedError: Multi-part geometries do not themselves provide the array interface. I have also tried 'railway': {'custom_filter': '["railway"~"rail"]'} and it gives ValueError: Found no graph nodes within the requested polygon. I have tested it without railway to ensure the output area does indeed contain a line with railway=rail.

Error with installation on Python 3.9

If I follow the installation instructions, vsketch works, but for prettymaps I get the following error:

pip install "git+https://github.com/marceloprates/prettymaps.git"
Defaulting to user installation because normal site-packages is not writeable
Collecting git+https://github.com/marceloprates/prettymaps.git
  Cloning https://github.com/marceloprates/prettymaps.git to /tmp/pip-req-build-9bvx3_4y
  Running command git clone -q https://github.com/marceloprates/prettymaps.git /tmp/pip-req-build-9bvx3_4y
ERROR: Exception:
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 223, in _main
    status = self.run(options, args)
  File "/usr/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 180, in wrapper
    return func(self, options, args)
  File "/usr/lib/python3.9/site-packages/pip/_internal/commands/install.py", line 320, in run
    requirement_set = resolver.resolve(
  File "/usr/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 121, in resolve
    self._result = resolver.resolve(
  File "/usr/lib/python3.9/site-packages/resolvelib/resolvers.py", line 454, in resolve
    state = resolution.resolve(requirements, max_rounds=max_rounds)
  File "/usr/lib/python3.9/site-packages/resolvelib/resolvers.py", line 319, in resolve
    name, crit = self._merge_into_criterion(r, parent=None)
  File "/usr/lib/python3.9/site-packages/resolvelib/resolvers.py", line 176, in _merge_into_criterion
    crit = Criterion.from_requirement(self._p, requirement, parent)
  File "/usr/lib/python3.9/site-packages/resolvelib/resolvers.py", line 80, in from_requirement
    cands = build_iter_view(matches)
  File "/usr/lib/python3.9/site-packages/resolvelib/structs.py", line 148, in build_iter_view
    matches = list(matches)
  File "/usr/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 285, in <genexpr>
    if constraint.is_satisfied_by(c)
  File "/usr/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/base.py", line 66, in is_satisfied_by
    return self.specifier.contains(candidate.version, prereleases=True)
  File "/usr/lib/python3.9/site-packages/packaging/specifiers.py", line 790, in contains
    item = parse(item)
  File "/usr/lib/python3.9/site-packages/packaging/version.py", line 57, in parse
    return Version(version)
  File "/usr/lib/python3.9/site-packages/packaging/version.py", line 296, in __init__
    match = self._regex.search(version)
TypeError: expected string or bytes-like object

This is within a Miniconda environment using Python 3.9. Is there a way to fix this?

commercial usage

Hey friend great library

Im asking for my use case my dev job has me kinda risking a full burnout
so im willing to leave it for a while. I saw in your project a cool idea:

sell framed pictures of world maps

Then i have to ask. Can i use your project to generate a map and sell it
The market will be local fairs and instagram. What u think?

Errror install in windows

Microsoft Windows [Version 10.0.19042.1165]
(c) Microsoft Corporation. All rights reserved.

E:\API\Python\prettymaps>pip install .
Processing e:\api\python\prettymaps
DEPRECATION: A future pip version will change local packages to be built in-place without first copying to a temporary directory. We recommend you use --use-feature=in-tree-build to test your packages with this new behavior before it becomes the default.
pip 21.3 will remove support for this functionality. You can find discussion regarding this at pypa/pip#7555.
Collecting osmnx==1.0.1
Using cached osmnx-1.0.1-py2.py3-none-any.whl (87 kB)
Collecting tabulate==0.8.9
Using cached tabulate-0.8.9-py3-none-any.whl (25 kB)
Requirement already satisfied: matplotlib>=3.3 in c:\users\chuong.ho\appdata\local\programs\python\python39\lib\site-packages (from osmnx==1.0.1->prettymaps==0.1.3) (3.4.2)
Requirement already satisfied: networkx>=2.5 in c:\users\chuong.ho\appdata\local\programs\python\python39\lib\site-packages (from osmnx==1.0.1->prettymaps==0.1.3) (2.6.2)
Requirement already satisfied: requests>=2.25 in c:\users\chuong.ho\appdata\local\programs\python\python39\lib\site-packages (from osmnx==1.0.1->prettymaps==0.1.3) (2.26.0)
Collecting geopandas>=0.8
Using cached geopandas-0.10.1-py2.py3-none-any.whl (1.0 MB)
Requirement already satisfied: pyproj>=2.6 in c:\users\chuong.ho\appdata\local\programs\python\python39\lib\site-packages (from osmnx==1.0.1->prettymaps==0.1.3) (3.2.1)
Requirement already satisfied: pandas>=1.1 in c:\users\chuong.ho\appdata\local\programs\python\python39\lib\site-packages (from osmnx==1.0.1->prettymaps==0.1.3) (1.3.0)
Requirement already satisfied: numpy>=1.19 in c:\users\chuong.ho\appdata\local\programs\python\python39\lib\site-packages (from osmnx==1.0.1->prettymaps==0.1.3) (1.19.5)
Collecting descartes>=1.1
Using cached descartes-1.1.0-py3-none-any.whl (5.8 kB)
Requirement already satisfied: Shapely>=1.7 in c:\users\chuong.ho\appdata\local\programs\python\python39\lib\site-packages (from osmnx==1.0.1->prettymaps==0.1.3) (1.7.1)
Collecting Rtree>=0.9
Using cached Rtree-0.9.7-cp39-cp39-win_amd64.whl (424 kB)
Collecting fiona>=1.8
Using cached Fiona-1.8.20.tar.gz (1.3 MB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\chuong.ho\appdata\local\programs\python\python39\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_050fd431430e406889c16c99b92467f2\setup.py'"'"'; file='"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_050fd431430e406889c16c99b92467f2\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-pip-egg-info-h3f96n44'
cwd: C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_050fd431430e406889c16c99b92467f2
Complete output (1 lines):
A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/ec/f7/093890341a7e8fbfcdfa04caf4dfb588ebab32c13ceaa6a3819da79ea106/Fiona-1.8.20.tar.gz#sha256=a70502d2857b82f749c09cb0dea3726787747933a2a1599b5ab787d74e3c143b (from https://pypi.org/simple/fiona/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached Fiona-1.8.19.tar.gz (1.3 MB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\chuong.ho\appdata\local\programs\python\python39\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_052864dada4d49fdab2b6c5b82d20a4e\setup.py'"'"'; file='"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_052864dada4d49fdab2b6c5b82d20a4e\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-pip-egg-info-7wenzden'
cwd: C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_052864dada4d49fdab2b6c5b82d20a4e
Complete output (1 lines):
A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/a0/d9/6042aeb073d11341f7726de0586ff71c13117c34959dcf07bd4ee6d4b93e/Fiona-1.8.19.tar.gz#sha256=b9059e0b29c2e9e6b817e53f941e77e1aca7075f986005d38db307067b60458f (from https://pypi.org/simple/fiona/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached Fiona-1.8.18.tar.gz (1.3 MB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\chuong.ho\appdata\local\programs\python\python39\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_4b7375f937b04634936aaa637c9776a5\setup.py'"'"'; file='"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_4b7375f937b04634936aaa637c9776a5\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-pip-egg-info-sw9y2agz'
cwd: C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_4b7375f937b04634936aaa637c9776a5
Complete output (1 lines):
A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/9f/e8/401cdaa58d862a25c4b3365acf7d2bd7ac77191e3dc9acdcdac0eff20ff0/Fiona-1.8.18.tar.gz#sha256=b732ece0ff8886a29c439723a3e1fc382718804bb057519d537a81308854967a (from https://pypi.org/simple/fiona/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached Fiona-1.8.17.tar.gz (1.3 MB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\chuong.ho\appdata\local\programs\python\python39\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_33545010c3784385a13df1e4b985f183\setup.py'"'"'; file='"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_33545010c3784385a13df1e4b985f183\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-pip-egg-info-ypserqq5'
cwd: C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_33545010c3784385a13df1e4b985f183
Complete output (1 lines):
A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/88/62/69347ba2c41b526e1953c4cb66d51170b2869808863c03af202ba0121670/Fiona-1.8.17.tar.gz#sha256=716201c21246587f374785bec6d6a20a984fe1f6c2b0e83bf15127eb8f724d0c (from https://pypi.org/simple/fiona/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached Fiona-1.8.16.tar.gz (1.3 MB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\chuong.ho\appdata\local\programs\python\python39\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_666fe564410948f5adf876ec7f66f4db\setup.py'"'"'; file='"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_666fe564410948f5adf876ec7f66f4db\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-pip-egg-info-64_zhkzy'
cwd: C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_666fe564410948f5adf876ec7f66f4db
Complete output (1 lines):
A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/1e/60/dfc6115a11338d8aa96cacd8c60635223d9c97d61d556c90acc5dfd663fa/Fiona-1.8.16.tar.gz#sha256=fd6dfb65959becc916e9f6928618bfd59c16cdbc413ece0fbac61489cd11255f (from https://pypi.org/simple/fiona/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached Fiona-1.8.15.tar.gz (1.3 MB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\chuong.ho\appdata\local\programs\python\python39\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_309afa8adb3844e581a6fd108665a092\setup.py'"'"'; file='"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_309afa8adb3844e581a6fd108665a092\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-pip-egg-info-5thd6d6y'
cwd: C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_309afa8adb3844e581a6fd108665a092
Complete output (1 lines):
A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/55/2f/17450ec2c8fcc720a8a3e4d9a383499508475c7cfb90f7eca9fb585ac598/Fiona-1.8.15.tar.gz#sha256=3b1c9b5c834fae2fe947cfaea176db890bc6750d1a6ba9f54d969c19ffcd191e (from https://pypi.org/simple/fiona/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached Fiona-1.8.14.tar.gz (1.3 MB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\chuong.ho\appdata\local\programs\python\python39\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_9c864889b74e46e395af43332f981ded\setup.py'"'"'; file='"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_9c864889b74e46e395af43332f981ded\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-pip-egg-info-x9981y73'
cwd: C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_9c864889b74e46e395af43332f981ded
Complete output (1 lines):
A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/5c/fd/5ec54f2d9b3d5dd23dd443fad5630d6b872e2664814c68b856c47e0d65af/Fiona-1.8.14.tar.gz#sha256=6eac038206c89d2cf5f99ea38b81cc228dc21eac5f47870a9a32d453b0007f4d (from https://pypi.org/simple/fiona/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached Fiona-1.8.13.post1.tar.gz (1.2 MB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\chuong.ho\appdata\local\programs\python\python39\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_625c632c31c94fad81d2eb8c2f2bfdd8\setup.py'"'"'; file='"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_625c632c31c94fad81d2eb8c2f2bfdd8\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-pip-egg-info-ergnm1zs'
cwd: C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_625c632c31c94fad81d2eb8c2f2bfdd8
Complete output (1 lines):
A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/6d/42/f4a7cac53b28fa70e9a93d0e89a24d33e14826dad6644b699362ad84dde0/Fiona-1.8.13.post1.tar.gz#sha256=1a432bf9fd56f089256c010da009c90d4a795c531a848132c965052185336600 (from https://pypi.org/simple/fiona/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached Fiona-1.8.13.tar.gz (1.2 MB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\chuong.ho\appdata\local\programs\python\python39\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_29c4d452d6eb40b1a7e462692a4c6a23\setup.py'"'"'; file='"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_29c4d452d6eb40b1a7e462692a4c6a23\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-pip-egg-info-9q2f2woq'
cwd: C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_29c4d452d6eb40b1a7e462692a4c6a23
Complete output (1 lines):
A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/be/04/31d0a6f03943b1684f32c9b861be40c1fd282468fa6bd54ddf4a774e6b0f/Fiona-1.8.13.tar.gz#sha256=5ec34898c8b983a723fb4e949dd3e0ed7e691c303e51f6bfd61e52ac9ac813ae (from https://pypi.org/simple/fiona/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached Fiona-1.8.12.tar.gz (1.2 MB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\chuong.ho\appdata\local\programs\python\python39\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_c09600f4abf74c2fb50d5df2fa5f69ba\setup.py'"'"'; file='"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_c09600f4abf74c2fb50d5df2fa5f69ba\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-pip-egg-info-swdhp3b9'
cwd: C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_c09600f4abf74c2fb50d5df2fa5f69ba
Complete output (1 lines):
A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/97/d8/feab39987296437fbdc3029fb39752a14355d217d73b93471010b8dd63a3/Fiona-1.8.12.tar.gz#sha256=c9266ddf6ae2a64fcea20014ddf27f800ac07584f2fdb09c2a02f3b3a52e371c (from https://pypi.org/simple/fiona/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached Fiona-1.8.11.tar.gz (1.2 MB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\chuong.ho\appdata\local\programs\python\python39\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_0571a7bc32744db0b931764b964fe4c4\setup.py'"'"'; file='"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_0571a7bc32744db0b931764b964fe4c4\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-pip-egg-info-6fu79q8p'
cwd: C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_0571a7bc32744db0b931764b964fe4c4
Complete output (1 lines):
A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/9d/f4/0a0ddc6174c4a93679b5f1dd3535e7ef8989828e6d5f86112de681f8c87b/Fiona-1.8.11.tar.gz#sha256=1e7ca9e051f5bffa1c43c70d573da9ca223fc076b84fa73380614fc02b9eb7f6 (from https://pypi.org/simple/fiona/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached Fiona-1.8.10.tar.gz (1.2 MB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\chuong.ho\appdata\local\programs\python\python39\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_1365b55a12ea4b25b75cdede91a99df1\setup.py'"'"'; file='"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_1365b55a12ea4b25b75cdede91a99df1\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-pip-egg-info-iunzox_r'
cwd: C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_1365b55a12ea4b25b75cdede91a99df1
Complete output (1 lines):
A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/13/73/f80b491ed8559326fab202a6d6333a3cd6e8be1e9d782bc6c0d03d476457/Fiona-1.8.10.tar.gz#sha256=ff562eb2f3960e21f8c7f050ddd7f47a763869ea14afc2234a40df72666c6a2c (from https://pypi.org/simple/fiona/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached Fiona-1.8.9.post2.tar.gz (1.2 MB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\chuong.ho\appdata\local\programs\python\python39\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_ee56f6d962a6413db0422c50f0ba578f\setup.py'"'"'; file='"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_ee56f6d962a6413db0422c50f0ba578f\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-pip-egg-info-tjm7fdhg'
cwd: C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_ee56f6d962a6413db0422c50f0ba578f
Complete output (1 lines):
A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/9b/52/45e75507660ce0e86176d0f59b659560f687e2c7e9ebf82a10e7dcd2d3b7/Fiona-1.8.9.post2.tar.gz#sha256=210fb038b579fab38f35ddbdd31b9725f4d5099b3edfd4b87c983e5d47b79983 (from https://pypi.org/simple/fiona/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached Fiona-1.8.9.post1.tar.gz (1.2 MB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\chuong.ho\appdata\local\programs\python\python39\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_1359b67678084d67b2ca89c79ddd17b7\setup.py'"'"'; file='"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_1359b67678084d67b2ca89c79ddd17b7\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-pip-egg-info-ooa655z7'
cwd: C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_1359b67678084d67b2ca89c79ddd17b7
Complete output (1 lines):
A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/0e/a4/d9dd7399be809d3990f5000fb6ae43189ea26ae88be1bed3a4c9ddc1becc/Fiona-1.8.9.post1.tar.gz#sha256=d5e0ea0b8addffe9cba4cb59e2bd495b015230e7a1b1597974f5048211930199 (from https://pypi.org/simple/fiona/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached Fiona-1.8.9.tar.gz (1.2 MB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\chuong.ho\appdata\local\programs\python\python39\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_d619c53fa56f43b79635847d89f35994\setup.py'"'"'; file='"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_d619c53fa56f43b79635847d89f35994\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-pip-egg-info-ecauqsml'
cwd: C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_d619c53fa56f43b79635847d89f35994
Complete output (1 lines):
A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/ad/92/dcbd8c54d697c22f299b5af63b6df3acfbd06c6d72e249614c05be99337c/Fiona-1.8.9.tar.gz#sha256=4dd6e2f5327c1174143c7c8594a75d373bc72f2c9a2a6daee312c3186a128add (from https://pypi.org/simple/fiona/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached Fiona-1.8.8.tar.gz (1.7 MB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\chuong.ho\appdata\local\programs\python\python39\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_a3a8062f09354830acf3e10ecd5c1982\setup.py'"'"'; file='"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_a3a8062f09354830acf3e10ecd5c1982\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-pip-egg-info-ngr2jlya'
cwd: C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_a3a8062f09354830acf3e10ecd5c1982
Complete output (1 lines):
A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/94/7f/e288db1ad63d759d494c30caae34f865e0c6927588c490705e91b7134193/Fiona-1.8.8.tar.gz#sha256=711c3be73203b37812992089445a1e4e9d3d6b64e667389f7b15406e15a91e83 (from https://pypi.org/simple/fiona/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached Fiona-1.8.7.tar.gz (1.7 MB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\chuong.ho\appdata\local\programs\python\python39\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_07ce050cef53428c8f46416d0cef270e\setup.py'"'"'; file='"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_07ce050cef53428c8f46416d0cef270e\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-pip-egg-info-kp9oahob'
cwd: C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_07ce050cef53428c8f46416d0cef270e
Complete output (1 lines):
A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/78/62/daafd070aebefa639df247705b97f13f7cfad43895581b5cae41bd886709/Fiona-1.8.7.tar.gz#sha256=a55a23615bad3e142d4e4cda97bb5de83c778a80049222e9dffae93c13b5cf93 (from https://pypi.org/simple/fiona/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached Fiona-1.8.6.tar.gz (1.7 MB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\chuong.ho\appdata\local\programs\python\python39\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_6ffc5d017d224c0d817a24c59649601f\setup.py'"'"'; file='"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_6ffc5d017d224c0d817a24c59649601f\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-pip-egg-info-ptala907'
cwd: C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_6ffc5d017d224c0d817a24c59649601f
Complete output (1 lines):
A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/41/9d/63696e7b1de42aad294d4781199a408bec593d8fdb80a2b4a788c911a33b/Fiona-1.8.6.tar.gz#sha256=fa31dfe8855b9cd0b128b47a4df558f1b8eda90d2181bff1dd9854e5556efb3e (from https://pypi.org/simple/fiona/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached Fiona-1.8.5.tar.gz (1.7 MB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\chuong.ho\appdata\local\programs\python\python39\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_77157fb538cd486bb73ad9007c82d7cc\setup.py'"'"'; file='"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_77157fb538cd486bb73ad9007c82d7cc\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-pip-egg-info-37eg5b74'
cwd: C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_77157fb538cd486bb73ad9007c82d7cc
Complete output (1 lines):
A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/7b/af/1c2c83c4a8363a4ce9fea817b1910b5e071bed012e18257faa2a0ab3cfe7/Fiona-1.8.5.tar.gz#sha256=4f5cc2d449edbbf693c83e24cdada72de7c41297383d16fcc92387eb445e9d35 (from https://pypi.org/simple/fiona/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached Fiona-1.8.4.tar.gz (1.1 MB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\chuong.ho\appdata\local\programs\python\python39\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_0ff1ede451774747a34143b7ae4f9665\setup.py'"'"'; file='"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_0ff1ede451774747a34143b7ae4f9665\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-pip-egg-info-85iiv2e9'
cwd: C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_0ff1ede451774747a34143b7ae4f9665
Complete output (1 lines):
A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/3a/16/84960540e9fce61d767fd2f0f1d95f4c63e99ab5d8fddc308e8b51b059b8/Fiona-1.8.4.tar.gz#sha256=aec9ab2e3513c9503ec123b1a8573bee55fc6a66e2ac07088c3376bf6738a424 (from https://pypi.org/simple/fiona/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached Fiona-1.8.3.tar.gz (1.1 MB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\chuong.ho\appdata\local\programs\python\python39\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_11c48561c8674657a685871dd702bce7\setup.py'"'"'; file='"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_11c48561c8674657a685871dd702bce7\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-pip-egg-info-0i3c5y80'
cwd: C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_11c48561c8674657a685871dd702bce7
Complete output (1 lines):
A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/46/d1/fcdb32513a03abfde0d97fd9782ce0f8cc0540fa6c6ce783e87b94064964/Fiona-1.8.3.tar.gz#sha256=3e831100a23c3b6cd32b98baf0c9e2119d909b44a5cf4533d3625f61dcf2d2b1 (from https://pypi.org/simple/fiona/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached Fiona-1.8.2.tar.gz (1.2 MB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\chuong.ho\appdata\local\programs\python\python39\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_be61da90d937453da0bf3303f8bb7b5c\setup.py'"'"'; file='"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_be61da90d937453da0bf3303f8bb7b5c\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-pip-egg-info-5hfc7xbs'
cwd: C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_be61da90d937453da0bf3303f8bb7b5c
Complete output (1 lines):
A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/25/50/0466d5d83e1859c5ca38351ee932d64cc5635f9d4dad522879e58f4b0018/Fiona-1.8.2.tar.gz#sha256=4c6419b7ac29136708029f6a44b4ccd458735a4d241016c7b1bab41685c08d8f (from https://pypi.org/simple/fiona/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached Fiona-1.8.1.tar.gz (1.1 MB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\chuong.ho\appdata\local\programs\python\python39\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_78cc559efb9749e9a45154eb7afa31b0\setup.py'"'"'; file='"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_78cc559efb9749e9a45154eb7afa31b0\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-pip-egg-info-lyzn1jqs'
cwd: C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_78cc559efb9749e9a45154eb7afa31b0
Complete output (1 lines):
A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/3e/5f/0c6704efeea2ff3fba7f54cc6ec38070157f21bc1cffa7bdfa7c9f6b8f7a/Fiona-1.8.1.tar.gz#sha256=4c34bb4c5cd788aaf14e5484c3b7de407b1a8a7c7b2d29bbb2e8b37931e83b8d (from https://pypi.org/simple/fiona/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached Fiona-1.8.0.tar.gz (1.4 MB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\chuong.ho\appdata\local\programs\python\python39\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_106c3693a9a647a08aa846f6cd5a305a\setup.py'"'"'; file='"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_106c3693a9a647a08aa846f6cd5a305a\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-pip-egg-info-itumwmim'
cwd: C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_106c3693a9a647a08aa846f6cd5a305a
Complete output (1 lines):
A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/2a/bd/c1efc2680f338e5941121c776d6323af6b9698ac739e22ba523cee348a7f/Fiona-1.8.0.tar.gz#sha256=20141a9ece06daa7bb4333fba640c2fe39a49f8aca5492d1da8595d41e91844a (from https://pypi.org/simple/fiona/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Collecting geopandas>=0.8
Using cached geopandas-0.10.0-py2.py3-none-any.whl (1.0 MB)
Using cached geopandas-0.9.0-py2.py3-none-any.whl (994 kB)
Using cached geopandas-0.8.2-py2.py3-none-any.whl (962 kB)
Collecting fiona
Using cached Fiona-1.7.13.tar.gz (731 kB)
Requirement already satisfied: python-dateutil>=2.7 in c:\users\chuong.ho\appdata\local\programs\python\python39\lib\site-packages (from matplotlib>=3.3->osmnx==1.0.1->prettymaps==0.1.3) (2.8.1)
Requirement already satisfied: cycler>=0.10 in c:\users\chuong.ho\appdata\local\programs\python\python39\lib\site-packages (from matplotlib>=3.3->osmnx==1.0.1->prettymaps==0.1.3) (0.10.0)
Requirement already satisfied: pillow>=6.2.0 in c:\users\chuong.ho\appdata\local\programs\python\python39\lib\site-packages (from matplotlib>=3.3->osmnx==1.0.1->prettymaps==0.1.3) (8.3.1)
Requirement already satisfied: pyparsing>=2.2.1 in c:\users\chuong.ho\appdata\local\programs\python\python39\lib\site-packages (from matplotlib>=3.3->osmnx==1.0.1->prettymaps==0.1.3) (2.4.7)
Requirement already satisfied: kiwisolver>=1.0.1 in c:\users\chuong.ho\appdata\local\programs\python\python39\lib\site-packages (from matplotlib>=3.3->osmnx==1.0.1->prettymaps==0.1.3) (1.3.1)
Requirement already satisfied: six in c:\users\chuong.ho\appdata\local\programs\python\python39\lib\site-packages (from cycler>=0.10->matplotlib>=3.3->osmnx==1.0.1->prettymaps==0.1.3) (1.15.0)
Requirement already satisfied: pytz>=2017.3 in c:\users\chuong.ho\appdata\local\programs\python\python39\lib\site-packages (from pandas>=1.1->osmnx==1.0.1->prettymaps==0.1.3) (2021.1)
Requirement already satisfied: certifi in c:\users\chuong.ho\appdata\local\programs\python\python39\lib\site-packages (from pyproj>=2.6->osmnx==1.0.1->prettymaps==0.1.3) (2021.5.30)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\chuong.ho\appdata\local\programs\python\python39\lib\site-packages (from requests>=2.25->osmnx==1.0.1->prettymaps==0.1.3) (1.26.6)
Requirement already satisfied: charset-normalizer~=2.0.0 in c:\users\chuong.ho\appdata\local\programs\python\python39\lib\site-packages (from requests>=2.25->osmnx==1.0.1->prettymaps==0.1.3) (2.0.4)
Requirement already satisfied: idna<4,>=2.5 in c:\users\chuong.ho\appdata\local\programs\python\python39\lib\site-packages (from requests>=2.25->osmnx==1.0.1->prettymaps==0.1.3) (3.2)
Requirement already satisfied: cligj>=0.4 in c:\users\chuong.ho\appdata\local\programs\python\python39\lib\site-packages (from fiona->geopandas>=0.8->osmnx==1.0.1->prettymaps==0.1.3) (0.7.2)
Requirement already satisfied: click-plugins in c:\users\chuong.ho\appdata\local\programs\python\python39\lib\site-packages (from fiona->geopandas>=0.8->osmnx==1.0.1->prettymaps==0.1.3) (1.1.1)
Requirement already satisfied: munch in c:\users\chuong.ho\appdata\local\programs\python\python39\lib\site-packages (from fiona->geopandas>=0.8->osmnx==1.0.1->prettymaps==0.1.3) (2.5.0)
Requirement already satisfied: click>=4.0 in c:\users\chuong.ho\appdata\local\programs\python\python39\lib\site-packages (from cligj>=0.4->fiona->geopandas>=0.8->osmnx==1.0.1->prettymaps==0.1.3) (8.0.1)
Requirement already satisfied: colorama in c:\users\chuong.ho\appdata\roaming\python\python39\site-packages (from click>=4.0->cligj>=0.4->fiona->geopandas>=0.8->osmnx==1.0.1->prettymaps==0.1.3) (0.4.4)
Building wheels for collected packages: prettymaps, fiona
Building wheel for prettymaps (setup.py) ... done
Created wheel for prettymaps: filename=prettymaps-0.1.3-py3-none-any.whl size=19321 sha256=34b85e667e703d2433e50699f1aa59cace6cbaa0a6d486cd4ec6ac3642e35b9d
Stored in directory: C:\Users\Chuong.Ho\AppData\Local\Temp\pip-ephem-wheel-cache-sqhg6u8y\wheels\41\d9\6c\b71b8bf41fac10f034dad9e492451c75945bea8181c0a2345e
Building wheel for fiona (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\chuong.ho\appdata\local\programs\python\python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_f3fb8768b6ca49a587ec16dc50826dc7\setup.py'"'"'; file='"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_f3fb8768b6ca49a587ec16dc50826dc7\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-wheel-wh5jexh4'
cwd: C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_f3fb8768b6ca49a587ec16dc50826dc7
Complete output (48 lines):
c:\users\chuong.ho\appdata\local\programs\python\python39\lib\distutils\dist.py:274: UserWarning: Unknown distribution option: 'metadata_version'
warnings.warn(msg)
c:\users\chuong.ho\appdata\local\programs\python\python39\lib\distutils\dist.py:274: UserWarning: Unknown distribution option: 'requires_python'
warnings.warn(msg)
c:\users\chuong.ho\appdata\local\programs\python\python39\lib\distutils\dist.py:274: UserWarning: Unknown distribution option: 'requires_external'
warnings.warn(msg)
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
creating build\lib.win-amd64-3.9\fiona
copying .\fiona\collection.py -> build\lib.win-amd64-3.9\fiona
copying .\fiona\compat.py -> build\lib.win-amd64-3.9\fiona
copying .\fiona\crs.py -> build\lib.win-amd64-3.9\fiona
copying .\fiona\drvsupport.py -> build\lib.win-amd64-3.9\fiona
copying .\fiona\errors.py -> build\lib.win-amd64-3.9\fiona
copying .\fiona\inspector.py -> build\lib.win-amd64-3.9\fiona
copying .\fiona\rfc3339.py -> build\lib.win-amd64-3.9\fiona
copying .\fiona\tool.py -> build\lib.win-amd64-3.9\fiona
copying .\fiona\transform.py -> build\lib.win-amd64-3.9\fiona
copying .\fiona_init_.py -> build\lib.win-amd64-3.9\fiona
creating build\lib.win-amd64-3.9\fiona\fio
copying .\fiona\fio\bounds.py -> build\lib.win-amd64-3.9\fiona\fio
copying .\fiona\fio\calc.py -> build\lib.win-amd64-3.9\fiona\fio
copying .\fiona\fio\cat.py -> build\lib.win-amd64-3.9\fiona\fio
copying .\fiona\fio\collect.py -> build\lib.win-amd64-3.9\fiona\fio
copying .\fiona\fio\distrib.py -> build\lib.win-amd64-3.9\fiona\fio
copying .\fiona\fio\dump.py -> build\lib.win-amd64-3.9\fiona\fio
copying .\fiona\fio\env.py -> build\lib.win-amd64-3.9\fiona\fio
copying .\fiona\fio\filter.py -> build\lib.win-amd64-3.9\fiona\fio
copying .\fiona\fio\helpers.py -> build\lib.win-amd64-3.9\fiona\fio
copying .\fiona\fio\info.py -> build\lib.win-amd64-3.9\fiona\fio
copying .\fiona\fio\insp.py -> build\lib.win-amd64-3.9\fiona\fio
copying .\fiona\fio\load.py -> build\lib.win-amd64-3.9\fiona\fio
copying .\fiona\fio\ls.py -> build\lib.win-amd64-3.9\fiona\fio
copying .\fiona\fio\main.py -> build\lib.win-amd64-3.9\fiona\fio
copying .\fiona\fio\options.py -> build\lib.win-amd64-3.9\fiona\fio
copying .\fiona\fio_init_.py -> build\lib.win-amd64-3.9\fiona\fio
running build_ext
building 'fiona._transform' extension
creating build\temp.win-amd64-3.9
creating build\temp.win-amd64-3.9\Release
creating build\temp.win-amd64-3.9\Release\fiona
C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.30.30704\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ic:\users\chuong.ho\appdata\local\programs\python\python39\include -Ic:\users\chuong.ho\appdata\local\programs\python\python39\include -IC:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.30.30704\ATLMFC\include -IC:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.30.30704\include -IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt /EHsc /Tpfiona/_transform.cpp /Fobuild\temp.win-amd64-3.9\Release\fiona/_transform.obj
_transform.cpp
fiona/_transform.cpp(606): fatal error C1083: Cannot open include file: 'cpl_conv.h': No such file or directory
error: command 'C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.30.30704\bin\HostX86\x64\cl.exe' failed with exit code 2

ERROR: Failed building wheel for fiona
Running setup.py clean for fiona
Successfully built prettymaps
Failed to build fiona
Installing collected packages: fiona, Rtree, geopandas, descartes, tabulate, osmnx, prettymaps
Running setup.py install for fiona ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\chuong.ho\appdata\local\programs\python\python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_f3fb8768b6ca49a587ec16dc50826dc7\setup.py'"'"'; file='"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_f3fb8768b6ca49a587ec16dc50826dc7\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-record-1lwpvmn3\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\chuong.ho\appdata\local\programs\python\python39\Include\fiona'
cwd: C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_f3fb8768b6ca49a587ec16dc50826dc7
Complete output (18 lines):
c:\users\chuong.ho\appdata\local\programs\python\python39\lib\distutils\dist.py:274: UserWarning: Unknown distribution option: 'metadata_version'
warnings.warn(msg)
c:\users\chuong.ho\appdata\local\programs\python\python39\lib\distutils\dist.py:274: UserWarning: Unknown distribution option: 'requires_python'
warnings.warn(msg)
c:\users\chuong.ho\appdata\local\programs\python\python39\lib\distutils\dist.py:274: UserWarning: Unknown distribution option: 'requires_external'
warnings.warn(msg)
running install
running build
running build_py
running build_ext
building 'fiona._transform' extension
creating build\temp.win-amd64-3.9
creating build\temp.win-amd64-3.9\Release
creating build\temp.win-amd64-3.9\Release\fiona
C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.30.30704\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ic:\users\chuong.ho\appdata\local\programs\python\python39\include -Ic:\users\chuong.ho\appdata\local\programs\python\python39\include -IC:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.30.30704\ATLMFC\include -IC:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.30.30704\include -IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt /EHsc /Tpfiona/_transform.cpp /Fobuild\temp.win-amd64-3.9\Release\fiona/_transform.obj
_transform.cpp
fiona/_transform.cpp(606): fatal error C1083: Cannot open include file: 'cpl_conv.h': No such file or directory
error: command 'C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.30.30704\bin\HostX86\x64\cl.exe' failed with exit code 2
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\chuong.ho\appdata\local\programs\python\python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_f3fb8768b6ca49a587ec16dc50826dc7\setup.py'"'"'; file='"'"'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-install-igb3_xaw\fiona_f3fb8768b6ca49a587ec16dc50826dc7\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\Chuong.Ho\AppData\Local\Temp\pip-record-1lwpvmn3\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\chuong.ho\appdata\local\programs\python\python39\Include\fiona' Check the logs for full command output.

E:\API\Python\prettymaps>

NameError: name 'plt' is not defined

Hi. How can I fix this error while generating the script? Thanks.

Traceback (most recent call last): File "C:\Users\cuyug\Desktop\TroPYcal codes\prettymaps.py", line 4, in <module> from prettymaps import * File "C:\Users\cuyug\Desktop\TroPYcal codes\prettymaps.py", line 17, in <module> layers = plot( NameError: name 'plot' is not defined

Colour different street types (and tags) different colours

I would like to be able to colour different street types with different colours in the same plot. It would also be great to do this colouring by different tags instead of just the highway tag.
As an example, I would like to differentiate bridges from other streets by changing their colour in the plot, but without changing their width from the previously defined street width (as defined by their highway tag)

This is an example of a bridge I want to colour:
image

And the path leading up to it:
image

If this is already possible, I could not figure out a way of doing it, and I would appreciate some guidance :)

water issues -- rivers and other features often incomplete

Hi there. Good luck with the attention, it's not always a blessing!

I've done quite a bit of poking around in the code and I'm willing to help debug the problems with filling in rivers if you could guide me a bit. Below are the maps from my hometown, one using prettymaps and the other an OSM screenshot. There are several water features that miss being infilled. Do you understand why that might be and could you point me in the right direction?

Best

kremmling

kremmling_osm

FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\cuyug\assets\Permanent_Marker\PermanentMarker-Regular.ttf`

Can someone help me how to fix these errors? Thanks in advance.

FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\cuyug\assets\Permanent_Marker\PermanentMarker-Regular.ttf`

DeprecationWarning: An exception was ignored while fetching the attribute array_interfacefrom an object of type 'Polygon'. With the exception ofAttributeError NumPy will always raise this exception in the future. Raise this deprecation warning to see the original exception. (Warning added NumPy 1.21)

I am beginner, i need help to execute the script

Someone can send me a manual to run the script?

The IDLE Shell show me this report:

...prettymaps-main\prettymaps-main\prueba.py
Traceback (most recent call last):
File "C:\Users\Mike\Desktop\cruso QGIS\prettymaps-main\prettymaps-main\prueba.py", line 2, in
fig, ax = plt.subplots(figsize = (12, 12), constrained_layout = True)
NameError: name 'plt' is not defined

Thank you!

image

Support for OpenStreet Geo URI

Folks,

Firstly, thanks so much for putting this library together and thanks for your time.

Would be great if plot() could support OpenStreetMap Geo URI as the query (which may include a "zoom" level). Another great addition is the notion of "offset". Say I want a map of Barcelona, Spain, but want it centered a 1km to the north. So could be as follows plot(<all args>, offset=(1000, 0)).

Google Collab example does not work

Seems to be quite a few import errors when trying to run the google collab version. This is a super cool project but I can't get it to run.

Chicago

Most places work, but Chicago produces this error: ERROR:shapely.geos:TopologyException: depth mismatch at at 448510 4637400

Using a slightly modified version of the circular example with a radius of 2500

'Polygon' object is not subscriptable

Hi,

First of all - thanks so much for this library. It's gorgeous.

I'm trying to follow along with the "Palmanova, Italy" example, which is bounded by the city's walls

https://nbviewer.jupyter.org/github/marceloprates/prettymaps/blob/main/notebooks/examples.ipynb#Palmanova,-Italy-(circle-plot-with-postprocessing-step)

I'm getting stuck with the preprocessing function, as to start with my notebook doesn't know what the Polygon function is. After digging into the source a bit it turns out you're using shapely.geometry.Polygon and so I hoped that if I import that directly then it would be OK. So I add

from shapely.geometry import Polygon

If I do this, I now have a Polygon function but I don't think I've gotten it right, because I instead receive when I execute boundary = Polygon(layers['green'].buffer(5)[0].exterior).buffer(0) I receive

TypeError: 'Polygon' object is not subscriptable

at which point I gave up.

Any clues you could provide would be most appreciated!

Rivers are not displayed

Is it possible to draw rivers too? Until now the layers ['perimeter', 'landuse', 'water', 'building', 'streets'] are supported if I am not mistaken? Is it possible to add the key waterway or something like that?

Very slow?

It takes about ten minutes to render the first example, which is a really long time. Not something you want to have when iteratively improving your map. The strange thing is, during those ten minutes it consumes almost no resources.

image

Any idea what it is doing all that time?

Japanese text not rendered

It seems that the library for writing the name on the plot doesn't support Japanese text? (See the left side)

Should be 大森、大田区

image

Installation fails in WSL Ubuntu 20.04

When I try to install it, it fails with following error message:

pip install git+https://github.com/abey79/vsketch#egg=vsketch
Collecting vsketch from git+https://github.com/abey79/vsketch#egg=vsketch
  Cloning https://github.com/abey79/vsketch to /tmp/pip-install-qgq8p8ja/vsketch
  Installing build dependencies ... done
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/usr/lib/python3.7/tokenize.py", line 447, in open
        buffer = _builtin_open(filename, 'rb')
    FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-install-qgq8p8ja/vsketch/setup.py'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-qgq8p8ja/vsketch/

Same with the other command
Is there an alternative way to install it? It looks like something is wrong with the tmp folder, not sure what tho.

Running Locally - NoneType Object error

Awesome repo! Trying to get this working locally, but I'm not great with python. Did the install with pip, and then created a circle.py file with the following (from the first example). When I run circle.py I get an error on line 1, import vsketch, TypeError: 'NoneType' object is not callable. Any idea what could be wrong? Thanks!

import vsketch
from prettymaps import *
import matplotlib.font_manager as fm
from matplotlib import pyplot as plt
# Init matplotlib figure
fig, ax = plt.subplots(figsize = (12, 12), constrained_layout = True)

backup = plot(
    # Address:
    'Praça Ferreira do Amaral, Macau',
    # Plot geometries in a circle of radius:
    radius = 1100,
    # Matplotlib axis
    ax = ax,
    # Which OpenStreetMap layers to plot and their parameters:
    layers = {
            # Perimeter (in this case, a circle)
            'perimeter': {},
            # Streets and their widths
            'streets': {
                'width': {
                    'motorway': 5,
                    'trunk': 5,
                    'primary': 4.5,
                    'secondary': 4,
                    'tertiary': 3.5,
                    'residential': 3,
                    'service': 2,
                    'unclassified': 2,
                    'pedestrian': 2,
                    'footway': 1,
                }
            },
            # Other layers:
            #   Specify a name (for example, 'building') and which OpenStreetMap tags to fetch
            'building': {'tags': {'building': True, 'landuse': 'construction'}, 'union': False},
            'water': {'tags': {'natural': ['water', 'bay']}},
            'green': {'tags': {'landuse': 'grass', 'natural': ['island', 'wood'], 'leisure': 'park'}},
            'forest': {'tags': {'landuse': 'forest'}},
            'parking': {'tags': {'amenity': 'parking', 'highway': 'pedestrian', 'man_made': 'pier'}}
        },
        # drawing_kwargs:
        #   Reference a name previously defined in the 'layers' argument and specify matplotlib parameters to draw it
        drawing_kwargs = {
            'background': {'fc': '#F2F4CB', 'ec': '#dadbc1', 'hatch': 'ooo...', 'zorder': -1},
            'perimeter': {'fc': '#F2F4CB', 'ec': '#dadbc1', 'lw': 0, 'hatch': 'ooo...',  'zorder': 0},
            'green': {'fc': '#D0F1BF', 'ec': '#2F3737', 'lw': 1, 'zorder': 1},
            'forest': {'fc': '#64B96A', 'ec': '#2F3737', 'lw': 1, 'zorder': 1},
            'water': {'fc': '#a1e3ff', 'ec': '#2F3737', 'hatch': 'ooo...', 'hatch_c': '#85c9e6', 'lw': 1, 'zorder': 2},
            'parking': {'fc': '#F2F4CB', 'ec': '#2F3737', 'lw': 1, 'zorder': 3},
            'streets': {'fc': '#2F3737', 'ec': '#475657', 'alpha': 1, 'lw': 0, 'zorder': 3},
            'building': {'palette': ['#FFC857', '#E9724C', '#C5283D'], 'ec': '#2F3737', 'lw': .5, 'zorder': 4},
        }
)


Railways

I have a problem to get Railways to display on the map at all.

I used this code for my railway

       'railway': {
            'custom_filter': '["rail|light_rail|subway|tram|disused|construction|abandoned|monorail|narrow_gauge"]',
            'width': {
                'rail': 7,
                'light_rail': 5
                'subway': 5,
                'tram': 4,
                'disused': 4,
                'construction': 3,
                'abandoned': 3,
                'monorail': 3,
                'narrow_gauge': 3,
            },
        'circle': False,
        'dilate': dilate
        },

and kwargs

'railway': {'fc': '#2F3737', 'ec': '#475657', 'alpha': 1, 'lw': 0, 'zorder': 6}

I tried to map this area which has plenty of different kinds of railway

https://www.openstreetbrowser.org/#railway-infrastructure/w178925635&map=18/52.42969/13.25519&categories=railway-infrastructure

It will not display anything at all for that area. Did anyone got railways working or is that feature not implemented (yet)

Not able to get the Seine in Paris (just a piece of it)

Hi,

I have
'water': {'tags': {'natural': ['water', 'bay']}}, and 'water': {'fc': '#A1CAE2', 'ec': '#6da8c2', 'lw': 0.5, 'zorder': 2},.
I get this :
seine

And, as you can see, I big part of the Seine is missing. What did I miss ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.