Coder Social home page Coder Social logo

Comments (5)

jreiberkyle avatar jreiberkyle commented on May 24, 2024

Roads to vectors notebook in dev branch

from notebooks.

jreiberkyle avatar jreiberkyle commented on May 24, 2024

basic roads->vectors code snippet is now available in the roads as vectors notebook

from notebooks.

jreiberkyle avatar jreiberkyle commented on May 24, 2024

gdal example and example of roads-> vectors with filtering based on size and simplification are now in the roads as vectors notebook

from notebooks.

jreiberkyle avatar jreiberkyle commented on May 24, 2024

Working on extracting road centerlines. I am using the centerlines pip package, which creates MultiLineString features. When I find the centerline in pixel space then try to use shapely to apply an affine transformation to project the features to the image crs, I get this error from shapely:

InvalidInputTypeError: Input geometry must be of type shapely.geometry.Polygon or shapely.geometry.MultiPolygon!

However, the documentation says that affine_transformation can take all geometry types (and searching through the issues suggests that LineString shapes are supported)

Filling in the shapely issue information here, I need to create a script to reproduce:

## Please note

If you are reporting an installation or module import issue, please note that
this project only accepts reports about problems with packages downloaded from
the Python Package Index. Conda users should take issues to one of the
following trackers:

- https://github.com/ContinuumIO/anaconda-issues/issues
- https://github.com/conda-forge/shapely-feedstock

## Expected behavior and actual behavior.



## Steps to reproduce the problem.

(For example, a script with required data)

## Operating system

Mac OS X 10.14.5

## Shapely version and provenance

1.7.1 installed from conda-forge using conda

from notebooks.

jreiberkyle avatar jreiberkyle commented on May 24, 2024

Completed with above PRs (dropped centerlines effort)

from notebooks.

Related Issues (20)

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.