Page 1 of 1

Finding objects of a special type for a given region

Posted: Wed Aug 30, 2023 7:26 am
by Uta Jäger-Frenk
Is there a possibility to locate e.g. all ports existing in the US?
For example using geocoding of a POI layer?
Any help is more than welcome.

Re: Finding objects of a special type for a given region

Posted: Wed Aug 30, 2023 7:58 am
by Bernd Welter
Hi Uta,

depending on the specific usecase and the APIs you are supposed to use I could imagine several approaches:
  • Within xData2.SegmentsBySurroundingPolygonRequest you can locate all segments of a specific SegmentType (COMBINED_TRANSPORT) within a given rectangle. You may have to filter the result for BOAT.
    Disadvantage: there's no country filter available for this approach - but maybe you don't need it ;-)
    some of the response elements are RAILWAY STATIONS which you may have to filter  on client side
    some of the response elements are RAILWAY STATIONS which you may have to filter on client side
  • Within PTV Developer's Places Search there are some categories that might match some "port" criteria in their id, description or name. Use them to search within the area.
:!: But: please be aware that the purpose of our APIs is not to extract data on client side. Therefore we do not support such techniques :evil:

Bernd