===============================================================================
 ɸ

ƤκɸϤX Yϡ줾졢̸ñ̤ϥ᡼ȥ

ѥޥå(ʻդ)
	map-with-grid.png


ݡȺɸ(#la-la-port-dining)
	ϡޤΤۤ(ʱߤ濴)

Ź޺ɸ01(#la-la-port-dining-shop01)
	ޤκξ¦Ź
	ϡŹޤΤۤ

Ź޺ɸ02(#la-la-port-dining-shop02)
	ޤξ¦κüŹ
	ϡŹޤΤۤ

ơ֥01ɸ(#la-la-port-dining-table01)
	ϡ޺Υơ֥濴
	(緿ǥץ쥤֤θζ᤯)
	޺ơ֥뷲αΥơ֥

	ϡݡȺɸϤ
		X: -22.76
		Y: +14.41

DarumaEarth
	ݡȺɸϤθWGS-84
		longitude +139.951
		latitude  + 35.894
		(ۤܡ¤ΤݡȤΰ)
	˥ޥåԥ󥰡
	1᡼ȥ ٷ٤ 0.00001 ٤ˤΤޤޥޥåԥ󥰡


===============================================================================
ǡϿ

0.
	daruma ưmisp/base/*.misp ǡե㡼פ
	ɸϤԤ

1. DarumaEarth
	% cd darumaEarth/
	% ./DarumaEarth -conf darumaearth.conf
		ɬפ˱ darumaearth.conf ΥۥȤ

	GoogleEarth ǡKML ɤ߹ࡣ
		darumaEarth/link.kml Ȥ鷺
		darumaEarth/link-la-la-port.kml(طʲդ)Ȥ

	!!!  !!!
	link-la-la-port.kml طʲΥѥ doc.kml Υѥ
	Ķ˹碌ƽؤƲ
	#  ./DarumaEarth -conf darumaearth.conf ¹ԤƤ
	# link.kml 򻲹ͤ link-la-la-port.kml ؤơ
	# θ GoogleEarth ưΤñʤ褦Ǥ


2. ץǡϿ
	ʲμ硢⤷ϼΥޥɤˤƥ֥ȤϿ
	ԤäƲ

	misp/ ʲΥե DaRuMa ˥ǡϿ롣
		1-insert-tray01-shop01.misp
		2-insert-tray02-shop02.misp
		3-1-delete-tray01.misp
		3-2-insert-tray01-table01.misp
		4-1-delete-tray02.misp
		4-2-insert-tray02-table01.misp
		5-1-delete-tray01.misp
		5-2-insert-tray01-shop01.misp
		6-1-delete-tray02.misp
		6-2-insert-tray02-shop02.misp

	ʥꥪϰʲΤȤ
		1A Ź01ǥȥ졼01ꡣ
		2ƱB Ź02ǥȥ졼02ꡣ
		3A 󤬥ȥ졼ơ֥01˰ư
		4ƱB 󤬥ȥ졼02ơ֥01˰ư
		5A 󤬥ȥ졼01Ź01ֵ
		6B 󤬥ȥ졼02Ź02ֵ


	 darumaearth.conf  --timestamp ͭˤ
	   *-1-delete-*.misp ǥǡκԤʤʤС
	   GoogleEarth Υ饤ǻּȤäɽǽǤ
	   --timestamp ͭˤȡϿƤ⥿饤ưʤ
	   ϰϳɽʤẮΤȤʤΤǥǥեȤǤ
	   դˤƤޤ


	 ɸѴϿȡե㡼ϿΩƤΤǡ
	   ե㡼ϿԤäǡɸѴϿԤȤޤ
	   κݤϡɸѴϿԤäǡ˰ä褦ˤʤꡢ
	   λɽޤ


===============================================================================
ޥɤˤ륪֥Ͽ

ޥɤΰ ID֡ꤷϿޤ
	% ./register-object-info.rb --id OBJECT_ID \
	                            --location 'Point(X,Y)' \
	                            --timestamp TIMESTAMP

¾ɸϡե꡼եʸޤ

	ǽʥץϰʲΤȤ
	  --help
		ˡץȤƽλޤ

	  --verbose|-v
		ʸۥ̾ʤɡĹʽϤԤޤ

	  --host|-h HOST
		MISP ФΥۥ̾ꤷޤ(default: localhost)

	  --port|-p PORT
		MISP ФΥݡֹꤷޤ(default: 5050)

	  --id OBJECT_ID
		Ͽ륪֥ȤID(Ǥդʸ)ꤷޤ

	  --location 'Point(X,Y)'
		֥Ȥΰ֤ꤷޤ

	  --srsName COORDINATE_SYSTEM_NAME
		--location ǻꤷ֥Ȥΰ֤ɤκɸϤ°뤫
		ꤷޤ

	  --timestamp TIMESTAMP
		֥Ȥ¸ߤꤷޤ
		եޥåȤ YYYY-MM-DDTHH:MM:SS[.SUBSEC](Z|[+-]HH:MM)
		㤨 2000-01-01T00:00:00Z

	  --note ANY_STRING
		ͳʸ򥪥֥Ȥɲäޤ

	  --add
	  --replace
	  --delete
		֥Ȥ򰷤פꤷޤ
		add Ͽ֥ȤϿޤ
		replace Ͽ֥ȤϿޤ
		Ʊ ID Υ֥Ȥޤ
		delete ϥ֥ȤΤߤԤޤ(default: add)

	  --stdout
		å򥵡Ф餺ɸϤ˽񤭽Фޤ
		ǥХåѡ

)
	% ./register-object-info.rb --help

	% ./register-object-info.rb --host localhost -p 5050 -v --id tray01 \
	  --location 'Point(1.234,-5.0)' --timestamp 2000-01-01T00:00:00Z \
	  --srsName '#la-la-port-dining-table01' --note 'this is tray01'

	% ./register-object-info.rb --id tray01 --delete
