Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polygon role inner/out role is not being displayed #103

Open
KidA001 opened this issue Dec 20, 2018 · 0 comments
Open

Polygon role inner/out role is not being displayed #103

KidA001 opened this issue Dec 20, 2018 · 0 comments

Comments

@KidA001
Copy link

KidA001 commented Dec 20, 2018

I'm query the OSM API with the following request http://overpass-api.de/api/map?bbox=-119.86475115542854%2C34.410451138127065%2C-119.85719244457147%2C34.416207261872934

This data returns polygons that have role's of inner and outer

When I use OSMToGeoJSON to convert osmtogeojson {input_path.xml} > {output_path} the returned JSON is missing relation/role data:

{
          "type" => "Feature",
            "id" => "relation/298655",
    "properties" => {
               "timestamp" => "2018-05-25T17:18:44Z",
                 "version" => "3",
               "changeset" => "59277135",
                    "user" => "escallic",
                     "uid" => "2110789",
               "addr:city" => "Isla Vista",
        "addr:housenumber" => "6660",
           "addr:postcode" => "93117",
             "addr:street" => "Abrego Road",
                "building" => "yes",
                    "type" => "multipolygon",
                      "id" => "relation/298655"
    },
      "geometry" => {
               "type" => "Polygon",
        "coordinates" => [
            [0] [ .....]
      }
}

Am I doing something wrong, or is this data getting stripped?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant