Tagged Questions

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

learn more… | top users | synonyms

4
votes
2answers
3k 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 ...
2
votes
0answers
479 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 ...
11
votes
3answers
2k views

Where can I find country borders data in human-readable format?

I'm trying to obtain some data representing the borders of all countries in the world. This data doesn't have to be very precise, it is to draw the countries on a computer screen. I did a bit of ...
9
votes
1answer
3k views

How to display geoJSON from an URL in a layer?

I am looking for some type of plugin or code which would allow me to add a geojson URL, define the areas to input the lat/long variables from the visible Qgis canvas map and call/render the results ...
13
votes
2answers
2k views

How can I fix my complex Polygons so they show correctly in Google Maps?

Problem: I'm trying to find a way to fix some broken polygon shapes and I'm not sure how I can do this. Details: I've got a number of polygons which I basically imported from TIGERLINES a while ...
3
votes
2answers
1k views

Is there a Web app for building GeoExt tree configurations?

I have a GeoExt application and looking for approaches for building tree configuration (in JSON format). Now tree configuration is made manually and looks like: var treeConfig = new ...
13
votes
9answers
9k 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
2k views

Why is my JSON not appearing on my webpage?

Greetings lovers of GIS, I came across this error whilst doing my JSON file. "Error in loading GML file" Everything works fine in localhost but dramatically wrong in my server. Any helping hands? ...
4
votes
3answers
721 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 ...
3
votes
2answers
748 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 ...
4
votes
2answers
1k views

Send Geometry to query using ArcGIS REST API

I am writing a windows console app in VS 2010 to perform an overlay using the ArcGIS Rest API. My first REST query returns information about the geometry for a specific feature. I then want to send ...
2
votes
1answer
405 views

How can I get SOESupport to handle Polymorphism?

I've got some business objects below that I can serialize and deserialize successfully with Json.NET. I don't see a simple way to do this with Esri's SOESupport however. I'm happy with Json.NET, but ...
8
votes
1answer
450 views

ESRI HTTP where query

A friend and I are currently creating a pretty straight forward LINQ to ESRI library that sends HTTP queries to an ArcGIS MapServer and then parses the JSON response appropriately. Everything is ...
4
votes
1answer
420 views

How to decode Google's proprietary latLon format for China?

This Google Maps link returns train stations in Shanghai, China. By appending '&output=js' it returns it in JSON format. I'm trying to decode the format Google uses for lat/lon: latlng:{ ...
7
votes
1answer
1k views

Adding Panoramio Photos To An OpenLayers Map

I have a pretty well integrated OpenLayers map that I want to add photos from the Panoramio API to. Unfortunately, it seems both API's are under documented on this subject. I found one great tutorial ...
8
votes
2answers
3k views

ESRI JSON Polygon Ring Orientation

I am having a hard time finding any detailed documentation defining ESRI's JSON specs. I am hoping someone can shed some light on the following two questions. Similar to the GeoJSON spec, the first ...
6
votes
2answers
847 views

How do I deserialize GP Result Json?

The value part of a GP Result can be any type of GP object (or literal). Does anyone know of a general way to deserialize this, preferably with either WCF or Json.NET? I'd prefer not to have to ...
4
votes
2answers
7k views

How do I serialize/deserialize .NET dictionary without key value elements?

I'm trying to get my C# class to serialize to a json that complies with GP Job, for example: { "jobId" : "jb10b153b77e74a839e31af53e5d4d0d1", "jobStatus" : "esriJobSucceeded", ...
5
votes
6answers
446 views

Is anyone using JSONP in Web mapping applications to get around the browser same origin policy?

Javascript based Web mapping apps that use ajax requests to get data from a server are limited by the Same Origin Policy to only request the data from a server in the same domain (subdomain and port). ...