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

How do I get all ways in a US state (e.g. Oklahoma) which have the "tiger:cfcc" tag?

I've tried to query for it here: https://overpass-turbo.eu/s/wLz:

[out:json][timeout:300];

{{geocodeArea:Oklahoma}}->.searchArea;
way["tiger:cfcc"]
  (area.searchArea);

out body;

>;
out skel qt;

May you please help me bringing it to work?

asked 06 Mar '18, 20:09

landuse's gravatar image

landuse
1165511
accept rate: 0%


I guess you won't be able to get it to work. Even a small area has many ways and will be a large query:

https://overpass-turbo.eu/s/wLH

(I've used out center there, so it isn't returning all the nodes, but it gets the point across)

Your best bet is to grab an extract from https://download.geofabrik.de/north-america/us/oklahoma.html and process that locally using osmium or osmosis.

permanent link

answered 06 Mar '18, 22:52

maxerickson's gravatar image

maxerickson
12.7k1083176
accept rate: 32%

1

As ever I'd recommend the osmconvert/osmfilter combination for simple filtering problems like this. These can be downloaded and run as is, which is not true of osmium, and not always true for osmosis.

(07 Mar '18, 12:41) SK53 ♦
Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×483

question asked: 06 Mar '18, 20:09

question was seen: 2,055 times

last updated: 07 Mar '18, 12:41

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