Logo OpenStreetMap OpenStreetMap

POI Txt2Osm

Postiwyd gan Remiguel ar 24 Gorffennaf 2013 yn English Diweddarwyd ddiwethaf ar 28 Medi 2013.

I have just finished to write a php script to convert csv file to osm format. I wrote this script to import my own poi in osm database. input file has to be csv (coma separated values) e.g. -3.7005864,40.4891297,”text”,”text2”,”text3” or text without quotes. The osm file can be read with JOSM, to check the data before importing them in osm database. The source code will be available soon on my personal web page.

tested succesfully with Firefox and Safari. Not working with IE
http://poi-osm.ekibox.net/osm_format/

mirror
http://poi-osm.tucristal.es/osm_format/ http://poi-osm.blg.lt/osm_format/

Source http://bluemarmot.ekibox.net/en/node/70

Eicon e-bost Eicon Bluesky Eicon Facebook Eicon LinkedIn Eicon Mastodon Eicon Telegram Eicon X

Trafodaeth

Sylwadau gan Zverik ar 26 Gorffennaf 2013 am 05:32

  1. Site doesn’t function right now.
  2. Why didn’t you use GPSbabel for that?

Sylwadau gan Remiguel ar 26 Gorffennaf 2013 am 07:19

1) You’re right. The server is currently down. I will put my code on a mirror server. 2) I’ve used for a couple years ago GPSbabel but never saw a conversion to OSM format. I will check the last update. Thanks for the tip.

Sylwadau gan Remiguel ar 26 Gorffennaf 2013 am 19:58

  1. The server is up again and additionally I’ve left my code on a mirror server.
  2. I’ve done a short try of GPSbabel. This software surprising me every time I use it. The number of conversion format is really amazing.
    The way of converting files to osm format is ok but need a good preparation of your source data.
    I code my php script with another approach, with drop-down lists to select keys and categories.

Mewngofnodi i adael sylw