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

Question: How load shapefiles .shp in your GIS? #36

Open
parisa-hr opened this issue Aug 13, 2023 · 5 comments
Open

Question: How load shapefiles .shp in your GIS? #36

parisa-hr opened this issue Aug 13, 2023 · 5 comments

Comments

@parisa-hr
Copy link

Hi

I'm encountering challenges when trying to load .shp shapefiles into your GIS.
I don't know how should I do this.
I want to ask you for help me and guid me how can I load different map format like : Shp , ECW and etc.
I kindly ask for guidance and support in addressing these challenges.

Your expertise and assistance in helping me navigate this matter would be greatly appreciated. Thank you in advance for your support!

Best regards,
Parisa

@ix07
Copy link
Sponsor

ix07 commented Sep 28, 2023

I would love to see that feature (shape file support), too. I would pay for it.

There are some open source libraries to read shape files - for example GDAL (https://gdal.org/). GDAL seems rather complex, but there is also a simple C library (http://shapelib.maptools.org/). QGIS (open source) also has shape file support - maybe some code or inspiration could be gathered there.

@AmonRaNet
Copy link
Owner

Hmm. It is feature which I was always hope to avoid :) . I will try to find time to introduce basic support for data parsing (at least for shapefiles).

@de-wu
Copy link

de-wu commented Dec 6, 2023

Check QtPBFImagePlugin, it can load vector tiles just like raster and it's really easy to implement. All you need to do is install the Qt plugin and get tiles in pbf format (you can convert SHP to MBTiles for example and serve tiles). There is some limitation on painting with large zoom, but you can try to solve this problem (you have to send current zoom to QImage loadFromData function).
QtPBFImagePlugin - https://github.com/tumic0/QtPBFImagePlugin

@AimplainLeo
Copy link

Hmm. It is feature which I was always hope to avoid :) . I will try to find time to introduce basic support for data parsing (at least for shapefiles).

Thanks so much. Please add vector features for this great repo. Kind of y!

@OgreTransporter
Copy link
Contributor

Have a look at my PR #53 for an example.

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

6 participants