NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hello there,

I am new to GeoJson and just out here, figuring out the basic steps. I managed to create a single Point which has a titel, description and coordinates. So far so good. Now I want to change the color of the dot. Please feel free to take a look at the GeoJson down below.

   {
     "type": "FeatureCollection",
     "features": 
     [
      {
        "type": "Feature",
        "properties": {
          "name": "name",
          "description": "cription"
      },
     "geometry": 
      {
        "coordinates": 
         [
          -38.07457315977632,
          40.08010404958037
         ],
        "type": "Point"
      }
     }
    ]
  }

I tried to find a documentation but failed on this. Also tried to add "color": "#114558" under description, but that was a missguess. Instead of fillig the correct field, it added another field to the interface.

I hope someone in this community can help me to change the color of that node.

Sincerly Deborah

Edit: I want to Use the GeoJson file to import data to UMap

asked 04 Nov '22, 21:00

Sheena_Asselia's gravatar image

Sheena_Asselia
11112
accept rate: 0%

edited 09 Nov '22, 16:35

You would need to tell us what website/app you are using. There is no standardized way of expressing colors in GeoJSON so it is completely application specific.

(05 Nov '22, 07:32) SimonPoole ♦

I want to use the GeoJson as an Import Methode for UMap. I hope this is what you meant :) I'll generate the geoJson from a Java Progamm and load it up onto a server

(09 Nov '22, 16:34) Sheena_Asselia

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×205
×36
×27

question asked: 04 Nov '22, 21:00

question was seen: 1,098 times

last updated: 09 Nov '22, 16:35

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum