Forum Discussion

Laura12345's avatar
Laura12345
New Member
2 years ago

Azure maps reference layer wont load

Hello,

 

I have created a GeoJson in QGIS to use as a reference layer in Azure Maps. When I had it nothing shows on the map. Any ideas on what to do would be appreciated.

I have tried the check validity and fix geomery functions in power Bi. 

When I run it through https://geojsonlint.com/  I get the following message- Line 0: Parse error on line 1: ...4.5646913 ] ] ] } }{ "type": "Feature", ----------------------^ Expecting 'EOF', '}', ',', ']', got '{'

4 Replies

  • From the error the GeoJSON file you created in QGIS has a formatting error.

    Can you share the code with us ? because it needs to follow the correct structure with a single root object and properly closed brackets. 

    • Laura12345's avatar
      Laura12345
      New Member

      { "type": "Feature", "properties": { "ogc_fid": 5223, "name": "4", "polygon_id": 30162 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -1.4112726, 54.5646913 ],

       

       

      Thanks 🙂

      • AmiraBedh's avatar
        AmiraBedh
        Super User

        You provided an GeoJSON snippet which is incomplete. Can you provide more details ?

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi,AmiraBedh ,thanks for your concern about this issue.

    Your answer is excellent!
    And I would like to share some additional solutions below.
    Hi,Laura12345 I am glad to help you.
    Have you checked to see where you are having problems with your code and resolved it in a timely manner, if your problem has been resolved. Can you share the correct code or solution that you modified and marked it as a solution, it will help other members in the forum!
    I noticed that you have shared your code but unfortunately it is not complete, if your problem is not solved yet, can you provide the complete error code or relevant screenshot which will help you to identify the problem.

    I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.

    Best Regards,

    Carson Jian,

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.