Newer
Older
osmCoverage / src / osm / jp / api / OsmnodeArea.java
@hayashi hayashi on 25 Sep 2017 845 bytes Caverage_fuel 完成
  1. /*
  2. * To change this license header, choose License Headers in Project Properties.
  3. * To change this template file, choose Tools | Templates
  4. * and open the template in the editor.
  5. */
  6. package osm.jp.api;
  7.  
  8. import org.w3c.dom.Node;
  9.  
  10. /**
  11. * OSM.xml の「Area(way)」ノード
  12. * 例)
  13. * <pre>{@code
  14. * <way id="161877397">
  15. * <nd ref="1738352013"/>
  16. * <nd ref="1738351984"/>
  17. * <nd ref="1738352019"/>
  18. * <nd ref="1738352024"/>
  19. * <nd ref="1738352017"/>
  20. * <nd ref="1738352013"/>
  21. * <tag k="amenity" v="fuel"/>
  22. * <tag k="brand" v="出光"/>
  23. * <tag k="name" v="出光"/>
  24. * <tag k="name:en" v="Idemitsu"/>
  25. * <tag k="opening_hours" v="24/7"/>
  26. * </way>
  27. * }</pre>
  28. *
  29. * @author yuu
  30. */
  31. public class OsmnodeArea {
  32. Node areanode = null;
  33. public OsmnodeArea(Node node) {
  34. this.areanode = node;
  35. }
  36.  
  37. }