User:Tatata/ksj2osm-airport.pl/running on linux

From OpenStreetMap Wiki
Jump to: navigation, search

This page is a log of trial and error when I ran this script on linux.

My Environment

My linux environment is...

  • Ubuntu 8.04 LTS Japanese localized Desktop [1]
  • VMware Player 2.0.5
  • Windows XP Home Edition Service Pack 3

Locale

vmuser@vmuser-desktop:~$ locale

LANG=ja_JP.UTF-8
LC_CTYPE="ja_JP.UTF-8"
LC_NUMERIC="ja_JP.UTF-8"
LC_TIME="ja_JP.UTF-8"
LC_COLLATE="ja_JP.UTF-8"
LC_MONETARY="ja_JP.UTF-8"
LC_MESSAGES="ja_JP.UTF-8"
LC_PAPER="ja_JP.UTF-8"
LC_NAME="ja_JP.UTF-8"
LC_ADDRESS="ja_JP.UTF-8"
LC_TELEPHONE="ja_JP.UTF-8"
LC_MEASUREMENT="ja_JP.UTF-8"
LC_IDENTIFICATION="ja_JP.UTF-8"
LC_ALL=
vmuser@vmuser-desktop:~$


Perl

vmuser@vmuser-desktop:~$ perl -v

This is perl, v5.8.8 built for i486-linux-gnu-thread-multi

Copyright 1987-2006, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

vmuser@vmuser-desktop:~$ perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
   Platform:
     osname=linux, osvers=2.6.15.7, archname=i486-linux-gnu-thread-multi
     uname='linux palmer 2.6.15.7 #1 smp thu sep 7 19:42:20 utc 2006 i686 gnulinux '
     config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN -Dcccdlflags=-fPIC -Darchname=i486-linux-gnu -Dprefix=/usr -Dprivlib=/usr/share/perl/5.8 -Darchlib=/usr/lib/perl/5.8 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.8.8 -Dsitearch=/usr/local/lib/perl/5.8.8 -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Ud_ualarm -Uusesfio -Uusenm -Duseshrplib -Dlibperl=libperl.so.5.8.8 -Dd_dosuid -des'
     hint=recommended, useposix=true, d_sigaction=define
     usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
     useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
     use64bitint=undef use64bitall=undef uselongdouble=undef
     usemymalloc=n, bincompat5005=undef
   Compiler:
     cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
     optimize='-O2',
     cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include'
     ccversion='', gccversion='4.2.3 20071123 (prerelease) (Ubuntu 4.2.2-3ubuntu4)', gccosandvers=''
     intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
     ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
     alignbytes=4, prototype=define
   Linker and Libraries:
     ld='cc', ldflags =' -L/usr/local/lib'
     libpth=/usr/local/lib /lib /usr/lib
     libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt
     perllibs=-ldl -lm -lpthread -lc -lcrypt
     libc=/lib/libc-2.6.1.so, so=so, useshrplib=true, libperl=libperl.so.5.8.8
     gnulibc_version='2.6.1'
   Dynamic Linking:
     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
     cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
   Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
                         PERL_MALLOC_WRAP THREADS_HAVE_PIDS USE_ITHREADS
                         USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API
   Built under linux
   Compiled at Nov 27 2007 10:44:36
   @INC:
     /etc/perl
     /usr/local/lib/perl/5.8.8
     /usr/local/share/perl/5.8.8
     /usr/lib/perl5
     /usr/share/perl5
     /usr/lib/perl/5.8
     /usr/share/perl/5.8
     /usr/local/lib/site_perl
     .


Encode.pm

vmuser@vmuser-desktop:~$ perl -MEncode -e 'print $Encode::VERSION'

2.12
vmuser@vmuser-desktop:~$


My Log

First Trial

I downloaded the data file and decompressed xml file through GUI. And I made a script file by editor program without changing of source code. Then I started the script.


vmuser@vmuser-desktop:~/jpgis/airport$ uname -a

Linux vmuser-desktop 2.6.24-17-generic #1 SMP Thu May 1 14:31:33 UTC 2008 i686 GNU/Linux
vmuser@vmuser-desktop:~/jpgis/airport$ perl -v

This is perl, v5.8.8 built for i486-linux-gnu-thread-multi

Copyright 1987-2006, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

vmuser@vmuser-desktop:~/jpgis/airport$ ls -al
合計 2576
drwxr-xr-x 2 vmuser vmuser 4096 2008-09-08 10:34 .
drwxr-xr-x 3 vmuser vmuser 4096 2008-09-08 10:24 ..
-rw-r--r-- 1 vmuser vmuser 2487746 2008-02-05 16:31 C28-07.xml
-rw-r--r-- 1 vmuser vmuser 98661 2008-09-08 10:33 C28-07.zip
-rw-r--r-- 1 vmuser vmuser 28596 2008-09-08 10:31 ksj2osm-airport.pl
vmuser@vmuser-desktop:~/jpgis/airport$ head ksj2osm-airport.pl
#!/usr/bin/perl

use strict;
use warnings;
# use encoding "utf8";
use encoding "utf8", STDOUT => "shiftjis", STDERR => "shiftjis"; # for Windows
use Encode;
use open IO => "utf8";
use XML::Parser;
use XML::Simple;
vmuser@vmuser-desktop:~/jpgis/airport$ perl ksj2osm-airport.pl
Can't locate XML/Simple.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at ksj2osm-airport.pl line 10.
BEGIN failed--compilation aborted at ksj2osm-airport.pl line 10.
vmuser@vmuser-desktop:~/jpgis/airport$


It seemed that I didn't have XML::Simple.

Configuring CPAN

vmuser@vmuser-desktop:~$ sudo su

[sudo] password for vmuser:
root@vmuser-desktop:/home/vmuser# perl -MCPAN -e shell

/etc/perl/CPAN/Config.pm initialized.


CPAN is the world-wide archive of perl resources. It consists of about
100 sites that all replicate the same contents all around the globe.
Many countries have at least one CPAN site already. The resources
found on CPAN are easily accessible with the CPAN.pm module. If you
want to use CPAN.pm, you have to configure it properly.

If you do not want to enter a dialog now, you can answer 'no' to this
question and I'll try to autoconfigure. (Note: you can revisit this
dialog anytime later by typing 'o conf init' at the cpan prompt.)

Are you ready for manual configuration? [yes]


The following questions are intended to help you with the
configuration. The CPAN module needs a directory of its own to cache
important index files and maybe keep a temporary mirror of CPAN files.
This may be a site-wide directory or a personal directory.


First of all, I'd like to create this directory. Where?

CPAN build and cache directory? [/root/.cpan]


If you want, I can keep the source files after a build in the cpan
home directory. If you choose so then future builds will take the
files from there. If you don't want to keep them, answer 0 to the
next question.


How big should the disk cache be for keeping the build directories
with all the intermediate files?

Cache size for build directory (in MB)? [10]


By default, each time the CPAN module is started, cache scanning
is performed to keep the cache size in sync. To prevent from this,
disable the cache scanning with 'never'.

Perform cache scanning (atstart or never)? [atstart]


To considerably speed up the initial CPAN shell startup, it is
possible to use Storable to create a cache of metadata. If Storable
is not available, the normal index mechanism will be used.

Cache metadata (yes/no)? [yes]


The next option deals with the charset your terminal supports. In
general CPAN is English speaking territory, thus the charset does not
matter much, but some of the aliens out there who upload their
software to CPAN bear names that are outside the ASCII range. If your
terminal supports UTF-8, you say no to the next question, if it
supports ISO-8859-1 (also known as LATIN1) then you say yes, and if it
supports neither nor, your answer does not matter, you will not be
able to read the names of some authors anyway. If you answer no, names
will be output in UTF-8.

Your terminal expects ISO-8859-1 (yes/no)? [yes] no


If you have one of the readline packages (Term::ReadLine::Perl,
Term::ReadLine::Gnu, possibly others) installed, the interactive CPAN
shell will have history support. The next two questions deal with the
filename of the history file and with its size. If you do not want to
set this variable, please hit SPACE RETURN to the following question.

File to save your history? [/root/.cpan/histfile]
Number of lines to save? [100]


The CPAN module can detect when a module that which you are trying to
build depends on prerequisites. If this happens, it can build the
prerequisites for you automatically ('follow'), ask you for
confirmation ('ask'), or just ignore them ('ignore'). Please set your
policy to one of the three values.

Policy on building prerequisites (follow, ask or ignore)? [ask]


The CPAN module will need a few external programs to work properly.
Please correct me, if I guess the wrong path for a program. Don't
panic if you do not have some of them, just press ENTER for those. To
disable the use of a download program, you can type a space followed
by ENTER.

Where is your gzip program? [/bin/gzip]
Where is your tar program? [/bin/tar]
Where is your unzip program? [/usr/bin/unzip]
Where is your make program? [/usr/bin/make]
Warning: lynx not found in PATH
Where is your lynx program? []
Where is your wget program? [/usr/bin/wget]
Warning: ncftpget not found in PATH
Where is your ncftpget program? []
Warning: ncftp not found in PATH
Where is your ncftp program? []
Where is your ftp program? [/usr/bin/ftp]
Where is your gpg program? [/usr/bin/gpg]
What is your favorite pager program? [/usr/bin/less]
What is your favorite shell? [/bin/bash]


Every Makefile.PL is run by perl in a separate process. Likewise we
run 'make' and 'make install' in processes. If you have any
parameters (e.g. PREFIX, LIB, UNINST or the like) you want to pass
to the calls, please specify them here.

If you don't understand this question, just press ENTER.

Parameters for the 'perl Makefile.PL' command?
Typical frequently used settings:

     PREFIX=~/perl non-root users (please see manual for more hints)

Your choice: [INSTALLDIRS=site]
Parameters for the 'make' command?
Typical frequently used setting:

     -j3 dual processor system

Your choice: []
Parameters for the 'make install' command?
Typical frequently used setting:

     UNINST=1 to always uninstall potentially conflicting files

Your choice: []


Sometimes you may wish to leave the processes run by CPAN alone
without caring about them. As sometimes the Makefile.PL contains
question you're expected to answer, you can set a timer that will
kill a 'perl Makefile.PL' process after the specified time in seconds.

If you set this value to 0, these processes will wait forever. This is
the default and recommended setting.

Timeout for inactivity during Makefile.PL? [0]


If you're accessing the net via proxies, you can specify them in the
CPAN configuration or via environment variables. The variable in
the $CPAN::Config takes precedence.

Your ftp_proxy?
Your http_proxy?
Your no_proxy?
You have no /root/.cpan/sources/MIRRORED.BY
   I'm trying to fetch one
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
   ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY


Now we need to know where your favorite CPAN sites are located. Push
a few sites onto the array (just in case the first on the array won't
work). If you are mirroring CPAN to your local workstation, specify a
file: URL.

First, pick a nearby continent and country (you can pick several of
each, separated by spaces, or none if you just want to keep your
existing selections). Then, you will be presented with a list of URLs
of CPAN mirrors in the countries you selected, along with previously
selected URLs. Select some of those URLs, or just keep the old list.
Finally, you will be prompted for any extra URLs -- file:, ftp:, or
http: -- that host a CPAN mirror.

(1) Africa
(2) Asia
(3) Central America
(4) Europe
(5) North America
(6) Oceania
(7) South America
Select your continent (or several nearby continents) [] 2
Sorry! since you don't have any existing picks, you must make a
geographic selection.

(1) China
(2) Hong Kong
(3) Indonesia
(4) Israel
(5) Japan
(6) Korea
(7) Pakistan
(8) Philippines
(9) Republic of Korea
(10) Saudi Arabia
(11) Singapore
(12) Taiwan
(13) Thailand
(14) Turkey
Select your country (or several nearby countries) [] 5
Sorry! since you don't have any existing picks, you must make a
geographic selection.

(1) ftp://ftp.dti.ad.jp/pub/lang/CPAN/
(2) ftp://ftp.jaist.ac.jp/pub/CPAN/
(3) ftp://ftp.kddilabs.jp/CPAN/
(4) ftp://ftp.nara.wide.ad.jp/pub/CPAN/
(5) ftp://ftp.riken.jp/lang/CPAN/
(6) ftp://ftp.ring.gr.jp/pub/lang/perl/CPAN/
(7) ftp://ftp.u-aizu.ac.jp/pub/CPAN
(8) ftp://ftp.yz.yamagata-u.ac.jp/pub/lang/cpan/
Select as many URLs as you like (by number),
put them on one line, separated by blanks, e.g. '1 4 5' [] 2 3 4 5 6

Enter another URL or RETURN to quit: []
New set of picks:
   ftp://ftp.jaist.ac.jp/pub/CPAN/
   ftp://ftp.kddilabs.jp/CPAN/
   ftp://ftp.nara.wide.ad.jp/pub/CPAN/
   ftp://ftp.riken.jp/lang/CPAN/
   ftp://ftp.ring.gr.jp/pub/lang/perl/CPAN/


commit: wrote /etc/perl/CPAN/Config.pm
Terminal does not support AddHistory.

cpan shell -- CPAN exploration and modules installation (v1.7602)
ReadLine support available (try 'install Bundle::CPAN')

cpan> ?

Display Information
  command argument description
  a,b,d,m WORD or /REGEXP/ about authors, bundles, distributions, modules
  i WORD or /REGEXP/ about anything of above
  r NONE reinstall recommendations
  ls AUTHOR about files in the author's directory

Download, Test, Make, Install...
  get download
  make make (implies get)
  test MODULES, make test (implies make)
  install DISTS, BUNDLES make install (implies test)
  clean make clean
  look open subshell in these dists' directories
  readme display these dists' README files

Other
  h,? display this menu  ! perl-code eval a perl command
  o conf [opt] set and query options q quit the cpan shell
  reload cpan load CPAN.pm again reload index load newer indices
  autobundle Snapshot force cmd unconditionally do cmd
cpan> q
Terminal does not support GetHistory.
Lockfile removed.


Installing XML::Simple

root@vmuser-desktop:/home/vmuser# cpan -fi XML::Simple

Unknown option: f
CPAN: Storable loaded ok
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
   ftp://ftp.jaist.ac.jp/pub/CPAN/authors/01mailrc.txt.gz
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
Fetching with LWP:
   ftp://ftp.jaist.ac.jp/pub/CPAN/modules/02packages.details.txt.gz
Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
   Database was generated on Sun, 07 Sep 2008 22:02:51 GMT

   There's a new CPAN.pm version (v1.9205) available!
   [Current version is v1.7602]
   You might want to try
     install Bundle::CPAN
     reload cpan
   without quitting the current session. It should be a seamless upgrade
   while we are running...

Fetching with LWP:
   ftp://ftp.jaist.ac.jp/pub/CPAN/modules/03modlist.data.gz
Going to read /root/.cpan/sources/modules/03modlist.data.gz
Going to write /root/.cpan/Metadata
Running install for module XML::Simple
Running make for G/GR/GRANTM/XML-Simple-2.18.tar.gz
Fetching with LWP:
   ftp://ftp.jaist.ac.jp/pub/CPAN/authors/id/G/GR/GRANTM/XML-Simple-2.18.tar.gz
CPAN: Digest::MD5 loaded ok
Fetching with LWP:
   ftp://ftp.jaist.ac.jp/pub/CPAN/authors/id/G/GR/GRANTM/CHECKSUMS
Checksum for /root/.cpan/sources/authors/id/G/GR/GRANTM/XML-Simple-2.18.tar.gz ok
Scanning cache /root/.cpan/build for sizes
XML-Simple-2.18/
XML-Simple-2.18/t/
XML-Simple-2.18/t/1_XMLin.xml
XML-Simple-2.18/t/lib/
XML-Simple-2.18/t/lib/TagsToUpper.pm
XML-Simple-2.18/t/B_Hooks.t
XML-Simple-2.18/t/6_ObjIntf.t
XML-Simple-2.18/t/1_XMLin.t
XML-Simple-2.18/t/srt.xml
XML-Simple-2.18/t/4_MemShare.t
XML-Simple-2.18/t/3_Storable.t
XML-Simple-2.18/t/7_SaxStuff.t
XML-Simple-2.18/t/A_XMLParser.t
XML-Simple-2.18/t/0_Config.t
XML-Simple-2.18/t/subdir/
XML-Simple-2.18/t/subdir/test2.xml
XML-Simple-2.18/t/2_XMLout.t
XML-Simple-2.18/t/5_MemCopy.t
XML-Simple-2.18/t/8_Namespaces.t
XML-Simple-2.18/t/test1.xml
XML-Simple-2.18/t/desertnet.src
XML-Simple-2.18/t/9_Strict.t
XML-Simple-2.18/Changes
XML-Simple-2.18/MANIFEST
XML-Simple-2.18/lib/
XML-Simple-2.18/lib/XML/
XML-Simple-2.18/lib/XML/Simple/
XML-Simple-2.18/lib/XML/Simple/FAQ.pod
XML-Simple-2.18/lib/XML/Simple.pm
XML-Simple-2.18/META.yml
XML-Simple-2.18/maketest
XML-Simple-2.18/README
XML-Simple-2.18/Makefile.PL

   CPAN.pm: Going to build G/GR/GRANTM/XML-Simple-2.18.tar.gz

Checking installed modules ...
XML::Parser is installed, it will be used by the test suite
Checking if your kit is complete...
Looks good
Writing Makefile for XML::Simple
cp lib/XML/Simple/FAQ.pod blib/lib/XML/Simple/FAQ.pod
cp lib/XML/Simple.pm blib/lib/XML/Simple.pm
Manifying blib/man3/XML::Simple::FAQ.3pm
Manifying blib/man3/XML::Simple.3pm
   /usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# Package Version
# perl 5.8.8
# XML::Simple 2.18
# Storable 2.15
# XML::Parser 2.34 (default parser)
# XML::SAX Not Installed
t/0_Config........ok
t/1_XMLin.........ok
t/2_XMLout........ok
         1/201 skipped: Tie::IxHash not installed
t/3_Storable......ok
t/4_MemShare......ok
t/5_MemCopy.......ok
t/6_ObjIntf.......ok
t/7_SaxStuff......skipped
         all skipped: no XML::SAX
t/8_Namespaces....skipped
         all skipped: no XML::SAX
t/9_Strict........ok
t/A_XMLParser.....ok
t/B_Hooks.........ok
         3/12 skipped: Tie::IxHash not installed
All tests successful, 2 tests and 4 subtests skipped.
Files=12, Tests=474, 16 wallclock secs ( 3.91 cusr + 1.70 csys = 5.61 CPU)
   /usr/bin/make test -- OK
Running make install
Installing /usr/local/share/perl/5.8.8/XML/Simple.pm
Installing /usr/local/share/perl/5.8.8/XML/Simple/FAQ.pod
Installing /usr/local/man/man3/XML::Simple.3pm
Installing /usr/local/man/man3/XML::Simple::FAQ.3pm
Writing /usr/local/lib/perl/5.8.8/auto/XML/Simple/.packlist
Appending installation info to /usr/local/lib/perl/5.8.8/perllocal.pod
   /usr/bin/make install -- OK
root@vmuser-desktop:/home/vmuser#


Second Trial

I ran the script again after XML::Simple installation.


vmuser@vmuser-desktop:~/jpgis/airport$ perl ksj2osm-airport.pl

***** KSJ2 Airport Data 2007 : Start Mon Sep 8 11:50:47 2008
***** Target : ���㍑�ۋ��`, airport type = 0
***** Process of infile : End Mon Sep 8 11:50:50 2008
***** Airports : 100 nodes on 2 ways
***** Airports : 2 nodes tagged as "aeroway=aerodrome"
***** Done!: End Mon Sep 8 11:50:50 2008
vmuser@vmuser-desktop:~/jpgis/airport$ ls -al
合計 2676
drwxr-xr-x 2 vmuser vmuser 4096 2008-09-08 11:50 .
drwxr-xr-x 3 vmuser vmuser 4096 2008-09-08 10:24 ..
-rw-r--r-- 1 vmuser vmuser 2487746 2008-02-05 16:31 C28-07.xml
-rw-r--r-- 1 vmuser vmuser 98661 2008-09-08 10:33 C28-07.zip
-rw-r--r-- 1 vmuser vmuser 9674 2008-09-08 11:50 ksj2osm-airport.log
-rw-r--r-- 1 vmuser vmuser 81969 2008-09-08 11:50 ksj2osm-airport.osm
-rw-r--r-- 1 vmuser vmuser 28596 2008-09-08 10:31 ksj2osm-airport.pl
vmuser@vmuser-desktop:~/jpgis/airport$


The script finished with no error message, but Japanese characters on the screen were garbaged.

Third Trial

I removed windows setting for STDOUT and STDERR, and ran the script again.


vmuser@vmuser-desktop:~/jpgis/airport$ head ksj2osm-airport.pl

#!/usr/bin/perl

use strict;
use warnings;
use encoding "utf8";
# use encoding "utf8", STDOUT => "shiftjis", STDERR => "shiftjis"; # for Windows
use Encode;
use open IO => "utf8";
use XML::Parser;
use XML::Simple;
vmuser@vmuser-desktop:~/jpgis/airport$ perl ksj2osm-airport.pl
***** KSJ2 Airport Data 2007 : Start Mon Sep 8 11:55:14 2008
***** Target : 大阪国際空港, airport type = 0
***** Process of infile : End Mon Sep 8 11:55:16 2008
***** Airports : 100 nodes on 2 ways
***** Airports : 2 nodes tagged as "aeroway=aerodrome"
***** Done!: End Mon Sep 8 11:55:16 2008
vmuser@vmuser-desktop:~/jpgis/airport$ ls -al
合計 2704
drwxr-xr-x 2 vmuser vmuser 4096 2008-09-08 11:54 .
drwxr-xr-x 3 vmuser vmuser 4096 2008-09-08 10:24 ..
-rw-r--r-- 1 vmuser vmuser 2487746 2008-02-05 16:31 C28-07.xml
-rw-r--r-- 1 vmuser vmuser 98661 2008-09-08 10:33 C28-07.zip
-rw-r--r-- 1 vmuser vmuser 9674 2008-09-08 11:55 ksj2osm-airport.log
-rw-r--r-- 1 vmuser vmuser 81969 2008-09-08 11:55 ksj2osm-airport.osm
-rw-r--r-- 1 vmuser vmuser 28596 2008-09-08 11:54 ksj2osm-airport.pl
-rw-r--r-- 1 vmuser vmuser 28596 2008-09-08 10:31 ksj2osm-airport.pl~
vmuser@vmuser-desktop:~/jpgis/airport$


The script finished with no error message, and garbaged Japanese characters on the screen were fixed.

The followings are head and tail of output files.

ksj2osm-airport.log

vmuser@vmuser-desktop:~/jpgis/airport$ head ksj2osm-airport.log

***** KSJ2 Airport Data 2007 : Start Mon Sep 8 11:55:14 2008
***** Target : 大阪国際空港, airport type = 0
***** Process of infile : End Mon Sep 8 11:55:16 2008
*****
* 1st key: cf02_2
** 2nd key: INP_label, value: 国土交通大臣
** 2nd key: points, value: 34.78952900 135.44547200,34.79260100
135.44285700,34.79407200 135.44146500,34.79442500 135.44134300,34.79441500
135.44111000,34.79528100 135.44021900,34.79538200 135.44083000,34.79701300
135.43951100,34.79793700 135.43949000,34.79794000 135.43894900,34.79822400
135.43868400,34.79853700 135.43765700,34.79810100 135.43743400,34.79749700
135.43665300,34.79838300 135.43562700,34.79850400 135.43472300,34.79814100
135.43391700,34.79804100 135.43257300,34.79748800 135.43193500,34.79785900
135.43060700,34.79785900 135.42993500,34.79704300 135.42959300,34.79745600
135.42908000,34.79754700 135.42851800,34.79727400 135.42796900,34.79730500
135.42768800,34.79725500 135.42739500,34.79700500 135.42687700,34.79718700
135.42673500,34.79705700 135.42662400,34.79664000 135.42661300,34.79624700
135.42650300,34.79577400 135.42650300,34.79515000 135.42668700,34.79471600
135.42691900,34.79411200 135.42694300,34.79264100 135.42666300,34.79149300
135.42663800,34.79083300 135.42681400,34.79062200 135.42695500,34.79053500
135.42708800,34.79049900 135.42732800,34.79044200 135.42766500,34.79040000
135.42786100,34.79027800 135.42802200,34.79007600 135.42809900,34.78958300
135.42826000,34.78911100 135.42846300,34.78868200 135.42866900,34.78811400
135.42896900,34.78712800 135.42956700,34.78692100 135.42968500,34.78681400
135.42999100,34.78673000 135.43051900,34.78667800 135.43127800,34.78662300
135.43170600,34.78647700 135.43220700,34.78490200 135.43326300,34.78477500
135.43333100,34.78327400 135.43334300,34.78287200 135.43362400,34.78279100
135.43543100,34.78248900 135.43538200,34.78234700 135.43713500,34.77379600
135.44755600,34.77311800 135.44768200,34.77001500 135.45036800,34.77074500
135.45134800,34.77009300 135.45213800,34.77073200 135.45246200,34.77212600
135.45416100,34.77277800 135.45435000,34.77389900 135.45381300,34.77457700
135.45311800,34.77512500 135.45270700,34.77708000 135.45245500,34.77745200
135.44989500,34.77780400 135.44899400,34.77899000 135.44754100,34.77982400
135.44758000,34.78081500 135.44644300,34.78194500 135.44647000,34.78205400
135.44525000,34.78238000 135.44532900,34.78311000 135.44453900,34.78601400
135.44478600,34.78655800 135.44522500,34.78655800 135.44708200,34.78663800
135.44737500,34.78679900 135.44769200,34.78883400 135.44764400,34.78958100
135.44676800,34.78952900 135.44547200
** 2nd key: OPT, value: 07 00
** 2nd key: COA, value: 空港整備法に基づく第一種空港
** 2nd key: survey, value: 1981 177 175,1982 176 182,1983 170 47350,1984 174
44478,1985 175 45312,1986 174 48948,1987 173 48335,1988 176 48783,1989 177
53132,1990 179 55123,1991 179 59928,1992 181 64415,1993 180 63024,1994 163
64428,1995 133 63881,1996 124 163,1997 122 35796,1998 133 36058,1999 141
37644,2000 141 40073,2001 140 43662,2002 144 44779,2003 158 46239,2003 175
48295,2003 182 51588
vmuser@vmuser-desktop:~/jpgis/airport$ tail ksj2osm-airport.log
Node -100: 34.78783300, 135.42882900
Node -101: 34.78781200, 135.42854600
Node -102: 34.78790700, 135.42832800
Node -95: 34.78885400, 135.42729800
Way -103: 9 nodes id=cf02_90 NA3=大阪国際空港
Node -104: 34.7878925, 135.4278565 (aeroway=aerodrome)
*****
***** Airports : 100 nodes on 2 ways
***** Airports : 2 nodes tagged as "aeroway=aerodrome"
***** Done!: End Mon Sep 8 11:55:16 2008


ksj2osm-airport.osm

vmuser@vmuser-desktop:~/jpgis/airport$ head ksj2osm-airport.osm

<?xml version="1.0" encoding="UTF-8"?>
<osm version="0.5" generator="KSJ2OSM">
<node id="-1" visible="true" lat="34.78952900" lon="135.44547200"><tag k="created_by" v="National-Land-Numerical-Information_MLIT_Japan"/><tag k="source" v="KSJ2"/><tag k="source_ref" v="http://nlftp.mlit.go.jp/ksj/jpgis/datalist/KsjTmplt-C28-v1_1.html"/><tag k="note" v="National-Land Numerical Information (Airport) 2007, MLIT Japan"/><tag k="note:ja" v="国土数値情報(空港データ)平成19年 国土交通省"/><tag k="KSJ2:airport_id" v="cf02_2"/><tag k="KSJ2:ARE" v="sf2Airport"/><tag k="KSJ2:CompositeCurve" v="cv46Airport"/><tag k="KSJ2:coordinate" v="34.78952900 135.44547200"/><tag k="KSJ2:lat" v="34.78952900"/><tag k="KSJ2:long" v="135.44547200"/><tag k="KSJ2:NA3" v="大阪国際空港"/></node>
<node id="-2" visible="true" lat="34.79260100" lon="135.44285700"><tag k="created_by" v="National-Land-Numerical-Information_MLIT_Japan"/><tag k="source" v="KSJ2"/><tag k="source_ref" v="http://nlftp.mlit.go.jp/ksj/jpgis/datalist/KsjTmplt-C28-v1_1.html"/><tag k="note" v="National-Land Numerical Information (Airport) 2007, MLIT Japan"/><tag k="note:ja" v="国土数値情報(空港データ)平成19年 国土交通省"/><tag k="KSJ2:airport_id" v="cf02_2"/><tag k="KSJ2:ARE" v="sf2Airport"/><tag k="KSJ2:CompositeCurve" v="cv46Airport"/><tag k="KSJ2:coordinate" v="34.79260100 135.44285700"/><tag k="KSJ2:lat" v="34.79260100"/><tag k="KSJ2:long" v="135.44285700"/><tag k="KSJ2:NA3" v="大阪国際空港"/></node>
<node id="-3" visible="true" lat="34.79407200" lon="135.44146500"><tag k="created_by" v="National-Land-Numerical-Information_MLIT_Japan"/><tag k="source" v="KSJ2"/><tag k="source_ref" v="http://nlftp.mlit.go.jp/ksj/jpgis/datalist/KsjTmplt-C28-v1_1.html"/><tag k="note" v="National-Land Numerical Information (Airport) 2007, MLIT Japan"/><tag k="note:ja" v="国土数値情報(空港データ)平成19年 国土交通省"/><tag k="KSJ2:airport_id" v="cf02_2"/><tag k="KSJ2:ARE" v="sf2Airport"/><tag k="KSJ2:CompositeCurve" v="cv46Airport"/><tag k="KSJ2:coordinate" v="34.79407200 135.44146500"/><tag k="KSJ2:lat" v="34.79407200"/><tag k="KSJ2:long" v="135.44146500"/><tag k="KSJ2:NA3" v="大阪国際空港"/></node>
<node id="-4" visible="true" lat="34.79442500" lon="135.44134300"><tag k="created_by" v="National-Land-Numerical-Information_MLIT_Japan"/><tag k="source" v="KSJ2"/><tag k="source_ref" v="http://nlftp.mlit.go.jp/ksj/jpgis/datalist/KsjTmplt-C28-v1_1.html"/><tag k="note" v="National-Land Numerical Information (Airport) 2007, MLIT Japan"/><tag k="note:ja" v="国土数値情報(空港データ)平成19年 国土交通省"/><tag k="KSJ2:airport_id" v="cf02_2"/><tag k="KSJ2:ARE" v="sf2Airport"/><tag k="KSJ2:CompositeCurve" v="cv46Airport"/><tag k="KSJ2:coordinate" v="34.79442500 135.44134300"/><tag k="KSJ2:lat" v="34.79442500"/><tag k="KSJ2:long" v="135.44134300"/><tag k="KSJ2:NA3" v="大阪国際空港"/></node>
<node id="-5" visible="true" lat="34.79441500" lon="135.44111000"><tag k="created_by" v="National-Land-Numerical-Information_MLIT_Japan"/><tag k="source" v="KSJ2"/><tag k="source_ref" v="http://nlftp.mlit.go.jp/ksj/jpgis/datalist/KsjTmplt-C28-v1_1.html"/><tag k="note" v="National-Land Numerical Information (Airport) 2007, MLIT Japan"/><tag k="note:ja" v="国土数値情報(空港データ)平成19年 国土交通省"/><tag k="KSJ2:airport_id" v="cf02_2"/><tag k="KSJ2:ARE" v="sf2Airport"/><tag k="KSJ2:CompositeCurve" v="cv46Airport"/><tag k="KSJ2:coordinate" v="34.79441500 135.44111000"/><tag k="KSJ2:lat" v="34.79441500"/><tag k="KSJ2:long" v="135.44111000"/><tag k="KSJ2:NA3" v="大阪国際空港"/></node>
<node id="-6" visible="true" lat="34.79528100" lon="135.44021900"><tag k="created_by" v="National-Land-Numerical-Information_MLIT_Japan"/><tag k="source" v="KSJ2"/><tag k="source_ref" v="http://nlftp.mlit.go.jp/ksj/jpgis/datalist/KsjTmplt-C28-v1_1.html"/><tag k="note" v="National-Land Numerical Information (Airport) 2007, MLIT Japan"/><tag k="note:ja" v="国土数値情報(空港データ)平成19年 国土交通省"/><tag k="KSJ2:airport_id" v="cf02_2"/><tag k="KSJ2:ARE" v="sf2Airport"/><tag k="KSJ2:CompositeCurve" v="cv46Airport"/><tag k="KSJ2:coordinate" v="34.79528100 135.44021900"/><tag k="KSJ2:lat" v="34.79528100"/><tag k="KSJ2:long" v="135.44021900"/><tag k="KSJ2:NA3" v="大阪国際空港"/></node>
<node id="-7" visible="true" lat="34.79538200" lon="135.44083000"><tag k="created_by" v="National-Land-Numerical-Information_MLIT_Japan"/><tag k="source" v="KSJ2"/><tag k="source_ref" v="http://nlftp.mlit.go.jp/ksj/jpgis/datalist/KsjTmplt-C28-v1_1.html"/><tag k="note" v="National-Land Numerical Information (Airport) 2007, MLIT Japan"/><tag k="note:ja" v="国土数値情報(空港データ)平成19年 国土交通省"/><tag k="KSJ2:airport_id" v="cf02_2"/><tag k="KSJ2:ARE" v="sf2Airport"/><tag k="KSJ2:CompositeCurve" v="cv46Airport"/><tag k="KSJ2:coordinate" v="34.79538200 135.44083000"/><tag k="KSJ2:lat" v="34.79538200"/><tag k="KSJ2:long" v="135.44083000"/><tag k="KSJ2:NA3" v="大阪国際空港"/></node>
<node id="-8" visible="true" lat="34.79701300" lon="135.43951100"><tag k="created_by" v="National-Land-Numerical-Information_MLIT_Japan"/><tag k="source" v="KSJ2"/><tag k="source_ref" v="http://nlftp.mlit.go.jp/ksj/jpgis/datalist/KsjTmplt-C28-v1_1.html"/><tag k="note" v="National-Land Numerical Information (Airport) 2007, MLIT Japan"/><tag k="note:ja" v="国土数値情報(空港データ)平成19年 国土交通省"/><tag k="KSJ2:airport_id" v="cf02_2"/><tag k="KSJ2:ARE" v="sf2Airport"/><tag k="KSJ2:CompositeCurve" v="cv46Airport"/><tag k="KSJ2:coordinate" v="34.79701300 135.43951100"/><tag k="KSJ2:lat" v="34.79701300"/><tag k="KSJ2:long" v="135.43951100"/><tag k="KSJ2:NA3" v="大阪国際空港"/></node>
vmuser@vmuser-desktop:~/jpgis/airport$ tail ksj2osm-airport.osm
<node id="-96" visible="true" lat="34.78889500" lon="135.42654100"><tag k="created_by" v="National-Land-Numerical-Information_MLIT_Japan"/><tag k="source" v="KSJ2"/><tag k="source_ref" v="http://nlftp.mlit.go.jp/ksj/jpgis/datalist/KsjTmplt-C28-v1_1.html"/><tag k="note" v="National-Land Numerical Information (Airport) 2007, MLIT Japan"/><tag k="note:ja" v="国土数値情報(空港データ)平成19年 国土交通省"/><tag k="KSJ2:airport_id" v="cf02_90"/><tag k="KSJ2:ARE" v="sf90Airport"/><tag k="KSJ2:CompositeCurve" v="cv44Airport"/><tag k="KSJ2:coordinate" v="34.78889500 135.42654100"/><tag k="KSJ2:lat" v="34.78889500"/><tag k="KSJ2:long" v="135.42654100"/><tag k="KSJ2:NA3" v="大阪国際空港"/></node>
<node id="-97" visible="true" lat="34.78718200" lon="135.42676100"><tag k="created_by" v="National-Land-Numerical-Information_MLIT_Japan"/><tag k="source" v="KSJ2"/><tag k="source_ref" v="http://nlftp.mlit.go.jp/ksj/jpgis/datalist/KsjTmplt-C28-v1_1.html"/><tag k="note" v="National-Land Numerical Information (Airport) 2007, MLIT Japan"/><tag k="note:ja" v="国土数値情報(空港データ)平成19年 国土交通省"/><tag k="KSJ2:airport_id" v="cf02_90"/><tag k="KSJ2:ARE" v="sf90Airport"/><tag k="KSJ2:CompositeCurve" v="cv44Airport"/><tag k="KSJ2:coordinate" v="34.78718200 135.42676100"/><tag k="KSJ2:lat" v="34.78718200"/><tag k="KSJ2:long" v="135.42676100"/><tag k="KSJ2:NA3" v="大阪国際空港"/></node>
<node id="-98" visible="true" lat="34.78689000" lon="135.42892200"><tag k="created_by" v="National-Land-Numerical-Information_MLIT_Japan"/><tag k="source" v="KSJ2"/><tag k="source_ref" v="http://nlftp.mlit.go.jp/ksj/jpgis/datalist/KsjTmplt-C28-v1_1.html"/><tag k="note" v="National-Land Numerical Information (Airport) 2007, MLIT Japan"/><tag k="note:ja" v="国土数値情報(空港データ)平成19年 国土交通省"/><tag k="KSJ2:airport_id" v="cf02_90"/><tag k="KSJ2:ARE" v="sf90Airport"/><tag k="KSJ2:CompositeCurve" v="cv44Airport"/><tag k="KSJ2:coordinate" v="34.78689000 135.42892200"/><tag k="KSJ2:lat" v="34.78689000"/><tag k="KSJ2:long" v="135.42892200"/><tag k="KSJ2:NA3" v="大阪国際空港"/></node>
<node id="-99" visible="true" lat="34.78691600" lon="135.42917200"><tag k="created_by" v="National-Land-Numerical-Information_MLIT_Japan"/><tag k="source" v="KSJ2"/><tag k="source_ref" v="http://nlftp.mlit.go.jp/ksj/jpgis/datalist/KsjTmplt-C28-v1_1.html"/><tag k="note" v="National-Land Numerical Information (Airport) 2007, MLIT Japan"/><tag k="note:ja" v="国土数値情報(空港データ)平成19年 国土交通省"/><tag k="KSJ2:airport_id" v="cf02_90"/><tag k="KSJ2:ARE" v="sf90Airport"/><tag k="KSJ2:CompositeCurve" v="cv44Airport"/><tag k="KSJ2:coordinate" v="34.78691600 135.42917200"/><tag k="KSJ2:lat" v="34.78691600"/><tag k="KSJ2:long" v="135.42917200"/><tag k="KSJ2:NA3" v="大阪国際空港"/></node>
<node id="-100" visible="true" lat="34.78783300" lon="135.42882900"><tag k="created_by" v="National-Land-Numerical-Information_MLIT_Japan"/><tag k="source" v="KSJ2"/><tag k="source_ref" v="http://nlftp.mlit.go.jp/ksj/jpgis/datalist/KsjTmplt-C28-v1_1.html"/><tag k="note" v="National-Land Numerical Information (Airport) 2007, MLIT Japan"/><tag k="note:ja" v="国土数値情報(空港データ)平成19年 国土交通省"/><tag k="KSJ2:airport_id" v="cf02_90"/><tag k="KSJ2:ARE" v="sf90Airport"/><tag k="KSJ2:CompositeCurve" v="cv44Airport"/><tag k="KSJ2:coordinate" v="34.78783300 135.42882900"/><tag k="KSJ2:lat" v="34.78783300"/><tag k="KSJ2:long" v="135.42882900"/><tag k="KSJ2:NA3" v="大阪国際空港"/></node>
<node id="-101" visible="true" lat="34.78781200" lon="135.42854600"><tag k="created_by" v="National-Land-Numerical-Information_MLIT_Japan"/><tag k="source" v="KSJ2"/><tag k="source_ref" v="http://nlftp.mlit.go.jp/ksj/jpgis/datalist/KsjTmplt-C28-v1_1.html"/><tag k="note" v="National-Land Numerical Information (Airport) 2007, MLIT Japan"/><tag k="note:ja" v="国土数値情報(空港データ)平成19年 国土交通省"/><tag k="KSJ2:airport_id" v="cf02_90"/><tag k="KSJ2:ARE" v="sf90Airport"/><tag k="KSJ2:CompositeCurve" v="cv44Airport"/><tag k="KSJ2:coordinate" v="34.78781200 135.42854600"/><tag k="KSJ2:lat" v="34.78781200"/><tag k="KSJ2:long" v="135.42854600"/><tag k="KSJ2:NA3" v="大阪国際空港"/></node>
<node id="-102" visible="true" lat="34.78790700" lon="135.42832800"><tag k="created_by" v="National-Land-Numerical-Information_MLIT_Japan"/><tag k="source" v="KSJ2"/><tag k="source_ref" v="http://nlftp.mlit.go.jp/ksj/jpgis/datalist/KsjTmplt-C28-v1_1.html"/><tag k="note" v="National-Land Numerical Information (Airport) 2007, MLIT Japan"/><tag k="note:ja" v="国土数値情報(空港データ)平成19年 国土交通省"/><tag k="KSJ2:airport_id" v="cf02_90"/><tag k="KSJ2:ARE" v="sf90Airport"/><tag k="KSJ2:CompositeCurve" v="cv44Airport"/><tag k="KSJ2:coordinate" v="34.78790700 135.42832800"/><tag k="KSJ2:lat" v="34.78790700"/><tag k="KSJ2:long" v="135.42832800"/><tag k="KSJ2:NA3" v="大阪国際空港"/></node>
<way id="-103" action="modify" visible="true"><tag k="natural" v="heath"/><tag k="fenced" v="yes"/><tag k="layer" v="-3"/><nd ref="-95" /><nd ref="-96" /><nd ref="-97" /><nd ref="-98" /><nd ref="-99" /><nd ref="-100" /><nd ref="-101" /><nd ref="-102" /><nd ref="-95" /><tag k="created_by" v="National-Land-Numerical-Information_MLIT_Japan"/><tag k="source" v="KSJ2"/><tag k="source_ref" v="http://nlftp.mlit.go.jp/ksj/jpgis/datalist/KsjTmplt-C28-v1_1.html"/><tag k="note" v="National-Land Numerical Information (Airport) 2007, MLIT Japan"/><tag k="note:ja" v="国土数値情報(空港データ)平成19年 国土交通省"/><tag k="KSJ2:airport_id" v="cf02_90"/><tag k="KSJ2:ARE" v="sf90Airport"/><tag k="KSJ2:CompositeCurve" v="cv44Airport"/><tag k="KSJ2:AAC" v="27203"/><tag k="KSJ2:AAC_label" v="大阪府豊中市"/><tag k="KSJ2:AD2" v="1"/><tag k="KSJ2:AD2_label" v="国土交通大臣"/><tag k="KSJ2:ARP" v="144.4358333333 43.47916666670"/><tag k="KSJ2:ATB" v="144.4383333000 43.48055556000"/><tag k="KSJ2:COA" v="空港整備法に基づく第一種空港"/><tag k="KSJ2:DSA" v="「公共用飛行場周辺における航空機騒音による障害の防止等に関する法律」に基づく特定飛行場で、かつ周辺整備空港に指定されている場合"/& gt;<tag k="KSJ2:INP" v="1"/><tag k="KSJ2:INP_label" v="国土交通大臣"/><tag k="KSJ2:IUC" v="供用中"/><tag k="KSJ2:NA3" v="大阪国際空港"/><tag k="KSJ2:REF" v="1"/><tag k="KSJ2:REF_label" v="ジェット定期便が就航している場合"/><tag k="KSJ2:OPT" v="07 00"/><tag k="KSJ2:CLT" v="21 00"/><tag k="KSJ2:runways" v="1828 45,3000 60"/><tag k="KSJ2:survey_year_LFD_NPD" v="1981 177 175,1982 176 182,1983 170 47350,1984 174 44478,1985 175 45312,1986 174 48948,1987 173 48335,1988 176 48783,1989 177 53132,1990 179 55123,1991 179 59928,1992 181 64415,1993 180 63024,1994 163 64428,1995 133 63881,1996 124 163,1997 122 35796,1998 133 36058,1999 141 37644,2000 141 40073,2001 140 43662,2002 144 44779,2003 158 46239,2003 175 48295,2003 182 51588"/></way>
<node id="-104" visible="true" lat="34.7878925" lon="135.4278565"><tag k="aeroway" v="aerodrome"/><tag k="layer" v="1"/><tag k="icao" v=""/><tag k="iata" v=""/><tag k="name" v="大阪国際空港 ()"/><tag k="name:en" v=""/><tag k="name:ja" v="大阪国際空港"/><tag k="name:ja_rm" v=""/><tag k="created_by" v="National-Land-Numerical-Information_MLIT_Japan"/><tag k="source" v="KSJ2"/><tag k="source_ref" v="http://nlftp.mlit.go.jp/ksj/jpgis/datalist/KsjTmplt-C28-v1_1.html"/><tag k="note" v="National-Land Numerical Information (Airport) 2007, MLIT Japan"/><tag k="note:ja" v="国土数値情報(空港データ)平成19年 国土交通省"/><tag k="KSJ2:airport_id" v="cf02_90"/><tag k="KSJ2:ARE" v="sf90Airport"/><tag k="KSJ2:CompositeCurve" v="cv44Airport"/><tag k="KSJ2:AAC" v="27203"/><tag k="KSJ2:AAC_label" v="大阪府豊中市"/><tag k="KSJ2:AD2" v="1"/><tag k="KSJ2:AD2_label" v="国土交通大臣"/><tag k="KSJ2:ARP" v="144.4358333333 43.47916666670"/><tag k="KSJ2:ATB" v="144.4383333000 43.48055556000"/><tag k="KSJ2:COA" v="空港整備法に基づく第一種空港"/><tag k="KSJ2:DSA" v="「公共用飛行場周辺における航空機騒音による障害の防止等に関する法律」に基づく特定飛行場で、かつ周辺整備空港に指定されている場合"/& gt;<tag k="KSJ2:INP" v="1"/><tag k="KSJ2:INP_label" v="国土交通大臣"/><tag k="KSJ2:IUC" v="供用中"/><tag k="KSJ2:NA3" v="大阪国際空港"/><tag k="KSJ2:REF" v="1"/><tag k="KSJ2:REF_label" v="ジェット定期便が就航している場合"/><tag k="KSJ2:OPT" v="07 00"/><tag k="KSJ2:CLT" v="21 00"/><tag k="KSJ2:runways" v="1828 45,3000 60"/><tag k="KSJ2:survey_year_LFD_NPD" v="1981 177 175,1982 176 182,1983 170 47350,1984 174 44478,1985 175 45312,1986 174 48948,1987 173 48335,1988 176 48783,1989 177 53132,1990 179 55123,1991 179 59928,1992 181 64415,1993 180 63024,1994 163 64428,1995 133 63881,1996 124 163,1997 122 35796,1998 133 36058,1999 141 37644,2000 141 40073,2001 140 43662,2002 144 44779,2003 158 46239,2003 175 48295,2003 182 51588"/></node>
</osm>
vmuser@vmuser-desktop:~/jpgis/airport$


Memo