NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I am looking for an API where I can retrieve the co-ordinates (GeoJson or topojson) of trees (Or POIs which consists of trees) . I want the request to be sent in tiled web map format (ie something like this). I have checked OSMBuildings it doesn't have details of trees.

    "type": "FeatureCollection",
    "features": [
            "id": "Id",
            "type": "Feature",
            "properties": {
                "type": "tree"
            "geometry": {
                "type": "Point",
                "coordinates": [

I am expecting this kind of response from the server

Thank you

asked 17 Jul '19, 14:59

aravinda_b's gravatar image

accept rate: 0%

edited 18 Jul '19, 08:42

You seem to have conflicting requests. Do you want to get raw data for the trees, or rendered image tiles? If you want the raw data, then you'll have to use whatever syntax the given API expects, which almost certainly won't be the Slippy Map syntax.

(17 Jul '19, 16:59) alester

I'd be really suprised if there was an off-the-shelf server that provided what you want. I'm sure that you can download OSM data and extract what you want, though, or use overpass to obtain it for a particular area.

(17 Jul '19, 17:30) SomeoneElse ♦

Thanks to alester and SomeoneElse for responding. I have updated question with sample response. This makes solves the confusion i guess.

(18 Jul '19, 08:22) aravinda_b

There's the OpenTrees site which seems to do what you are seeking as an end product. The code is viewable here, this might help you set up your own project.

permanent link

answered 19 Jul '19, 01:39

philam48's gravatar image

accept rate: 0%

Thank you but that doesn't have data of my region

(22 Jul '19, 12:33) aravinda_b

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 17 Jul '19, 14:59

question was seen: 1,722 times

last updated: 22 Jul '19, 12:33

NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum