JavaScript Object Notation (JSON), is a lightweight, human-readable data interchange format.

learn more… | top users | synonyms

0
votes
0answers
22 views

Zoom to x y coordinates in arcgis javascript api 3.15

I am using arcgis javascript Api 3.15 with ASP.NET and Ajax.I got json object contains only x and y coordinates. This object does not have geometry column. How can I zoom to this json object. Should I ...
0
votes
0answers
13 views

osx terminal ogr2ogr batch covert .json to .kml

using osx El Capitan terminal This works fine one file at a time to convert .json to .kml ogr2ogr -f "KML" xxx.kml xxx.json I would like to do all files at once I have tried for %f in (*.json) do ...
1
vote
0answers
24 views

Identify Geographic features by clicking on published map (ArcGIS Server) [on hold]

I have a published map on ArcGIS Server. My map is accessing traffic signals data from a table in PostgreSQL. I am trying to display feature properties by clicking on any traffic light. Solved!
7
votes
2answers
4k views

How to send long JSON objects (polygon geometry, table rows) in POST request to Geoprocessing Service?

I am seeking to understand my options for sending long JSON objects in a request to a Geoprocessing Service. In particular, I am looking for some example code to illustrate how to include two long ...
0
votes
0answers
8 views

How to merge a lot of files in the JSON with same schema to the one file [closed]

I have a lot of files (2.500) in the JSON and I need to merge files and create only one. The files have a same schema. I thing it is easy, but I don´t have experience with this format and work with ...
2
votes
2answers
82 views

ArcGIS - Convert a Shapefile into JSON with coordinates

I have a shapefile and I would like to convert in ESRI Json with ArcGIS toolbox From feature to JSON. When i convert it I visualize x and y values in meters while I want latitude and longitude ...
2
votes
1answer
169 views

Control to select data source on Leaflet map

I am building a map using leaflet. My data source looks something like this: var districts = {"type": "FeatureCollection", "features": [ {"type":"Feature", "geometry": ...
2
votes
1answer
169 views

Posting UserCredentials with AsyncTask of ArcGIS for Android?

My problem is that I want to get JSON data from ArcGIS for Server For example: http://xxxx.com/arcgis/rest/services/Map/MapServer/legend?f=pjson I can get and read JSON data from this URL but if ...
1
vote
0answers
14 views

Using a file .shp with ESRI Geo Tools for Hadoop

I've a file .shp that I would like to load into a TABLE using HIVE with ESRI Geo Tool for Hadoop. These tools read JSON File and I've tried to convert my file into a .json format using GDAL Library ...
2
votes
1answer
266 views

Populate geoext2 gridpanel from openlayer vector features

I need to populate a extjs datagrid with a openlayers features. The official example http://geoext.github.io/geoext2/examples/grid/feature-grid.html doesn't help me, beacuse the data is loaded from a ...
1
vote
1answer
246 views

JSon on Google maps

Good morning everyone! I'm trying to show a .json layer on Google Maps. This is the example that I'm using.... got it from google. <!DOCTYPE html> <html> <head> ...
1
vote
2answers
53 views

Appending Data to FeatureLayer in ArcGIS API for JavaScript?

I am working on a web app where I am making calls to a database api and it returns a JSON Object. I've managed to do so successfully as well as any manipulations that need be done. Is there a way to ...
0
votes
0answers
17 views

Result of Export Web Map is empty?

I want to work with a layout in ArcGIS for Server. For that I am using Export Web Map with an empty web map as JSON. I am getting a result but it does not show anything because it is total empty. ...
7
votes
2answers
133 views

Format a specific GeoJSON file into the correct format

I want to use this json file it is no GeoJSON file yet but I noticed that it contains several Features and not one which I find confusing. I wanted to ask if you know some tool where I can merge all ...
0
votes
1answer
32 views

Getting different json response for the same data from different cartodb accounts

I am using cartoDB database and making a web application. I have a data in my database which you can view it from here and its public https://farook.cartodb.com/tables/entire_data. The response of the ...
0
votes
1answer
33 views

Getting a JSON response with requests and ArcGIS REST API

I'm performing a batch download from my AGOL account, and using the ESRI documentation export item I can export content to shapefiles. I would like to then download the newly created shapefiles. In ...
1
vote
0answers
24 views

FrameCloud Popups from json file in OpenLayers 2.13

So my problem is that i get only the last popup message from my json file. My marker builder works nice. Any thoughts will be helpful guys. Here is my code: function airports() { ...
0
votes
0answers
31 views

How to add the geometry to google maps from geojson(retrieved as json) for a specified condition using javascript

I have a array called place_names which holds some place names. I have a GeoJSON layer loaded in CartoDB, which has three columns id, name and the_geom (which is a geometry object) that can be queried ...
0
votes
0answers
30 views

ArcGIS Server: 'Export Web Map Task' fail to print basemap at small scale

I am trying to export a JSON WebMap containing a standard ESRI basemap and two public Service layers as PDF with 'Export Web Map Task'. I tried to test it at this link. The PDF looks fine for scales ...
0
votes
0answers
31 views

InvalidJsonValueException in geoserver printing module

I have a leaflet web app displaying some WFS and WMS with tiles from the IGN in WMTS. I've installed leaflet.print plugin and the geoserver printing module. But, when I want to print, a web page is ...
0
votes
0answers
67 views

Accessing GeoServer 2.8.0 on Debian 8 using Tomcat 8?

Not been able to access my Geoserver with Javascript. The Leaflet code running natively works in other javascript/HTML pages which connect on-line GIS servers. Added ENABLE_JSONP true to web.xml ...
1
vote
1answer
64 views

Adding a Mapbox Studio basemap to leaflet

I am using Mapbox Studio, customized a nice basemap, and downloaded it. It downloaded as a .json file with a couple thousand lines of code. I want to be able to use this basemap (called ...
2
votes
1answer
46 views

Is it possible to show Leaflet Marker Cluster with JSON API?

I have a problem with displaying Leaflet Marker Cluster working with Leaflet-layerJSON. There are markers, but I cannot show the clusters. This works with GeoJSON, but now I have different data ...
0
votes
0answers
76 views

JSON String From VB.NET to Javascript over 100,000 characters

I have a string of properly formatted JSON from a VB.NET function that I am trying to pass to JavaScript where I can convert it into an OpenLayers vector layer. The string can be variable length, ...
0
votes
0answers
16 views

Get Title and ID of CartoDB-Visualizations

How can I get the ID and Title of my CartoDB-Visualization via viz.json $mapVis = cartodb.createVis('map', http://[username].cartodb.com/api/v2/viz/[id]/viz.json, visOptionsM); $mapVis.on('done', ...
0
votes
1answer
99 views

SQL Server Convert GeoJson format into SQL geometry/spatial data

I'm using javascript and Openlayers 3 and to draw shapes or geometry in osm map. The data is in geojson format and i want to store it in SQL server 2008 R2 using SQL geometry or spatial data types. ...
1
vote
1answer
71 views

QGIS server won't return JSON(P)

We set up a QGIS server and are using QGIS to connect to a WFS layer. Everything is working fine within the desktop application. Then we use qgis2leaf to generate a html/js web map. That all works ...
0
votes
0answers
59 views

“Invalid JSON primitive: geometry” when adding features

I'm trying to use the arcGIS Rest API to add features to a feature layer, but I get an "Invalid JSON primitive: geometry" error. I get the same results if I leave out the spatialReference. The ...
0
votes
1answer
164 views

CartoDB json to HTML Table using Javascript or Jquery

I am trying to display the dataset inside the cartoDB as HTML table. When i give request to the postgre database by SQL API, it is returning as the format (json) below in the snapshot. I want the ...
1
vote
1answer
50 views

Getting email addresses of pointers after selection with JSON or array and ArcGIS API for JavaScript?

I am trying to create a map where I can create a selection area, and get info of all graphic pointers under it, I tried to modify with following example, but they are using web service and queries, ...
0
votes
2answers
37 views

Generate GeoJSON from MongDB Query

I want to extract my MongoDB query in a GeoJSON format it order to be able to visualize the result. I use Robomongo, which seems to be able to generate a JSON format. After I run the query, this file ...
-1
votes
1answer
37 views

JSON to line string

I'm getting a JSON return like so: ...
1
vote
1answer
193 views

ArcPy Table to Table Conversion Not Working Correctly

I have a script which writes the lat/lng of a JSON web service of bus routes. The script writes the latitude and longitude to a CSV correctly. However my table to table conversion does not work ...
1
vote
0answers
23 views

Apply.Edit Function for Delete

i have problem with my json of delete feature form Applyedit Jason on the arcgis server Json. Here my code. delMaintData: function(){ console.log('Bri'); var maintTable = new ...
2
votes
2answers
3k views

Looking for an API that will autocomplete adresses, and split them up into parts

I'm kinda new to the whole GIS thing, and found that is necessary for onw of my web apps. It's come to my attention that some people don't know what a proper physical address looks like, and so I'd ...
1
vote
1answer
419 views

GeoJson and D3.js multipolygon

I have this geometric shape file, so no map of a city. I store the two Shapefiles in a GIS database as a geometric form. Now, I want to visualize the geojson data. I created the GeoJson data ...
0
votes
1answer
78 views

Can't enable Jsonp in Geoserver 2.7.0 and then publishing my WFS request in Leaflet

I'm working on localhost:8080 and want to get WFS data in a Leaflet map. So, I've read in some posts here that I first I have to enable Jsonp in my web.xml file in Geoserver. So I put ...
2
votes
2answers
1k views

How to convert GTFS to XML or JSON?

Do you know any tool that provides that? I need to manipulated GTFS file but I would like to have data available in any well-known format like XML or JSON. EDIT GTFS are Google Transit Feed ...
1
vote
1answer
620 views

JSON coordinates not showing on Open Layers 3

i hope you guys could help me. its been several days since it tried and failed on populating my markers using a json Method. Please point out where im making a mistake. Thanks. Below is my code: ...
1
vote
1answer
53 views

JSON To Features tool does not obey symbology?

I am using the JSON to features tool in the ArcMap conversion toolbox and i cannot seem to get the symbology right. This JSON i am using is a GPFeatureRecordSetLayer which i have written to a .json ...
2
votes
3answers
79 views

get external jsonp and convert coordinates in leafletjs

I need to solve two problems: convert my coordinates from wgs84 to epsg28992 use external geojson from an jsonp url Both problems are as far as I understand not supported by Leaflet itself. So I ...
0
votes
1answer
133 views

How do I show feature attributes in a Leaflet popup?

So I have a JSON file displayed on my leaflet webmap. I would like to have it so a popup will appear when a feature is clicked. Right now it is a polygon feature. How do I call up information from ...
2
votes
1answer
69 views

Is there are way to import non-geo JSON files into QGIS?

Here is a json file containing various attributes relating to countries. However, it does not contain any geographic data. http://bost.ocks.org/mike/nations/nations.json I would like to join these ...
0
votes
2answers
2k views

How can I add attributes contained in JSON data to an OpenLayers popup?

I am working on a website using jQuery, Javascript, and OpenLayers. I am adding markers to an OpenLayers Vector layer using the following code: var pointLayer = new OpenLayers.Layer.Vector("POI ...
0
votes
0answers
36 views

is there any flight travel time api?

I know there is google api for distance where we can calculate the driving distance but similar to that i want to pass two city names and I want it to give me just the duration like 4 hours 30 ...
2
votes
0answers
622 views

GDAL tiling DTED (dt2) dataset as gdal2tiles for 3D Maps

i am searching some webgl technologies to create 3d map with digital elevation data. for web tech. i have found ReadyMap SDK to create 3d map from TMS... in ReadyMap for elevation data it uses sth ...
0
votes
0answers
12 views

Create Map Service for AGOL from JSON file

I have a .json file which I would like to be able to import into ArcMap to then publish as a map service to AGOL. The format of the json file when I receive it is like this: ...
5
votes
1answer
73 views

Describing borehole information with geojson (javascript)

I deal a lot with borehole information and looking the best way to move it around in javascript / take advantage of javascript libraries (e.g. leaflet) for looking at this information on mobile ...
0
votes
0answers
164 views

TileWMS JSONP getGetFeatureInfoUrl request using OpenLayers 3

I have a web map in Open Layers 3 which has some TileWMS layers from GeoServer 2.5 that I would like to query when the user clicks on the map. I am trying to use the tutorial here ...
1
vote
2answers
44 views

Loading JSON URL into Leaflet map?

Based on this example http://labs.easyblog.it/maps/leaflet-layerjson/examples/overpass.html I'm trying to load the following url into a Leaflet map ...