-
-
Notifications
You must be signed in to change notification settings - Fork 472
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
Use libosmium for geometry building #684
Merged
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
7b39ca8
improve constness of parsed osmium objects
lonvia 33f4cc7
add node retrival functions without projection
lonvia c8bc82f
initial version of osmium geometry building in output-pgsql
lonvia cf7e824
expire directly from wkb
lonvia 0057767
add linemerger for route relations
lonvia 728a4ff
add multipolygon split-up
lonvia e1b75a5
convert remaining outputs to libosmium
lonvia 9bab69e
move wkb writing in a separate class
lonvia 1c298b8
remove geometry builder and geos dependency
lonvia 3d5c53d
remove unused functions from expire
lonvia dfd4a51
remove now unused write_row functions in table
lonvia 29bd6cc
remove unused get_node_list() function for nodelist_t
lonvia a73c5ee
fix area string conversion
lonvia f5ddbc6
remove remaining traces of nodelist types
lonvia 9822c40
streamline retival of ways for relations
lonvia b27b1b3
add converter from hex to binary wkb
lonvia 0d491cf
output-multi: compute way_area only when there is a column with the name
lonvia eb9ec38
remove unused exclude-invalid-polygon option
lonvia 7a354f2
remove unused code
lonvia e5837d7
Remove remaining geos references
pnorman 04895af
Remove exclude invalid polygon references
pnorman 7e880ab
update to newest libosmium version
lonvia cd9a0a7
fix number of polygons when creating MP
lonvia 14130fc
fix location lookup in nodes table when node appears twice
lonvia 364cb40
ignore invalid nodes when building areas
lonvia d491146
restore previous polygon behaviour
lonvia 0333e11
adapt regression tests to new libosmium geometry creation
lonvia e7e355b
use size_t type for position
lonvia 5131a63
check for bad endian setting when converting hex WKBs
lonvia b2a2d58
improve bad endian exception message
lonvia File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we say what the endianness of osm2pgsql is in the error message?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or better yet, something like "Different endian settings of database and osm2pgsql are not supported. Database is big-endian, osm2pgsql is little-endian."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.