Giter VIP home page Giter VIP logo

hex2vec's People

Contributors

mschrader15 avatar simonusher avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

hex2vec's Issues

Data Availability

Hi,

I am trying to use the repo to carry out some downstream tasks. However, when I run the make_dataset script, after downloading the required data (~93G in data/, ~17G in cache/), the processing part failed. Could you provide possible solutions?

Thank you!

--
Best,
Yijia
Below is the error information

Tag: waterway exists for city: Philadelphia, USA
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 29/29 [00:00<00:00, 193.89it/s]
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 54/54 [04:54<00:00,  5.46s/it]
Downloading finished
  0%|                                                                                                                                         | 0/54 [00:00<?, ?it/s]Tag aerialway doesn't exist for city Tirana, Albania, skipping...
  0%|                                                                                                                                         | 0/54 [00:00<?, ?it/s]
Traceback (most recent call last):
  File "PATH_TO/hex2vec/make_dataset.py", line 114, in <module>
    add_h3_indices_to_city(city, 8)
  File "PATH_TO/hex2vec/src/data/make_dataset.py", line 111, in add_h3_indices_to_city
    tag_gdf = tag_gdf[['unique_id', tag, 'geometry']]
  File "PATH_TO/anaconda3/envs/geovex/lib/python3.10/site-packages/geopandas/geodataframe.py", line 1428, in __getitem__
    result = super().__getitem__(key)
  File "PATH_TO/anaconda3/envs/geovex/lib/python3.10/site-packages/pandas/core/frame.py", line 3811, in __getitem__
    indexer = self.columns._get_indexer_strict(key, "columns")[1]
  File "PATH_TO/anaconda3/envs/geovex/lib/python3.10/site-packages/pandas/core/indexes/base.py", line 6108, in _get_indexer_strict
    self._raise_if_missing(keyarr, indexer, axis_name)
  File "PATH_TO/anaconda3/envs/geovex/lib/python3.10/site-packages/pandas/core/indexes/base.py", line 6171, in _raise_if_missing
    raise KeyError(f"{not_found} not in index")
KeyError: "['unique_id'] not in index"

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.