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

learn more… | top users | synonyms

1
vote
1answer
22 views

RESTful Geoprocessing Service Request returns empty Result object without errors

This is a bit difficult for anyone here to test as our ArcGIS Server 10.2 instance is behind a firewall. I'll try to present all the necessary information, but feel free to ask for more and I'll ...
1
vote
1answer
17 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
269 views

OpenLayers removing/adding marker (airplane): update the orientation based on lat/long (next point in database)

The code below I have is working great. I'll try to explain it in a few lines (btw you can view it here http://codeshare.io/9Z1BE): -there's a marker on the map. The lat long is returned as json from ...
4
votes
3answers
669 views

Converting ESRI Web Client JSON to Standard Feature Class With Python Geoprocessor

Is there a function exposed by ESRI's python geoprocessor that converts the JSON format used in the various web clients to a valid feature class. Clearly, the function exists because something is ...
2
votes
2answers
188 views

How can I convert esriMeters to Lat/Lng?

I am pulling a JSON list of features into a web page. The points come as esriMeters and the rest of my app uses Lat/Lng. How can I do this conversion in the browser (javascript)?
11
votes
9answers
8k views

How to convert ArcGIS Server JSON to GeoJSON?

I'm creating a web map using Leaflet, and I want to be able to grab feature layers from our ArcServer. I have successfully been able to retrieve a feature class as JSON, but Esri's JSON objects don't ...
2
votes
2answers
131 views

json to xml transformation with x2js

I am trying to transform a JSON object to XML, but i have somehow get stuck in jscript (not an expert). Here is the code: ... var GEOJSON_PARSER = new OpenLayers.Format.GeoJSON(); var ...
0
votes
0answers
15 views

USA MSA/City/County with SImplest Border in JSON

I deal with a lot of poloygon-related JSON representing US places regularly. One thing that could make reading JSON with my eyeballs easier is having a short list of US places whose borders have ...
2
votes
1answer
43 views

How to transform JSON with field x,y to gdb in fme

I have JSON file with x,y field. I wonder how to transform geoemtry to gdb? Example of json: [ { "OBJECTID": "1", "x": "15", "y": "21" }, { "OBJECTID": "2", "x": "16", ...
0
votes
1answer
39 views

Adding points from JSON to ArcGIS for Android?

I am new to Android, the ArcGIS Platform and ArcGIS for Android. I need to load points (offline) from a JSON file (GeoJSON) onto the map which displays a local Tile Package (*.tpk) and shapefile.
2
votes
1answer
49 views

How to apply weight to Google heatmap?

I am trying to plot a Google heatmap based on the JSON objects returned. Here is my JavaScript: function getHeatMap() { heatLayer = new HeatmapLayer({ config: { "useLocalMaximum": true, ...
0
votes
0answers
24 views

Point Cluster Layer not defined

I am trying to do a point cluster layer based on the JSON objects I obtained from database. Here is my JavaScript to plot a point cluster layer: function addClusters() { $.ajax({ url: ...
0
votes
0answers
17 views

Data interoperability json refresh

I am using ArcGIS 10.2.2 with the data interoperability extension. I am also building a web app using python, django and django-rest-framework. I'm building a json api that i can add to arcmap using ...
1
vote
1answer
44 views

SQL-query should return GeoJSON FeatureCollection

I'm trying to return a GeoJSON FeatureCollection object from a SQL-query with PostgreSQL 9.3 and PostGIS 2.1. This is my query so far: SELECT row_to_json(fc) AS p FROM (SELECT 'FeatureCollection' ...
0
votes
2answers
626 views

GeoServer 2.4.1: How to use JSONP in a WFS request?

I've ready that I can enable JSONP by setting ENABLE_JSONP in web.xml: <context-param> <param-name>ENABLE_JSONP</param-name> <param-value>true</param-value> ...
0
votes
1answer
23 views

Why jsonp is disabled by default in GeoServer?

JSONP EXCEPTIONS=text/javascript Return a JsonP in the form: paddingOutput(...jsonp...). See WMS vendor parameters to change the callback name. Note that this format is disabled by default. ...
2
votes
1answer
911 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 ...
0
votes
1answer
31 views

json issue: GetFeatureInfo with raster images

I have succesfully typed a GetFeatureInfo request with the following structure directly into my browser: ...
1
vote
1answer
66 views

ArcGIS Server JSON to GeoJSON does not always work

I'm using GDAL 1.10.1 for reading ArcGIS Server responses with automatic conversion to GeoJSON format as described in How to convert ArcGIS Server JSON to GeoJSON? post. However, it looks like some ...
0
votes
0answers
53 views

Land Parcel and JSON Data with onclick event

I currently am working on a school project and have been introduced to javascript with little knowledge. What the project entails is a webapp of land parcels that contain information about each one, I ...
0
votes
2answers
155 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
45 views

ArcGIS JavaScript manually render a layer with supplied JSON

Given the following JSON which is retrieved outside the ArcGIS/dojo framework, how would I go about rendering this layer? Thanks in advance! { "currentVersion": 10.01, ...
0
votes
1answer
120 views

How to add multiple OpenLayers Vector Layer markers with data parsed from JSON file

I would like to parse a local JSON file and add markers to a map based on the latitude and longitude parsed from the JSON file. Here is a sample from the local JSON file: "LOCATION_A": { ...
1
vote
0answers
74 views

Get ESRI JSON response locally from Arc document?

I'm trying to use the ArcGIS Flex SDK for a mobile app that will sometimes be used in environments with no connectivity. I've figured out that layers can be brought in locally by saving the JSON ...
1
vote
2answers
102 views

Find closest feature

How can I find the closest feature(coordinates) in a json file from a set lat lon using openlayers. Currently, I get the centroid point(lat,lon) from the selected polygon feature ok, but I Would also ...
0
votes
2answers
257 views

How to plot geo-data using matplotlib/python

I am trying to plot a polygone on python, using different libararies, but no one of these worked with me. I tried vincent ,Shapely , .. and now matplotlib. I don't wanna use softwares like qgis I ...
3
votes
1answer
229 views

Convert Sql Server Spatial data to GeoJSON & plot on map

I have a sql server table with Geo spatial data. An example of row would be (with Column names): type: streetline code: 231001 geog: 0xE6100000011 ........ Centroid 0xE61000000C....... geom: ...
1
vote
0answers
164 views

Relationship between MS Access DB and Google Maps API/Fusion Tables

We are having an issue with a project that we are working on using Google API and M.S Access. Our project goal is to design a web map in Google API where we can select a parcel of land and have all of ...
3
votes
2answers
452 views

Unencoding JSON output from OSRM

I set up Open Source Routing Machine (OSRM). The documentation does a pretty good job of laying everything out and I was able to get a server set up and running on my machine. My question is about ...
0
votes
0answers
17 views

converting from JSON to Shape files [duplicate]

I have a quick question about converting JSON to Shapefile. I'm trying to convert multiple polygon geometry JSON files into a single shape file and I'm not sure what kind of json this is ?[I'm ...
0
votes
2answers
64 views

Which GEO data format does this data represent

I am parsing GIS data from a ESRI webservice in which I get the data specified as the following in a JSON file "geometryType" : "esriGeometryPoint", "spatialReference" : { "wkid" : 102100 an ...
2
votes
1answer
163 views

Converting JSON/GeoJSON files to Shapefiles

I have a quick question please about converting JSON/GeoJSON files. I'm trying to convert some JSON files into something I know how to work with (shapefile, R objects or PostGIS). I'm afraid I have ...
0
votes
0answers
107 views

Add Features using JSON

I have the features being added to my map through coordinates by using the following code: private void btnRefresh_Click(object sender, RoutedEventArgs e) { AddMarkerGraphics(); ...
1
vote
1answer
138 views

GeoJSON vector layer created using OpenLayers is broken

What i want to do here is to create a vector layer (using openlayers) from a GeoServer JSON Response. Actually i'm doing this: var url = ...
3
votes
2answers
215 views

Problem with loading GeoJSON file in OpenLayers generated by PHP

I'm trying to read some geo-data from PostGIS database using PHP, creating a GeoJSON file and showing it on a base map using OpenLayers. The PHP code works just fine. The generated data in GeoJSON ...
3
votes
2answers
693 views

How can I deserialize json to create an IRecordset?

I've got a Silverlight client that serializes a FeatureSet and sends to an SOE. I'd like for the SOE to deserialize the json into an IRecordSet. ESRI.ArcGIS.SOESupport.Conversion has a method for ...
0
votes
0answers
158 views

How to pass multiple latitude and longitude to bing maps from Json

I have an requirement in which i have some five latitude and longitude which is coming from JSON. I am printing the same in the web page. Now i need to pass those five values to BING maps as ...
0
votes
1answer
810 views

Sample JSON code to get latitude and longitude values from Google API geolocation

I'm a fresher in JSON coding. I got a sample Google API geolocation console from https://developers.google.com/maps/documentation/business/geolocation/ site. {'cellTowers': [ { 'cellId': ...
0
votes
0answers
78 views

Using Terraformer to convert to WKT

I'm using Terraformer to parse some ArcGIS JSON into a Terraformer primitive. I'd like to store the geometry in PostGIS for other purposes. So I'm trying to use the WKT.convert tool to convert this ...
0
votes
0answers
255 views

Using Tile Mill and GeoJSON

I am trying to use Tile Mill and GeoJSON layers to have an image appear within a tooltip but it is not working properly. The process I go through to get the GeoJSON: 1) load .shp into QGIS 2) save ...
1
vote
2answers
118 views

How to calculate area in square kilometers of a OSM boundary

I have tried using measurement plugin in JSON. It does not work if the boundary is made of multiple selected lines. That plugin works when it is a single line for the whole boundary. Is there any ...
0
votes
0answers
45 views

OpenLayers 3: context specific styling

I am having trouble with OL3 extracting context specific info from a nested JSON object. My feature's JSON goes like this: feature.attributes.geometry.name = "Point Alpha" How do I display the ...
2
votes
0answers
639 views

Geoserver WFS get feature doesn't work - “SyntaxError: missing ; before statement”

I'm trying to use geoserver WFS json for creating vector layer (instead of using WMS) because this is a layer I redraw every 20 seconds. This is the code I use : function getJSON() { var ...
1
vote
0answers
422 views

ArcGIS API Javascript - FeatureLayer from json: problem with queries and popup

Hello everybody I've tried this code proposed by Derek Swingley in JSFIDDLE: JSFIDDLE-FeatureLayer from JSON Everything "seems" to work fine, but not always. If you go down to the closer scale (level ...
2
votes
3answers
220 views

Making tracking data available to Geoserver

I have tracking data from GPS, which gives latitude, longitude, heading, etc. Right now it's stored in a non-standard database (Accumulo) and I'm looking into how best to make the data available for ...
2
votes
2answers
432 views

json to shapefile in javascript

I know, there are some libraries to convert .shp to .json even with javascript, but haven't found a way to convert .json back into .shp that could be implemented in web enviroment. Do you know or ...
1
vote
1answer
101 views

How to edit ArcGIS Server .json?

Is it possible to edit the .json format, which is created by default when publishing a service on ArcGIS for Server? For a project we have the following problem: Our by default created .json for a ...
2
votes
2answers
546 views

How to get JSON representation from JTS Geometry?

I'm using JTS (http://www.vividsolutions.com/jts/JTSHome.htm) and need to get a JSON representation of a Point : Hibernate beam: @Type(type = "org.hibernate.spatial.GeometryType") ...
0
votes
0answers
642 views

D3 adding topojson - no data visible

Yesterday I asked what would be the best method of creating an overlay in a web map that would allow for some interactivity. Create interactive map with no server Thanks to a variety of people who ...
0
votes
1answer
62 views

Server Object Extension MultiPoint Input [closed]

I have soe which accepts {x:-112,y:35} as input parameter. how can I modify the soe code so that I can pass more than one point as my input parameters like {x:-112,y:35},{x:-113,36},{x:-113.5,y:34} ...