Skip to content

Instantly share code, notes, and snippets.

@productdevbook
Created December 8, 2022 09:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save productdevbook/dc26cc8adf54e1e170587f2eddcd4fc7 to your computer and use it in GitHub Desktop.
Save productdevbook/dc26cc8adf54e1e170587f2eddcd4fc7 to your computer and use it in GitHub Desktop.
geoexample.json
{
type: 'FeatureCollection',
features: [
{
type: 'Feature',
properties: {
asdas: 'asdas',
},
geometry: {
type: 'Polygon',
coordinates: [
[
[
192.2724169398722,
-743,
],
[
192.2724169398722,
-232,
],
[
858.5650454591544,
-232,
],
[
858.5650454591544,
-743,
],
],
],
},
},
{
type: 'Feature',
properties: {
a: '13',
radius: 20,
},
geometry: {
type: 'Point',
coordinates: [
210.28032581877176,
-128,
],
},
},
{
type: 'Feature',
properties: {
radius: 20,
},
geometry: {
type: 'Point',
coordinates: [
442.38226248014325,
-110,
],
},
},
{
type: 'Feature',
properties: {
radius: 20,
},
geometry: {
type: 'Point',
coordinates: [
714.5017744279583,
-94,
],
},
},
{
type: 'Feature',
properties: {},
geometry: {
type: 'Point',
coordinates: [
180,
0,
],
},
},
{
type: 'Feature',
properties: {},
geometry: {
type: 'Point',
coordinates: [
1070,
-254,
],
},
},
],
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment