Skip to content

Commit

Permalink
Merge pull request orbisgis#1387 from ebocher/fix_osm_reader
Browse files Browse the repository at this point in the history
OSM Reader
  • Loading branch information
ebocher committed Jun 18, 2024
2 parents f813bb5 + 55550ff commit 0f3fb75
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
- Write empty geometry with the shapefile driver
- Do not ask for SRID when geometry is empty
- Add the name of the table in the FGB header
- Fix null way id on OSM file
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ public WayOSMElement() {
* @param ref
*/
public void addRef(String ref) {
nodesRef.add(Long.valueOf(ref));
if(ref!=null) {
nodesRef.add(Long.valueOf(ref));
}
}

/**
Expand Down

0 comments on commit 0f3fb75

Please sign in to comment.