Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about osmnx

Read more about osmnx

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - osmnx

Convert geopandas.geodataframe to geojson

I am trying to save a geopandas.geodataframe in geojson format. but i have an error and i don't know where it comes from and how to solve it. here is the code and the error : Thanks in advance for you...
test-img

amaranaitsaidi

python

geojson

osmnx

fiona

Votes: 0

Answers: 1

Latest Answer

Instead of .to_file() You can either create a new geojson file and fill the .to_json() object inside it , it's a json dict in (str) format. with open('dataframe.geojson' , 'w') as file: file.write...
test-img

lackti

Import osmnx to python

I'm trying to use the osmnx package in Python. I followed the steps given in https://osmnx.readthedocs.io/en/stable/ and I now have an enviorment in anconda with the given package. But, when I try to ...
test-img

Beatriz Santos

python

osmnx

Votes: 0

Answers: 1

Latest Answer

edit - another solution: try conda install osmnx and then conda install gdal=2.4.4 try creating a new full env for OSMnx: conda config --prepend channels conda-forge conda create -n ox --strict-chann...
test-img

Guy Nachshon

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved