Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
Zens1
Regular Visitor

GeoJSON through OData

Hello,

 

Is it possible to work with GeoJSON data that is coming from an OData source? After importing the GeoJSON fields are transformed into something that looks like this: 

SRID=4326;POINT (-73.7788888888889 40.6397222222222)

 But when I use these values in the Location fields of the map visualizations they are incorrect. I would prefer to not parse this string to retrieve the longitude and latitude by hand.

 

If you want to try this yourself an example OData source endpoint with GeoJSON can be found at: http://services.odata.org/V4/(S(uvirdrvfpbph5stgebkebtf2))/TripPinServiceRW/Airports

1 ACCEPTED SOLUTION
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@Zens1,

It is not possible to directly use GeoJSON data in Location of Map visual. You can drag city name to Location to create a map visual instead. Also you can split Point to Latitude and Longitude, then drag Lat/Long fields to create map . For more details, please review the following PBIX file.

https://1drv.ms/u/s!AhsotbnGu1Nok2YkkFQ41BUXDApl

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@Zens1,

It is not possible to directly use GeoJSON data in Location of Map visual. You can drag city name to Location to create a map visual instead. Also you can split Point to Latitude and Longitude, then drag Lat/Long fields to create map . For more details, please review the following PBIX file.

https://1drv.ms/u/s!AhsotbnGu1Nok2YkkFQ41BUXDApl

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Lydia,

 

Thank you for your response. Splitting the columns is a solution. I'll also start looking into the ideas forum to see if a possible improvement could be made.

 

Edward

@Zens1,

Yes, you can submit a feature request in Power BI ideas forum.

https://ideas.powerbi.com/forums/265200

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

Check out the October 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

Find out what's new and trending in the Fabric Community.