Closed StyXman closed 11 years ago
I fixed it by adding the column 'id' by hand:
node('amenity').
output('poi').
attr ('id').
attr('type', 'amenity').
attr('name');
so it's the README who should be fixed :)
Your fix is wrong, all ids end up as (null). The problem is that the id field is defined as integer which is not enough for 64 bit ids. It has to be defined as a large-enough string. I fixed this in the README, the example .js files were already okay. Fix for README is in 22ed2f6.
I was trying to extract some info from a .pbf file[1] into a shapefile and I got that error message. I used a config file which is almost the example in the README file:
I executed
osmjs
as:Am I missing something?
[1] http://download.geofabrik.de/openstreetmap/europe/france/provence-alpes-cote-d-azur.osm.pbf