-
Notifications
You must be signed in to change notification settings - Fork 19
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
why the shapefile read .shp Slower than shapefile(pyshp) of python? It doesn't make #35
Comments
What about sharing the code you use ? and how you compile, and the file you try to read Your issue doesn't make sense |
no info = no bug = no fix |
sorry ,it maybe not a bug, but i use the pyshp of python to read and iterate through the .shp that it has 96w shp, it just cost 30secs,but the same .shp, use shapefile of rust ,it cost 180secs |
I can't do anything about that unless you give some actual info
|
sorry ,I can't share the file ,it's a secret file. .it's a road.shp of the beijing that one of the city in china. it may vary big, it has 9.6 million shape in one .shp。 .the rust code just like that, i build it with --release flag:
} |
Execution time in seconds: 1114 this time it cost 1114secs, is that the code problem? that maybe a little slow |
Does the file have an index file |
Ok, I have a local fix that makes me read a shape file with 2246324 shapes in ~17s intead of 27s Also, When timing the reading code don't include the prints as its what actually takes most of the time |
it has a 'road.shx'.
That's really great,can you update the project? |
Fix merged in #36 |
it don't make any sense
The text was updated successfully, but these errors were encountered: