Giter Site home page Giter Site logo

metroextractor-cities's Introduction

DEPRECATION NOTICE

This repository is no longer in use. Please see Mapzen Metro Extracts

metroextractor-cities

Build Status

This data is used to build the extracts found here: Mapzen Metro Extracts.

Extracts are built weekly. If you submit a pull for a new extract, it will not be available until the weekly build has completed. This typically takes place over the weekend.

Description

  • cities.json defines bounding boxes for various metro areas, which are used by chef-metroextractor to produce weekly extracts.

Contributing

You need to perform the following tasks for us to accept a pull request:

  • update cities.json with your changes
    • do not modify cities.geojson; it will be generated automatically when your pull request is merged.
  • run the included tests, which will validate:
  • the syntax of the json
  • that the bounding boxes being sumbitted are valid
  • that the bounding boxes for cities all fall within their encompassing upper level bounding box (e.g. north_america)
  • that there's nothing other than a float provided for the bounding box coordinates
  • the top/left/bottom/right bbox parameters should be carried out to the thousandths (three digits to the right of the decimal)

If you're unable to run the test suite locally, you can submit a pull request, but if the specs fail there will be a delay in getting your request resolved.

If in doubt, just submit an issue with your request rather than a pull request.

Running Tests

You will need to have a Ruby 2.x environment, then simply:

bundle install
bundle exec rake

Passing tests will look similar to the following:

Preparing sandbox
rm -rf /Users/grant/repos/mapzen/metroextractor-cities/spec/tmp
mkdir -p /Users/grant/repos/mapzen/metroextractor-cities/spec/tmp
cp -r Rakefile README.md spec/bbox_numeric_spec.rb spec/bbox_size_spec.rb spec/bbox_spec.rb spec/geojson_spec.rb spec/json_spec.rb spec/ruby_spec.rb spec/whitespace_spec.rb tasks/build_geojson.rb tasks/default.rb tasks/test.rb /Users/grant/repos/mapzen/metroextractor-cities/spec/tmp
Running rubocop
rubocop /Users/grant/repos/mapzen/metroextractor-cities/spec/tmp
Inspecting 11 files
...........

11 files inspected, no offenses detected
Checking cities.json for valid bbox's
OK
Validating cities.json bbox sizes
OK
Validating cities.json bbox input is numeric
OK
Validating cities.json syntax
OK
Checking cities.json for invalid whitespace
OK
Validating cities.geojson syntax
OK

License and Authors

metroextractor-cities's People

Contributors

alithadp avatar andygol avatar binx avatar bobharper1 avatar harshadevulapalli avatar heffergm avatar indyhurt avatar jaraddlfisher avatar javathunderman avatar jeffkayser avatar jonahadkins avatar kathleenld avatar kgjenkins avatar mapscientist avatar markjd84 avatar mcl33 avatar mirceaianc avatar missinglink avatar perrygeo avatar rfriberg avatar rmglennon avatar roaldl avatar sabas avatar smehenni avatar thilinajayamini avatar thrownblown avatar ueliw0 avatar ustroetz avatar yellowsoar avatar zerebubuth avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

metroextractor-cities's Issues

City adding - Fukuoka and North Kyushu

Hi

Please kindly add :

city - Fukuoka (Japan)

top:33.764157
left:130.056077
bottom:33.475403
right:130.643845

Region - North Kyushu

top:33.909356
left:129.271947
bottom:32.611800
right:132.054234

thanks a lot!

Antwerp

Antwerpen/Anvers, what ever you called, we want it :)

Using osm2pgsql with chef-metroextractor the feature counts do not match hosted shapefiles

I am running OSM2PGSQL using the style file at https://github.com/mapzen/chef-metroextractor/blob/master/files/default/osm2pgsql.style on several PBFs, including Victoria and Abuja but I can't get the Planet-osm table feature counts to match the counts from running shp2pgsql on the osm2pgsqlshp shapefiles. The PBF import is resulting in far fewer features of all types. I am running this on Centos 5.5 with Postgresql 9.3. Could this inconsistency be an issue with the version of osm2pgsql (I am using version 0.85.0 so there shouldn't be a 64-bit issue).

City Adding

Hello. Please add a city Bishkek. It's a capital of Kyrgyz Republic.
Right - 74.7624
Left - 74.4250
Top - 42.9857
Bottom - 42.6894

Change Extents of Buenos Aires

Similar issue to the last one, I'm hoping to get larger extents for Buenos Aires

Here are the coordinates I am thinking of:

Top: -34.2186
Left: -59.2575
Bottom: -35.1390
Right: -57.8334

Thanks for your quick responses on my last request - you guys are the best!

nodeids referenced in ways not available in document.

Hey Grant,

I've been playing with some of the metro extracts eg: https://s3.amazonaws.com/metro-extracts.mapzen.com/auckland.osm.pbf

Some of the ways in the document reference node ids which don't exist in the pbf document.

When I validate extracts from http://download.geofabrik.de/ they don't have the same issue.

Maybe it's my library or maybe it's a problem with the export?
Are you able to reproduce this issue?

Here is the script I'm using to validate the doc:
https://gist.github.com/missinglink/47952fa0dc6e83448827

-P

Some southern Spain cities in my area - Cádiz,Jerez,Puerto,Sevilla

Region: Europe

Cádiz:
Top: 36.550
Left: -6.325
Bottom: 36.460
Right:-6.250

Jerez:
Top: 36.780
Left: -6.200
Bottom: 36.620
Right: -6.000

El Puerto de Santa María:
Top: 36.645
Left: -6.318
Bottom: 36.558
Right: -6.166

Seville:
Top: 37.460
Left: -6.050
Bottom: 37.32
Right: -5.869

Thanks for keeping this project up.

San Jose, Costa Rica

Would it be possible to get an extract of San Jose, Costa Rica based on the attached image? Looking to get the entire main city area.
san-jose

Bujumbura, Burundi

Hi,

Is it possible to ad Bujumbura, the capital of Burundi to Metro extractor?

The city is between -3.2900 / -3.4421 South & 29.2576 / 29.5271 East

Thanks in advance for your help,

Quentin

National City, CA

Hello!

Would need a high definition map of national City, CA:
top/bottom 32.69 and 32.59 and left/right -117 and 116.

Please, let me know how to get it?

Thank you for caring. ;-)))

Complete List of World Places

@heffergm @missinglink is there an easy way of getting a complete list of world towns/cities from Mapzen/OpenStreetmap? I'm looking for a few hundred thousand entries to demo an auto-complete.
Can you point me in the right direction? (thanks!)

Duisburg, Germany

Hello.

Not sure how to add a pull request. Any chance of adding Duisburg in Germany please?

Cheers,
Richie

Errors / Last file pulled

Hi all,
I made two errors in my last pull, perhaps someone can fix them fast since the two extracts are incorrect. The cities are:

Antananarivo, Madagascar (line 59), the correct bounding-box:
"antananarivo_madagascar": {
"bbox": {
"top": "-18.772",
"left": "47.370",
"bottom": "-19.025",
"right": "47.679"
}},

and

Asuncion, Paraguay (line 2670), the correct bounding-box:
"asuncion_paraguay": {
"bbox": {
"top": "-25.052",
"left": "-57.777",
"right": "-57.268",
"bottom": "-25.535"
}},


Sorry for any inconvenience, I'll be more careful next time, ha!

Agra-India

"If in doubt, just submit an issue with your request rather than a pull request."

  • I am now in doubt, after I submitted the pull request, because I wasn't able to run the tests (because I frankly have no idea how).

The pull request I submitted was for Agra, India. The bounding box is:
Top: 27.259
Left: 77.886
Bottom: 27.106
Right: 78.151

Much thanks.

Saint-Etienne, France

Hi!

I'm a student in 5th year in géography in Switzerland, and I would need to add to your code the city of Saint-Etienne in France...I tried by my own, but didn't make it... Can you do it for me? The coordinate is:
"top": "45.462",
"left": "4.329",
"bottom": "45.407",
"right": "4.463"

Cape Town

Hi,

Any chance you can create a download for cape town, south africa? (hopping)

thanks

le_mans

"europe": {
  •        "bbox": {
    
  •            "top": "64.297",
    
  •            "left": "-22.826",
    
  •            "bottom": "37.514",
    
  •            "right": "51.918"
    
  •        },
    
  •        "cities": {
    
  •            "amsterdam": {
    
  •                "bbox": {
    
  •                    "top": "52.629",
    
  •                    "left": "4.465",
    
  •                    "bottom": "52.163",
    
  •                    "right": "5.347"
    
  •                }
    

City map request: Chisinau, Moldova

I would be grateful to have access to a larger area of the map, or even the entire city (Chisinau, Moldova).
Please let me know how would it be possible. Thank you.

adding new cities

hello,
I think you need to add Astana - the capital of Kazakhstan :-)
also other 14 cities in Kazakhstan.

Can't find waterbodies in data

Hi there,

I'm editing a map of Zurich. I downloaded the data from mapzen and was able to display the most important layers using tilemill. However, water does not always appear where it should (see screenshot: the lake and a river are missing). It is not the case on http://www.openstreetmap.org/search?query=zurich#map=15/47.3698/8.5402&layers=H
I can't find anything labelled as "Lake Zurich" or "Limmat" (the main river in Zurich) in the osm-waterareas.shp file.
Do you have any ideas?

Many thanks!
Julien
zurich

Southampton, UK

Final request from me for a while. Appreciate the work you guys do on this, it's a great tool.

Cheers!

Connecticut <> New York

Hey @heffergm, I'm finding heaps of Connecticut POIs in the new-york_new-york.osm.pbf extract, not sure if this is a bug or just the way the bbox is specified.

Can we fix this or is it pretty much a 'best we can do right now' thing?

https://www.google.co.uk/maps/place/41%C2%B004'06.3%22N+73%C2%B034'40.5%22W/@41.0684162,-73.5779167,15z/data=!3m1!4b1!4m2!3m1!1s0x0:0x0

{
  "took": 2,
  "timed_out": false,
  "_shards": {
    "total": 8,
    "successful": 8,
    "failed": 0
  },
  "hits": {
    "total": 105886,
    "max_score": 1,
    "hits": [
      {
        "_index": "pelias",
        "_type": "osmnode",
        "_id": "359273976",
        "_score": 1,
        "_source": {
          "center_point": {
            "lat": 41.0684301,
            "lon": -73.5779025
          },
          "name": {
            "default": "Mianus Filter Plant Dam"
          },
          "type": "node",
          "alpha3": "USA",
          "admin0": "United States",
          "admin1": "Connecticut",
          "admin1_abbr": "CT",
          "admin2": "Fairfield",
          "local_admin": "Greenwich",
          "locality": "Stamford",
          "neighborhood": "Westover",
          "suggest": {
            "input": [
              "mianus filter plant dam"
            ],
            "payload": {
              "id": "osmnode\/359273976",
              "geo": "-73.57790250000001,41.0684301"
            },
            "output": "Mianus Filter Plant Dam, Greenwich, CT",
            "weight": 6
          }
        }
      },
      {
        "_index": "pelias",
        "_type": "osmnode",
        "_id": "359273985",
        "_score": 1,
        "_source": {
          "center_point": {
            "lat": 41.0284306,
            "lon": -73.6629057
          },
          "name": {
            "default": "Pemberwick Dam"
          },
          "type": "node",
          "alpha3": "USA",
          "admin0": "United States",
          "admin1": "Connecticut",
          "admin1_abbr": "CT",
          "admin2": "Fairfield",
          "local_admin": "Greenwich",
          "locality": "Glenville",
          "neighborhood": "Rye Brook",
          "suggest": {
            "input": [
              "pemberwick dam"
            ],
            "payload": {
              "id": "osmnode\/359273985",
              "geo": "-73.66290570000001,41.0284306"
            },
            "output": "Pemberwick Dam, Greenwich, CT",
            "weight": 6
          }
        }
      },
      {
        "_index": "pelias",
        "_type": "osmnode",
        "_id": "359274005",
        "_score": 1,
        "_source": {
          "center_point": {
            "lat": 41.044009,
            "lon": -73.5888205
          },
          "name": {
            "default": "Mianus River Pond"
          },
          "type": "node",
          "alpha3": "USA",
          "admin0": "United States",
          "admin1": "Connecticut",
          "admin1_abbr": "CT",
          "admin2": "Fairfield",
          "local_admin": "Greenwich",
          "locality": "Cos Cob",
          "neighborhood": "Mianus",
          "suggest": {
            "input": [
              "mianus river pond"
            ],
            "payload": {
              "id": "osmnode\/359274005",
              "geo": "-73.58882050000001,41.044009"
            },
            "output": "Mianus River Pond, Greenwich, CT",
            "weight": 6
          }
        }
      },
      {
        "_index": "pelias",
        "_type": "osmnode",
        "_id": "359274058",
        "_score": 1,
        "_source": {
          "center_point": {
            "lat": 41.0784301,
            "lon": -73.4478977
          },
          "name": {
            "default": "Chasmars Pond"
          },
          "type": "node",
          "alpha3": "USA",
          "admin0": "United States",
          "admin1": "Connecticut",
          "admin1_abbr": "CT",
          "admin2": "Fairfield",
          "local_admin": "Darien",
          "locality": "Darien",
          "neighborhood": "Rowayton",
          "suggest": {
            "input": [
              "chasmars pond"
            ],
            "payload": {
              "id": "osmnode\/359274058",
              "geo": "-73.44789770000001,41.078430100000006"
            },
            "output": "Chasmars Pond, Darien, CT",
            "weight": 6
          }
        }
      },
      {
        "_index": "pelias",
        "_type": "osmnode",
        "_id": "359285199",
        "_score": 1,
        "_source": {
          "center_point": {
            "lat": 41.0528747,
            "lon": -73.5398453
          },
          "name": {
            "default": "Atlantic Square"
          },
          "type": "node",
          "alpha3": "USA",
          "admin0": "United States",
          "admin1": "Connecticut",
          "admin1_abbr": "CT",
          "admin2": "Fairfield",
          "local_admin": "Stamford",
          "locality": "Stamford",
          "neighborhood": "Downtown Stamford",
          "suggest": {
            "input": [
              "atlantic square"
            ],
            "payload": {
              "id": "osmnode\/359285199",
              "geo": "-73.53984530000001,41.052874700000004"
            },
            "output": "Atlantic Square, Stamford, CT",
            "weight": 6
          }
        }
      },
      {
        "_index": "pelias",
        "_type": "osmnode",
        "_id": "359285326",
        "_score": 1,
        "_source": {
          "center_point": {
            "lat": 41.0828745,
            "lon": -73.5579018
          },
          "name": {
            "default": "Boulton Cemetery"
          },
          "type": "node",
          "alpha3": "USA",
          "admin0": "United States",
          "admin1": "Connecticut",
          "admin1_abbr": "CT",
          "admin2": "Fairfield",
          "local_admin": "Stamford",
          "locality": "Stamford",
          "neighborhood": "Roxbury",
          "suggest": {
            "input": [
              "boulton cemetery"
            ],
            "payload": {
              "id": "osmnode\/359285326",
              "geo": "-73.55790180000001,41.0828745"
            },
            "output": "Boulton Cemetery, Stamford, CT",
            "weight": 6
          }
        }
      },
      {
        "_index": "pelias",
        "_type": "osmnode",
        "_id": "359285335",
        "_score": 1,
        "_source": {
          "center_point": {
            "lat": 41.042597,
            "lon": -73.5579014
          },
          "name": {
            "default": "Bread of Life Church"
          },
          "type": "node",
          "alpha3": "USA",
          "admin0": "United States",
          "admin1": "Connecticut",
          "admin1_abbr": "CT",
          "admin2": "Fairfield",
          "local_admin": "Stamford",
          "locality": "Stamford",
          "neighborhood": "West Side",
          "suggest": {
            "input": [
              "bread of life church"
            ],
            "payload": {
              "id": "osmnode\/359285335",
              "geo": "-73.5579014,41.042597"
            },
            "output": "Bread of Life Church, Stamford, CT",
            "weight": 6
          }
        }
      },
      {
        "_index": "pelias",
        "_type": "osmnode",
        "_id": "359285397",
        "_score": 1,
        "_source": {
          "center_point": {
            "lat": 41.0767635,
            "lon": -73.459287
          },
          "name": {
            "default": "Calvary Baptist Church"
          },
          "type": "node",
          "alpha3": "USA",
          "admin0": "United States",
          "admin1": "Connecticut",
          "admin1_abbr": "CT",
          "admin2": "Fairfield",
          "local_admin": "Darien",
          "locality": "Darien",
          "neighborhood": "Brookside",
          "suggest": {
            "input": [
              "calvary baptist church"
            ],
            "payload": {
              "id": "osmnode\/359285397",
              "geo": "-73.459287,41.076763500000006"
            },
            "output": "Calvary Baptist Church, Darien, CT",
            "weight": 6
          }
        }
      },
      {
        "_index": "pelias",
        "_type": "osmnode",
        "_id": "359285685",
        "_score": 1,
        "_source": {
          "center_point": {
            "lat": 41.094541,
            "lon": -73.5295675
          },
          "name": {
            "default": "Davenport Ridge School"
          },
          "type": "node",
          "alpha3": "USA",
          "admin0": "United States",
          "admin1": "Connecticut",
          "admin1_abbr": "CT",
          "admin2": "Fairfield",
          "local_admin": "Stamford",
          "locality": "Stamford",
          "neighborhood": "Springdale",
          "suggest": {
            "input": [
              "davenport ridge school"
            ],
            "payload": {
              "id": "osmnode\/359285685",
              "geo": "-73.52956750000001,41.09454100000001"
            },
            "output": "Davenport Ridge School, Stamford, CT",
            "weight": 6
          }
        }
      },
      {
        "_index": "pelias",
        "_type": "osmnode",
        "_id": "359285847",
        "_score": 1,
        "_source": {
          "center_point": {
            "lat": 41.0367638,
            "lon": -73.5681796
          },
          "name": {
            "default": "First Congregational Church"
          },
          "type": "node",
          "alpha3": "USA",
          "admin0": "United States",
          "admin1": "Connecticut",
          "admin1_abbr": "CT",
          "admin2": "Fairfield",
          "local_admin": "Greenwich",
          "locality": "Old Greenwich",
          "neighborhood": "Waterside",
          "suggest": {
            "input": [
              "first congregational church"
            ],
            "payload": {
              "id": "osmnode\/359285847",
              "geo": "-73.56817960000001,41.0367638"
            },
            "output": "First Congregational Church, Greenwich, CT",
            "weight": 6
          }
        }
      }
    ]
  }
}

Albany NY

Don't see Albany NY on the cities list, not sure how to add it as a pull request exactly, so making the request here. Thanks!

Medellin, Colombia and Caracas, Venezuela

Hi everyone,
Just submitting a request to have a metro extract of Medellin and Caracas when you get the chance. I use this site all the time, so thanks for all the cities that you already have!

Brisbane and Gold Coast, Australia

It would be greatly appreciated if you could make the following changes....

These bounds better define the Brisbane metropolitan area:

"brisbane_australia": {
"bbox": {
"top": "-27.000",
"left": "152.700",
"bottom": "-27.722",
"right": "153.349"

Also a Gold Coast bounding box would be great:

"gold_coast_australia": {
"bbox": {
"top": "-27.722",
"left": "153.130",
"bottom": "-28.200",
"right": "153.583"

Many thanks, Mark31

Washington County and Portland duplicate each other

The bounding box for Portland lies entirely within that of Washington County and nearly covers the same area

image

The file sizes are 15MB and 13.7MB respectively, so there's almost no reason to have both as is.

Rio de Janiero - Extent update

Hi all -
I am wondering if it is possible to update the Rio de Janiero extract so that it includes a larger area. The current extract doesn't go far enough west to include the official municipal boundary of the Municipality of Rio de Janiero.

Here are the coordinates I am thinking of:

Top: -22.3780
Left: -43.8602
Bottom: -23.2161
Right: -42.7505

Building coordinates for Sydney don't match OSM data

I am working from the Sydney IMPOSM GEOJSON file.

All coordinates appear to be incorrect, as they don't match OSM data.

In osm_id 121701668.0 ("Terrey Hills Service Station") the node 1361483232 should be located at: -33.6803161, 151.2248741, but in the geojson file its coordinates are given as -33.857957918162988, 151.224874019436413.

This results in much of the Sydney metropolitan area being located in the Pacific Ocean. Not sure if this is user error on my part.

Request for Northern Ireland and Ireland map data

Dear Mapzen,

My Architecture design tutor asked me to request map data for Belfast (Northern Ireland), Dublin and Cork (Ireland) on behalf of our studio. We would like to request any data on these three cities, particularly information including transport links,rail, roads major and minor, water features, contours with spot height and, geological data that lies within 10km of the centre of each respective city.

We would like this information in a scaled dwg and or PDF format.

Thank you in advance for your assistance.

Kind regards

Victor

Add Gaza City

N 31.6668
E 34.6667
S 31.3560
W 34.2526

Think those are the correct coordinates - taken from the OpenStreetMap export window.
Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.