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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Employee
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
Employee
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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