For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 0

Do we have EIKON Data API to Provide the Destination Port Location (Latitude/Longitude)?

Do we have EIKON API to Provide the Destination Port Location (Latitude/Longitude)?

I need to know the Port Geo Location of Our Ship's destination.

For example: Port Guayaquil C}TS7309534789

What Latitude and Longitude

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpython
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
18k 21 12 20

Hi @ZShi

You can get the destination port location from a vessel RIC or IMO with get_data().

Please try this code:


ahs.png (23.4 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
9.7k 49 38 60

Hi @ZShi,

You can use the Search capability within the RDP Libraries to provide location coordinates. For example, I performed this basic search using the Python implementation within CodeBook:

rdp.search(
    view = rdp.SearchViews.VesselPhysicalAssets,
    filter = "VesselOriginPortRICs eq 'C}TS7309534789'",
    select = 'RIC,SynonymSearchAll,DTSource,LocationTimestamp,IMO,Latitude, \
              Longitude, LocationDestination',
    top = 10000
)

This request filtered based on the VesselOriginPortRICs property to pull in ~128 hits.

There may be other specific criteria required to use to narrow down your result set if desired. You can find some very useful details within the Search article: https://developers.refinitiv.com/en/article-catalog/article/building-search-into-your-application-workflow. The article references many examples in Python for you to explore. There is a specific example on Vessels within this workbook: https://github.com/Refinitiv-API-Samples/Article.RDPLibrary.Python.Search/blob/main/Search%20-%20Filter.ipynb


1611272277135.png (168.9 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea