Upgrade from Eikon -> Workspace. Learn about programming differences.

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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 1 1 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-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-api
icon clock
10 |1500

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

@ZShi

Thank you for your participation in the forum.


Are any of the replies below satisfactory in resolving your query? If yes please click the 'Accept' text next to the reply that best answers your question.

This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.


Thanks,

-AHS

@ZShi

Hi,

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

AHS

Upvotes
Accepted
18.2k 21 13 21

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 512.0 KiB each and 1.0 MiB total.

Upvotes
17.2k 82 39 63

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 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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