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

learn more… | top users | synonyms

0
votes
0answers
16 views

Json to shapefile bulk converter [closed]

Is there any way to convert multiple json files into shapefiles as batch/bulk process?
1
vote
1answer
35 views

python script to retrieve names and scale range from an ArcGIS MapServer url

i am pretty new at ArcPy. i need to write a python script to retrieve names and scale range from an ArcGIS Map Service url. i had a look around json and url2lib but i am lost. I want to retrieve the ...
1
vote
1answer
27 views

create spatial data on the fly for a timeline application

I 'll need the support of the experts on this: Facts: Data are stored in a MySql db with no spatial data. instead there is a uri of gazetteer service which will return spatial data in json format. ...
0
votes
0answers
44 views

Has anyone been able to programmatically generate and post web map definitions to ArcGIS Online and create web maps?

I'm using Python to build an ArcGIS Online web map definition JSON string, and then trying to post the configuration to ArcGIS Online to create a web map. I am using an admin account to generate the ...
5
votes
1answer
193 views

Conventions for returning GeoJSON via an API

I have a queryable API that returns one or more GeoJSON FeatureCollections. Currently the response looks something like this: { "success": { "data": { "layer1": {"type": ...
2
votes
0answers
20 views

How to create a JSON object in Geocortex to be used in Crystal Reports

Does anybody know if it's possible to convert a dataset containing unique ID's in Geocortex workflow to a JSON object so that it could be used in Crystal Reports? My knowledge of Geocortex is quite ...
1
vote
1answer
33 views

IE8 problem with proj4.js

This problem is in IE8 and not in Firefox. My first problem was that IE8 don't support JSON natively and I get the "JSON is undefined". I solved this by including json2 or json3. Now JSON.parse ...
1
vote
1answer
51 views

Does arcpy have a tool for converting file geodatabase Table to JSON?

arcpy has: arcpy.FeaturesToJSON_conversion() which can handle feature layers, but what about file geodatabase tables? Not too hard to implement custom, but I want something with the same API as ...
2
votes
1answer
403 views

ArcGIS Web AppBuilder widget config?

I downloaded a webapp builder template (javascript) that I've placed on my own web server and is running fine. However, I am not able to modify the widgets in the config.json file to the settings ...
0
votes
1answer
32 views

How can I load JSON into GRASS?

I have received rainfall data in JSON format. I want to load the data into GRASS. Sample JSON output: ...
0
votes
1answer
52 views

How to style specific polygons from a geojson with Leaflet

I have a World Countries geojson, that has country codes as "ID" (feature.id) and names as feature.properties.name I would like to color specific countries for making a "countries visited" map. ...
0
votes
1answer
101 views

Converting JSON to GeoJSON or CSV?

How do you convert a JSON file to a GeoJSON file or csv. I have a JSON file with lat lon information, but how can I can convert this file to GeoJSON or csv. I have found some online tools to convert ...
0
votes
0answers
36 views

How to combine two arcgis javascript functions with coded domain values for combo box dropdown?

I have a function which calls a layer that has a domain and coded value. I would like to create another drop down menu which shows the priority of these domains(service orders). My js file ...
0
votes
0answers
31 views

imposm2 to imposm3

I am using imposm2 to import osm data to postgresql database but recently moved to imposm3 which is still in development phase I want to know is there an easy way to convert imposm2 mapping file ...
1
vote
0answers
46 views

export map state as JSON: Web_Map_as_JSON

Is there a way to export the current map state as a JSON object, mostly named Web_Map_as_JSON. The JSON specification should be like this. In other words, it would be convenient to have a function ...
1
vote
1answer
168 views

List layer names from Map service using python

I am trying to get a list of layer names within our rest services for all services and folders. I have two codes that I am trying to put together and for some reason the layer code doesn't seen to ...
0
votes
0answers
27 views

Unable to identify the colours on leaflet

var non_tfl_lines_JubileetoIlford = L.geoJson(non_tfl_lines_JubileetoIlford, { pointToLayer: function(feature, latlng) { switch (feature.geometry.type) { case 'LineString': return new ...
2
votes
1answer
135 views

leaflet marker-cluster JSONP geoserver

I hope I can get same help from here. I started to put together a leaflet map, please see here: http://gis.xyz/leaflet2.html I want to show my postgis point (uk based) features on this map with ...
0
votes
0answers
66 views

Geoserver - Sometimes bounding box property is missing following CQL Filter - why?

Usually when I run a WFS Getfeature query on GeoServer and request JSON the results conform to this format: { "type":"FeatureCollection", "features": [..features here...], "crs":{"type":"EPSG", ...
2
votes
1answer
47 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 ...
2
votes
1answer
71 views

arcpy.AsShape function returning RecordSet not Geometry

I have the following code: feature_geometry = arcpy.AsShape(json_string, esri_json=True) print feature_geometry print type(feature_geometry) >>><geoprocessing record set object object at ...
2
votes
2answers
131 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
103 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 ...
0
votes
0answers
70 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
75 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
0answers
107 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: ...
2
votes
1answer
197 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, ...
1
vote
1answer
59 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 ...
0
votes
1answer
195 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.
1
vote
1answer
120 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
1answer
48 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. ...
0
votes
1answer
54 views

json issue: GetFeatureInfo with raster images

I have succesfully typed a GetFeatureInfo request with the following structure directly into my browser: ...
0
votes
0answers
115 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
637 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 ...
1
vote
0answers
94 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, ...
1
vote
0answers
122 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
265 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
736 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 ...
4
votes
2answers
930 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
451 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 ...
0
votes
1answer
200 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": { ...
0
votes
0answers
18 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 ...
1
vote
1answer
83 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
2answers
79 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
255 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
187 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
268 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
546 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 ...
0
votes
0answers
194 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
2k 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': ...