uid not showing up in exported features
See original GitHub issueI was testing osmium (3.0.0
) objects and had 2 questions about this case:
import osmium
fields = osmium.osm.mutable.OSMObject(
id=123, version=2, visible=True, uid=123, changeset=3212312, timestamp="2015-03-16T04:45:49Z", tags={"maxspeed": "50"}
)
way = osmium.osm.mutable.Way(fields, [])
writer = osmium.SimpleWriter('./output.pbf')
writer.add_way(way)
writer.close()
Converting the PBF file back into OPL yields
<?xml version='1.0' encoding='UTF-8'?>
<osm version="0.6" generator="osmconvert 0.8.10">
<way id="123" version="2" timestamp="2015-03-16T04:45:49Z" changeset="3212312">
<tag k="maxspeed" v="50"/>
</way>
</osm>
- Why is the
uid
not showing up in the way feature? - The constructor for mutable objects doesn’t take the
user
, is that because this can be changed easily (but uid doesn’t)? Is there a way to get theuser
passed in the OSMObject? (I did notice it exists in theosmium.osm.OSMObject
)
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Polygon features do not appear when printing or exporting a ...
When printing or exporting a map in ArcMap with a rotated data frame, some polygon features may not appear on the output.
Read more >export UID="$(id -u)" cannot be used since UID is read only ...
The instructions says export UID="$(id -u)" Which on Centos 7 at least results in: -bash: UID: readonly variable and then docker-compose ...
Read more >Attempted import error: 'uuid' does not contain a default export ...
Because the uuid package has not default export, as the error clearly states. (it used to exist, but has been removed).
Read more >Issue ID and User ID exported auto. - Atlassian Community
On Excel, on the Home tab, click on "Get Jira Data", and on the "Fields" tab you can select the fields that you...
Read more >FeatureClassToFeatureClass_co...
What I'm looking for is the arcpy equivalent of the export data feature in ArcMap, which does not delete the OBJECTID field (FID...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I have planned to do a release in the next days anyway. It will contain the fix.
@lonvia what is the release process after a small fix like this?