mapbox / mapbox/make-surface

TypeError: 'module' object is not callable

Open
#92 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
91
Forks
17
PR merge metrics
No merged PRs in 30d

Description

Tried to vectorize a geoTIFF:

makesurface vectorize H.tif --outfile H.json

got the error:

TypeError: 'module' object is not callable

is it a format error? What kind of raster can be used?
Where can I find a tutorial or some more detailed documentation about makesurface?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing makesurface vectorize H.tif --outfile H.json and trace the vectorize command entry point. Check how raster input formats are handled and whether the TypeError depends on the GeoTIFF; done means the supported raster types and usage guidance are clear, with the reported command no longer failing unexpectedly.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.