com.gisgraphy.importer

## Class OsmAmenityToPlacetype

- java.lang.Object
- - com.gisgraphy.importer.OsmAmenityToPlacetype

-     public class OsmAmenityToPlacetype
      extends Object

  associates the amenity tag of osm to a palcetype. list of values based on http://taginfo.openstreetmap.org/keys/?key=amenity#values
  Author:
    David Masclet

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `DEFAULT_OSM_FEATURE_CLASS`
    `static String` | `DEFAULT_OSM_FEATURE_CODE`
    `static int` | `TAGS_ARRAY_SIZE`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `OsmAmenityToPlacetype()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `List<GisFeature>` | `getObjectsFromTags(String[] tags)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### TAGS_ARRAY_SIZE

          public static int TAGS_ARRAY_SIZE

    - #### DEFAULT_OSM_FEATURE_CODE

          public static final String DEFAULT_OSM_FEATURE_CODE

      See Also:
        Constant Field Values

    - #### DEFAULT_OSM_FEATURE_CLASS

          public static final String DEFAULT_OSM_FEATURE_CLASS

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### OsmAmenityToPlacetype

          public OsmAmenityToPlacetype()

  - ### Method Detail

    - #### getObjectsFromTags

          public List<GisFeature> getObjectsFromTags(String[] tags)

Copyright © 2015. All rights reserved.