Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for other sources ? #87

Open
flemmens opened this issue Sep 18, 2015 · 7 comments
Open

Support for other sources ? #87

flemmens opened this issue Sep 18, 2015 · 7 comments

Comments

@flemmens
Copy link

This program is very useful and works great. Would it be possible to add support for other data sources like Shapefile or PostGIS ?

@e-n-f
Copy link
Contributor

e-n-f commented Sep 18, 2015

Thanks. Shapefile would be useful and will be practical once I factor out GeoJSON parsing from the rest of the code. PostGIS seems like it would be more difficult to support.

@flemmens
Copy link
Author

Ok thanks for your reply. It is not a big deal as it is easy to use ogr2ogr to convert any source into GeoJSON but it is an extra step which can take time for big files, it would be great to be able to link this tool directly to a PostGIS database.

@lihuadong1988
Copy link

@flp-gpc do you have any ideas of linking this tool directly to a PostGIS database.

@stevage
Copy link
Contributor

stevage commented Jan 14, 2020

Any further thoughts about directly supporting shapefile?

@e-n-f
Copy link
Contributor

e-n-f commented Jan 18, 2020

#468 is a partial implementation of shapefile support, but I got stuck trying to figure out how much support I should have for different projections.

@stevage
Copy link
Contributor

stevage commented Jan 18, 2020

The MVP is "no support for anything but EPSG:4326". Can always revisit that later. :)

@bdon
Copy link

bdon commented Mar 27, 2022

I've implemented #777 in my fork at https://github.com/protomaps/tippecanoe

Once streaming in https://github.com/protomaps/tippecanoe/issues/9 is supported, GDAL should be able to act as glue for any vector format when using /vsistdout/ to pipe in to tippecanoe, so I suggest that as a solution to Shapefiles, barring conversion quirks like -nlt PROMOTE_TO_MULTI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants