Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Eikon Data APIs /
avatar image
Question by ZShi · Jan 21 at 09:56 PM · port location

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

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

2 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by chavalit.jintamalit · Jan 22 at 03:25 AM

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)
Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
REFINITIV
Answer by nick.zincone.1 · Jan 21 at 11:07 PM

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)
Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
11 People are following this question.
  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges