You can use, e.g. <has-kv k="lanes" modv="not" regv="."/> in case you want
highways without lane values.
see http://overpass-turbo.eu/s/8Rv

In your case that will become <has-kv k="highway" modv="not" v="crossing"/>

Recently, I translated
http://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_API_by_Example
from German into English, but neither languages are my mother tongue. Feel
free to correct the English version, though I hope you find the examples
already usefull

regards
m

On Sat, Apr 18, 2015 at 8:37 AM, Brian Hollinshead <br...@hollinshead.net>
wrote:

> ​Thanks to Donal the nodes for highway=traffic_signals no longer show on
> Overpass page. A useful bit of MapCSS for me to learn.
>
> My Overpass    http://url.ie/yyqb
>
> Donals version   http://url.ie/yyqd
>
> They do however still get exported to Mapbox and perhaps to Leaflet also.
> (my laptop is away being fixed under warranty so have not checked leaflet
> yet.)
>
> My preference is to learn how ​to Exclude items like
> highway=traffic_signals or traffic-calming=hump or barrier=gate from the
> data collected by Overpass.
>
> Can I write a    'please do not add  <has-kv k="highway"
> v="traffic-signals"/> ' line to a query?
>
> Thanks
>
> On 12 April 2015 at 13:00, <talk-ie-requ...@openstreetmap.org> wrote:
>
> > Send Talk-ie mailing list submissions to
> >         talk-ie@openstreetmap.org
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> >         https://lists.openstreetmap.org/listinfo/talk-ie
> > or, via email, send a message with subject or body 'help' to
> >         talk-ie-requ...@openstreetmap.org
> >
> > You can reach the person managing the list at
> >         talk-ie-ow...@openstreetmap.org
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of Talk-ie digest..."
> >
> >
> > Today's Topics:
> >
> >    1. Excluding nodes in Overpass query (Brian Hollinshead)
> >    2. Re: Excluding nodes in Overpass query (Donal Diamond)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Sun, 12 Apr 2015 11:47:54 +0100
> > From: Brian Hollinshead <br...@hollinshead.net>
> > To: talk-ie@openstreetmap.org
> > Subject: [OSM-talk-ie] Excluding nodes in Overpass query
> > Message-ID:
> >         <
> > canspjsdte8gseoomso+uynxiw_kvrof2zrur4o1pzbbs3ob...@mail.gmail.com>
> > Content-Type: text/plain; charset=UTF-8
> >
> > I have an overpass query which includes all EDs in Stillorgan LEA (2014)
> >
> > http://url.ie/yyqb
> >
> > I wish to exclude nodes and only include ways and relations so as to
> avoid
> > node markers in Mapbox which I have just started learning. I know I can
> > remove them from the geojson file between overpass and mapbox but that is
> > fierce tedious. Better to exclude them earlier.
> >
> > Any guidance very welcome. have read lots of overpass help to no avail.
> >
> > btw I know I have to fix a false overlap between Stillorgan LEA and
> > Pembroke ED boundaries!
> >
> >
> > ------------------------------
> >
> > Message: 2
> > Date: Sun, 12 Apr 2015 12:17:15 +0100
> > From: Donal Diamond <donal.diam...@gmail.com>
> > To: Discussion of OpenStreetMap in Ireland <talk-ie@openstreetmap.org>
> > Subject: Re: [OSM-talk-ie] Excluding nodes in Overpass query
> > Message-ID:
> >         <CAB4yhm7B1pE1_NN-ffYM_8LLfnH7aQXznTsuKK-XdY4_S=-
> > i...@mail.gmail.com>
> > Content-Type: text/plain; charset=UTF-8
> >
> > On 12 April 2015 at 11:47, Brian Hollinshead <br...@hollinshead.net>
> > wrote:
> >
> > > I have an overpass query which includes all EDs in Stillorgan LEA
> (2014)
> > >
> > > http://url.ie/yyqb
> > >
> > > I wish to exclude nodes and only include ways and relations so as to
> > avoid
> > > node markers in Mapbox which I have just started learning.
> >
> >
> > I presume you mean MapCSS  and not Mapbox.
> >
> > Try this:
> >
> > http://url.ie/yyqd
> >
> >
> > Donal
> >
> >
> >
> >
> > > I know I can
> > > remove them from the geojson file between overpass and mapbox but that
> is
> > > fierce tedious. Better to exclude them earlier.
> > >
> > > Any guidance very welcome. have read lots of overpass help to no avail.
> > >
> > > btw I know I have to fix a false overlap between Stillorgan LEA and
> > > Pembroke ED boundaries!
> > > _______________________________________________
> > > Talk-ie mailing list
> > > Talk-ie@openstreetmap.org
> > > https://lists.openstreetmap.org/listinfo/talk-ie
> > >
> >
> >
> > ------------------------------
> >
> > Subject: Digest Footer
> >
> > _______________________________________________
> > Talk-ie mailing list
> > Talk-ie@openstreetmap.org
> > https://lists.openstreetmap.org/listinfo/talk-ie
> >
> >
> > ------------------------------
> >
> > End of Talk-ie Digest, Vol 71, Issue 3
> > **************************************
> >
> _______________________________________________
> Talk-ie mailing list
> Talk-ie@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk-ie
>
_______________________________________________
Talk-ie mailing list
Talk-ie@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-ie

Reply via email to