[HOT] Question [about the/à propos du] HOT Export

augustindoury at gmail.com augustindoury at gmail.com
Sun Nov 1 20:43:28 UTC 2015


Thanks Paul to confirm this. It seems that the HOT Export v1 SQL tool
was good for this, but its not embedded in the v2.
So let's do this through QuickOSM.
Have a good day !
Augustin

On 01/11/2015 20:30, Paul Uithol wrote:
> Hi Augustin,
>
> The export tool does not possess exhaustive query logic; since data
> filtering is based on JOSM preset files, and that's not what these
> where invented to do. The way to go here would indeed be to do the
> filtering of the resulting dataset through a desktop GIS app, like QGIS.
>
> best,
> Paul
>
> On 01-11-2015 15:00, hot-request at openstreetmap.org wrote:
>> Date: Sat, 31 Oct 2015 14:17:22 +0000
>> From: augustindoury at gmail.com
>> To: "hot at openstreetmap.org" <hot at openstreetmap.org>
>> Subject: Re: [HOT] Question [about the/à propos du] HOT Export
>> Message-ID: <5634CD72.9030109 at gmail.com>
>> Content-Type: text/plain; charset=utf-8
>>
>> Hi all,
>>
>> I don't find a solution yet. Help still welcome !
>>
>> In fact I feel like what I want to do seems just not possible with the
>> HOT Export : export only some features which have a specific combination
>> of tags. It's possible to get them but the shapefile will be full of
>> undesired features, because those features have, at least, one tag of
>> the specific combination of tags. It's like it's not possible to be
>> restrictive.
>>
>> ==EXAMPLES==
>>
>> 1) Job :
>> http://export.hotosm.org/en/exports/3c4c5bee-a60f-4073-aa7a-3a9ed1c89e3e/
>>
>> <item name="Clinique" type="node">
>>        <key key="health_facility:type" value="health_center"/>
>> </item>
>> I get all the desired features but just with the column
>> health_facility:type, I'd like to have the other tags of these objects
>> in the shapefile, I try to get an other column in the next example.
>>
>> 2) Job :
>> http://export.hotosm.org/en/exports/b315b903-8e9a-4757-b0a0-6cd720ceb217/
>>
>> <item name="Clinique" type="node">
>>        <key key="health_facility:type" value="health_center"/>
>>        <key key="amenity" value="clinic"/>
>> </item>
>> I get all the amenities and all the health_facility:type whatever the
>> value is ... restaurant, fuel, school etc., even if the value of the
>> other tag is NULL
>> Although I'd like to have only the features which have the combination
>> of both tags.
>>
>> 3) Job :
>> http://export.hotosm.org/en/exports/8324dbb8-7129-4cc9-95a4-3a95dbe60629/
>>
>> <item name="Clinique1" type="node">
>>         <key key="health_facility:type" value="health_center"/>
>> </item>
>> <item name="Clinique2" type="node">
>>         <key key="amenity" value="clinic"/>
>> </item>
>> I get the same result as Job2
>>
>> Thanks in advance,
>>
>> Augustin
>>
>> PS : I have what I want using OverpassAPI through QuickOSM in Qgis but
>> this way is not really good to publish/refresh data. It needs the user
>> to have Qgis installed and to know how to use it.
>>
>
> _______________________________________________
> HOT mailing list
> HOT at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/hot




More information about the HOT mailing list