Re: [Qgis-user] Anybody knows how to download OSM Turn Restrictions?

2017-08-30 Thread Clifford Snow
Overpass can grab turn restrictions. Read the wiki[1] for information on
how turn restrictions are tagged.

For example, this query [1] grabs all turn restrictions in my county. Once
the query has run download a geojson for loading into QGIS

[out:json][timeout:25];
// fetch area “skagit county” to search in
{{geocodeArea:skagit county}}->.searchArea;
// gather results
(
  // query part for: “type=restriction and restriction=*”

  relation["type"="restriction"]["restriction"](area.searchArea);
);
// print results
out body;
>;
out skel qt;

FYI - Read the OSM wiki[2] for information on how turn restrictions are
tagged to help improve the query or to narrow down the results

[1] http://overpass-turbo.eu/s/rn7
[2] https://wiki.openstreetmap.org/wiki/Relation:restriction


Clifford

-- 
@osm_seattle
osm_seattle.snowandsnow.us
OpenStreetMap: Maps with a human touch
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Debian/Ubuntu Install of 2.18 and 2.99 Together?

2017-08-30 Thread Kory Roberts
Is there a recommended way of concurrently installing both 2.18 and 2.99 on 
Debian/Ubuntu that isn't overly complicated (getting into and out of)?  I 
have the latest release of 2.18 installed using the repository 
http://qgis.org/ubuntugis.  I'd like to preview the upcoming version, but 
when I added the repository http://qgis.org/ubuntugis-nightly, it looked 
like the update manager was going to upgrade QGIS.  What I really wanted 
was to install them both.  Thanks.



___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Problems building 2.18.x on Slackware-14.2

2017-08-30 Thread Rich Shepard

  Using the SlackBuilds.org script for both 2.18.11 and 2.18.12 produces an
error on my system:

-- Found QScintilla2 PyQt module: 2.9.1
CMake Error at /usr/lib/cmake/qjson/QJSONTargets.cmake:16 (ADD_LIBRARY):
  add_library cannot create imported target "qjson" because another target
  with the same name already exists.
Call Stack (most recent call first):
  /usr/lib/cmake/qjson/QJSONConfig.cmake:6 (include)
  src/providers/arcgisrest/CMakeLists.txt:1 (FIND_PACKAGE)

  I've been told this happens when Qt4/PyQt4 and Qt5/PyQt5 are installed on
the same host; removing both version 5 packages removes the error. I need
both versions because different applications require one version or the
other.

  My web search for this error produced hits with other applications on
different distributions.

  Why is having two versions of Qt and PyQt affect compiling qgis and how
can I resolve this problem?

Rich


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Anybody knows how to download OSM Turn Restrictions?

2017-08-30 Thread Andre Joost

Am 30.08.2017 um 11:09 schrieb DelazJ:

Hi,
I think that the OpenStreetMap native tool in QGIS offers a way to
filter an osm layer based on tags (you'll first need to download the
whole data from OSM and use the "Export Topology..." tool ). See
http://docs.qgis.org/2.18/en/docs/user_manual/managing_data_source/opening_data.html#importing-openstreetmap-vectors.



I doubt that this will work. From the relation of type restriction, you 
need the relation tags and the "role" tags for the ways and nodes to 
model a turn restriction.

See http://wiki.openstreetmap.org/wiki/Relation:restriction

The OSM importer tool, only builds points, lines and polygones, dropping 
the restriction relations completely.


QuickOSM (via Overpass) is able to laod the relation, but just models 
lines and points without the role information.


Add vector layer is able to import "other relations", but without geometry.

Even osm2pgsql does not import the turn restriction relations (like it 
does for routes).


Greetings,
André Joost




___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Anybody knows how to download OSM Turn Restrictions?

2017-08-30 Thread DelazJ
Hi,
I think that the OpenStreetMap native tool in QGIS offers a way to
filter an osm layer based on tags (you'll first need to download the
whole data from OSM and use the "Export Topology..." tool ). See
http://docs.qgis.org/2.18/en/docs/user_manual/managing_data_source/opening_data.html#importing-openstreetmap-vectors.

Regards,
Harrissou

2017-08-30 10:31 GMT+02:00 magerlin :
> Like I can download and display road sections with attributes like speed from
> OSM in QGIS I would like to be able to also show turn restrictions in
> intersections like the data shown in this map:
> https://ahorn.lima-city.de/tr/   .
>
> I know it has to do with the tag "Relation:restriction" in OSM but I do not
> see the possibility to get these to QGIS in any of the OSM download/import
> methods I am aware of.
>
> Anybody have experiences in this?
>
>
>
> -
> Regards Morten
>
> Currently using Qgis 2.18.12 (OSGeo4),
> Windows 7, 64bit
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Anybody knows how to download OSM Turn Restrictions?

2017-08-30 Thread magerlin
Like I can download and display road sections with attributes like speed from
OSM in QGIS I would like to be able to also show turn restrictions in
intersections like the data shown in this map: 
https://ahorn.lima-city.de/tr/   .

I know it has to do with the tag "Relation:restriction" in OSM but I do not
see the possibility to get these to QGIS in any of the OSM download/import
methods I am aware of.

Anybody have experiences in this?



-
Regards Morten

Currently using Qgis 2.18.12 (OSGeo4),
Windows 7, 64bit
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user