inserting OSM overpass API using Node.js to Postgresql

27 Views Asked by At

The other elements such as id, tags, and type of the object can sucessfully inserted to the database. However, the columns of lat and lon is giving null value. I tried the column type of (decimal, varchar, double, and float). and here is the javascript code of index.js

https://drive.google.com/drive/folders/1QAY4Ga-9Vcjn41ChInM4vhsS-e6jF2Op?usp=drive_link

enter image description here null value in database

enter image description here log in console showing latitude and longitude

0

There are 0 best solutions below