Questions tagged [geojson]

GeoJSON is a geospatial data interchange format based on JavaScript Object Notation (JSON)

Filter by
Sorted by
Tagged with
0
votes
0answers
6 views

Azure map indoor root navigation

We successfully show the indoor map on Azure Map .We getting a problem route navigation in indoor Azure map. can any one help me how to root navigation in Azur Map. Is there any way to show indoor ...
1
vote
1answer
29 views

TurfJS dissolve not working as expected

Why are these two overlapping polygons not dissolving? I would expect the smaller polygon to dissolve into the larger but instead two individual features remain. See fiddle for code example. http://...
1
vote
0answers
33 views

Applying specific styling to GeoJSON layer in Leaflet.js

I am new to Leaflet.js and I would like to apply specific styling to the Geojson layer> This is my code so far: # geojson data var geojson = { "type": "FeatureCollection", &...
-1
votes
0answers
18 views

Azure indoor map route navigation [closed]

How to show route between road to indoor map office seat No I successfully displayed the indoor map on Azure map. Using the AutoCAD file and I display the navigation road to indoor main gate but I am ...
0
votes
1answer
23 views

Using GeoJSON as an input for GeoServer

I have an ArcGIS Online API that I would like to use as an input/store in my GeoServer so that I can publish a service from GeoServer. The format available thorough the API is GeoJSON. I can see that ...
0
votes
0answers
17 views

Checking for image errors in Leaflet [closed]

I have a map with popups, and those popups display an image (in this case, screenshots from traffic cameras). The image sources are external URLs. Some of them work, others don't. The URL won't give a ...
0
votes
0answers
26 views

Exporting layer to GeoJSON the result is in the wrong coordinate system

I have a layer with MultiLineStringZM features that was imported in EPSG:4326 - WGS 84. This I want to export to geojson in EPSG 25832 (UTM). However even if I specify EPSG:25832 in the export it ...
0
votes
0answers
47 views

Coordinates not consistently reversed (lon,lat interpreted as lat,lon) in Leaflet

I have a polygon layer fed from GeoDjango + PostGIS as GeoJSON. Its original CRS is 3908. It's being drawn as a GeoJSON layer in Leaflet in CRS 4326 (I figure it is transformed on the fly by Django ...
0
votes
0answers
8 views

Adding 3rd Party Live JSON API in AGOL using Koop

I want to create a Dashboard in AGOL based on Real Time Data. I know that Koop helps creating a geoservice provider from an API to be used directly in ArcGIS Online. I have created the provider from ...
1
vote
1answer
21 views

Error when saving geodataframe to geojson after a spatial join

I am writing a simple python code to perform sjoin on two geodataframe. gdf1 = gpd.read_file(polygon1.geojson) gdf2 = gpd.read_file(polygon2.geojson) gdf = gpd.sjoin(gdf1, gdf2, how="...
0
votes
0answers
34 views

Error when converting OSM relation type to GeoJson using osm2geojson

I have a function which is able to retrieve OSM data with Overpass API (Json) and convert the Json output to Geojson. It works perfectly with ways, nodes and routes but it doesn't work with relation ...
1
vote
1answer
31 views

How to show Puerto Rico in “albersUsa” projection in Vega-Lite or Vega?

I have a shapefile that has all the US counties along with Puerto Rico and I want to visualize them in "albersUsa" projection using Vega or Vega-Lite. Problem is that in other projections, ...
1
vote
0answers
11 views

Returning TopoJson from the server , compressed? [closed]

I am returning TopoJson or GeoJson from our Server. I noticed some TopoJson files are the same size as the GeoJson. Should I be compressing the responses? if so what should compress method(gzip?) ...
0
votes
1answer
27 views

Detecting line intersections between MultiPolygon and LineString in Turf.js

I am trying to write a section of JavaScript code that allows a user to analyse a route they have plotted on a map. After the user has finished plotting their route, I want to determine if the route ...
1
vote
1answer
13 views

Is there any valid way to include a Point feature in geoJSON if the coordinates are unknown?

The Point I'd like to include is a marking on a historical map. Most of the items on the map have been located, so they make valid geoJSON Points. A few locations can not be identified, but I'd like ...
1
vote
0answers
18 views

How to deserialize geoJon input to locationtech.jts.geom.Geometry [closed]

I have following input to a Spring ReST endpoint: { "featureType": "feature", "geometry": { "type": "Point", "coordinates&...
1
vote
1answer
43 views

Leaflet GeoJSON Polygon Label Remaining in Frame when Zooming

I have a polygon layer being loaded into Leaflet in GeoJson format. When using the code below I'm able to get labels for each feature to appear at the center but they remain fixed there. I'd like for ...
1
vote
1answer
21 views

How can I use ogr2ogr & sqlite to create a new GeoJSON file that contains only a specific set of rows while renaming two of the keys?

I need help with a syntax error from a sqlite command in ogr2ogr. I'm trying to run a query on a geojson file. The query should create a new file that contains only a specific set of rows while ...
0
votes
0answers
31 views

How to export underlying vector layers from web map to QGIS?

The following map is using Leaflet https://www.openreach.com/fibre-broadband/fibre-first People need to use these layers in their QGIS. Is there a way to maybe load the layers from the same source ...
1
vote
1answer
19 views

Gdal.warp outputs black image when cutting from json

I have the following task: to cut a polygon out of an .tif file. my task is to: create a new image from the polygons I have I perform the following steps: get image and polygon data reproject polygon ...
3
votes
2answers
35 views

Limit number of data points rendered

I am trying to render cities on the map, using Geonames’ dataset (source). I have downloaded the top 10000 cities as a GeoJSON file, and loaded it into QGIS. However, when I zoom out, this shows too ...
1
vote
1answer
49 views

GeoJSON file content not display properly in Leaflet

I am new to Leaflet. Am facing one issue when try to display GeoJSON file in Leaflet. Issue: Actually some GeoJSON file only am facing this problem. In my knowledge coordinates are in different ...
1
vote
1answer
47 views

OpenLayers 4.6.5 GeoJSON WGS84 not mapped with a different projection

I have a map projected on EPSG:3857. I must add ocean areas around the globe. Areas come from different GeoJSON files that are added via a select. Most of geojson files have a projection WGS84 (EPSG:...
1
vote
0answers
12 views

Elasticsearch polygonize TIFF map

I am having an heavy TIFF map around 2Go and I want to index it in ES in order to geolocate data of this file. With GDAL, I could polygonize only a part of it in GeoJSON, but seems that big polygons ...
0
votes
1answer
53 views

Converting a text file to GeoJSON

I am using python, and I have a text file that contains the metadata of the area that I intend to use. Here is a sample: { "type": "Feature", "id": 10, "properties": { "circo_id": 220.0, "circo_na_1":...
0
votes
1answer
62 views

Make a QGIS layer update from a changed data source, .geojson source

I have the same problem as the following question however I cannot get the solution proposed by Matthias Kuhn to work and have been asked by a moderator to raise this as a new question. I don't have ...
0
votes
1answer
21 views

QGIS MySQL points import

I have a column in my MySQL database table that contains location information (GeoJSON). I want to import this data and see the points on my QGIS project map but it doesn't seem to work. What I was ...
0
votes
2answers
55 views

L.control features showing up only below raster layers

I've been studying Leaflet and, when I was trying out some plugins, this issue showed up. Pop-ups and markers works fine, but the line (perimeter) won't show up unless I turn off the raster layers. ...
0
votes
0answers
12 views

Using geojson-vt to convert MongoDB output server side

I am using Mapbox with React.js on client-side, and Nodejs with MongoDB on server side. In order to make the rendering of polygon layers on the map easy, I would like to create tiles out of GeoJSON ...
1
vote
0answers
39 views

Highlight polygon on mouse over in Leaflet?

I am doing a map on Leaflet and I would like to know how to put my polygons highlighted visually in some way when they are covered with a mouse a bit like that: http://www.gistechsolutions.com/leaflet/...
0
votes
0answers
55 views

Adding values to heatmap in Leaflet?

I followed this methode https://geomappando.com/2016/11/08/come-realizzare-una-heatmap-con-leafletjs/ to get a heatmap from my GeoJSON file. But, I got it without having the value field included. ...
2
votes
0answers
17 views

What do the numbers in the intersection Matrix in the JTS TestBuilder mean?

What do the numbers in the intersection Matrix in the JTS TestBuilder mean?
0
votes
0answers
76 views

Can't correctly display GeoJSON on D3

I'm trying to display some GeoJSON files with D3. The code is pretty simple: import europe_data from "./data/europe.json"; import areas_data from "./data/LV.json"; /**********************************...
0
votes
0answers
26 views

Shape - GeoJSON

A multiple polygon shape file with some topology errors converted to GeoJSON format, would the topology errors cause problems using the converted file in web maps or apps?
1
vote
0answers
20 views

Parser for NOTAM into GIS point objects whith attributes

I am participating in a gis application development project. There is a task of planning from a drone flight application, taking into account the limitations of NOTAM. Everything would be fine if it ...
0
votes
0answers
17 views

Show data labels in Oracle Analytics Maps

Can anyone assist me in adding data labels in OAC (oracle analytics desktop ) Maps. The image below shows state names ,I have a similar requirement to add names to the city. I tried below json text ...
3
votes
1answer
62 views

Turf intersect doesn't always work with polygons

I have a GeoJSON of two obvious colliding polygons but turf.intersect doesn't seem to detect it. Here the GeoJSON: { "type": "FeatureCollection", "name": "invalid_import", "features": [ ...
1
vote
0answers
57 views

Value error when trying to load line and polygon GEOJSONs into PyCharm/Python

I'm a newb so apologies if there's incorrect formatting etc here. I'm trying to use GEOJSON files to visualise some data in Python using GeoPandas (GDAL, fiona, shapely, numpy, matplotlib are all ...
1
vote
0answers
22 views

Generalization with GRASS explodes number of polygons that are exported to GeoJSON

I have a shape file containing polygons with 10 geographical districts that together form a city, which I want to generalize without "sliver" artifacts and export to GeoJSON. When running this vector ...
0
votes
1answer
39 views

Filter features outside the viewport in Mapbox

I have a huge GeoJSON file having around 100K features and I want to filter features outside the viewport. I tried multiple approach given on: https://github.com/mapbox/mapbox-gl-js/issues/8350 and ...
2
votes
1answer
45 views

Check if polygons of a GeoJSON file are included in polygons of another

I have two GeoJSON files. A province.geojson file and a constituencies.geojson file and I would like to know for each district polygon which province it belongs to. That is to say, for each polygon in ...
1
vote
1answer
72 views

Select only the feature that overlapses its correspondant in another layer - Leaflet, qgis2web

I have 2 identical layers overlapping, each containing identical FeatureCollection values. Only one of them is added into the map. Is it possible that when clicking on a specific feature of the ...
1
vote
1answer
41 views

Format and Import to QGIS

I have a parcel which I would like to load into QGIS. The county's GIS website is not a standard Arc REST format, so I am struggling with the formatting. It uses "mapgeo" and I am not sure how to ...
3
votes
1answer
48 views

ogr2ogr - accomodate spaces in -select properties

I have a geojson feature collection. Some of its features have spaces in their property names. I am attempting to use the -select argument to limit which properties are included in the output. Is ...
0
votes
1answer
23 views

QGIS: Open vector from URI with spaces

I try to open a pelias rest api link that returns geojson with add vector layer (ctrl+maj+v) in QGIS If i try http://localhost:4000/v1/search?text=belgium, it's ok. If i try http://localhost:4000/v1/...
0
votes
1answer
20 views

Create Multiple Shapefiles from GeoJSON

I am attempting to convert a GeoJSON Feature Collection into multiple shapefiles. The shapefile a feature ends up in depends on a specific property of the GeoJSON, layer_id. My desired output is a ...
1
vote
0answers
37 views

GDAL C# Bindings

I need some help on usage of GDAL C# bindings to convert geoJSON to MVT. How do I know that, below call is complete? We observed that below call is Async (All the code lines are executed and Parent ...
1
vote
1answer
72 views

How to select a given feature in a GeoJSON file using Python? [closed]

Scenario: I have a large (120+ MB) .geojson file that represents a bunch of LineStrings features. Here is an example feature selected using json.dumps(geoFile['features'][0]): { "type": "...
1
vote
2answers
68 views

Vector layer from MapServer WFS not displaying in OpenLayers 6

I want to display a WFS layer in GeoJSON format on my map via OpenLayers. All my layers in WMS appear, only the one in WFS does not appear. I did create a "WEB" block in the mapfile. And my layers are ...
1
vote
0answers
15 views

D3.json doesn't fetch data but no error [closed]

I am trying to load a geojson file. I get an error (404) if the file doesn't exist but nothing happens if the file exists. I have tried different versions of D3 ... v3, v4, v5 console.log("hello"); //...

1
2 3 4 5
40