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.
Finding objects of a special type for a given region
-
- Posts: 5
- Joined: Mon Jun 13, 2022 9:56 am
Finding objects of a special type for a given region
Uta Jäger-Frenk
Support Specialist at PTV Logistics - Germany
Happy to help the products PTV Developer, PTV xServer, PTV Navigator G1 and G2
Support Specialist at PTV Logistics - Germany
Happy to help the products PTV Developer, PTV xServer, PTV Navigator G1 and G2
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Finding objects of a special type for a given region
Hi Uta,
depending on the specific usecase and the APIs you are supposed to use I could imagine several approaches:
Bernd
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 - 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.
Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...