JavaScript Object Notation (JSON), is a lightweight, human-readable data interchange format.
-2
votes
1answer
17 views
Render specific vector data from database with openlayer
I want to render some data on a map. They are stored as points in my database (postGiS), each one is associated with a name. I want to render points with the same place name in the same color.
...
2
votes
1answer
25 views
Jsonp Callback error
Recently we have started migrating application from Javascript API 3.1 to 3.5 and we are finding this jsonp error coming sometimes during adding the layer.When we add the layer we also zoom to the ...
0
votes
0answers
24 views
I copy/pasted code from ArcGIS .NET ashx proxy into my Controller method, now debugging is jumping all over the place (multi-threaded, apparently)
I have a controller that takes in JSON data via HTTP POST. Inside this controller is a call to a method that I copied/pasted from ArcGIS's .NET implementation of the proxy that's needed to connect to ...
0
votes
0answers
45 views
How to make a REST request to a WFS-G service?
I'm trying to execute a REST-based query to a WFS-G Gazeteer service (as described at: http://frameworkwfs.usgs.gov/wfsg/) to query for a location name, but haven't been successul. Can anyone assist ...
1
vote
0answers
48 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 ...
3
votes
1answer
85 views
JSON format unavailable for GetFeatureInfo service
I have Geoserver 2.2.4 installed - which allows GetFeatureInfo to be returned as json
If I make the following call
...
1
vote
0answers
188 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 ...
6
votes
1answer
140 views
GIS storage format for better performance - Android device
We have developed an android application which loads different eco-zones and does geo-fencing based on current GPS location.
We have converted a shapefile to KML, then to JSON format, for loading in ...
2
votes
1answer
261 views
Spatial Data from Postgis to Java/REST with RestEasy + Jackson
I'm developing an application where I take a route from google maps, save it in postgresql/postgis. I'd like to take this route (LineString geometry) and send it back to Google Maps.
I already can ...
0
votes
0answers
49 views
Entity with Geometry column to JSON with Java / RestEasy / Jackson
How can I transform a entity with geometry column in a JSON to send via RESTEasy?
Thanks, Luciano
0
votes
0answers
57 views
Send WMS Request as JSON
I'm using openLayers and geoserver. I'm making a layer with openLayers.Layer.WMS to geoserver and am adding cql_filter to filter down id's. Here is my code:
var kent = new ...
2
votes
2answers
141 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 ...
2
votes
0answers
92 views
How to PGRoute from OpenLayers via PostGIS/PostgreSQL [duplicate]
I need to route a shortest distance for a map which I have loaded from a PostgreSQL by means of JSON file. I can project the map in my browser and I can identify the linestrings. For a particular ...
3
votes
2answers
98 views
how to search for a Point of MultiLineString geometry in a json file using OpenLayers
I have a json file with large geometries(MultiLineString), here I got a Point among the json layer(baseLayer). I would like to search for a Point's LineString in the layer, from which MultiLineString ...
2
votes
2answers
427 views
ShapeFile or feature class to json
Is there any online or desktop based tool that can convert shapefile or feature class to json and not Geojson.Is there any tool in arcgis desktop to convert shapefile or featureclass into json.
0
votes
1answer
426 views
OpenLayers: Showing WKT data via JSON from MVC
I am trying to read geographic data from MS SQL Server 2012 and display it using the JavaScript library OpenLayers in an MVC4 view. I can confirm that the data leaves MVC OK but I have problem is ...
2
votes
2answers
137 views
How to Merge/Join GeoJSON and JSON?
I want OSM administrative boundaries from http://global.mapit.mysociety.org/area/14455.html.
I can get the geodata in different formats there, but the attribute data always is a separate JSON file. I ...
2
votes
0answers
183 views
OpenLayers BBOX sending double requests
I've implemented a openlayers bbox strategy on a vector layer. I have my server return a nice jsonp object wrapped in the callback given by the request.
The problem is that during normal use of the ...
0
votes
1answer
143 views
What would be the URL of a JSON file on the local drive?
When i save json file in web apps then using http://localhost:8080/WGSClient/js/object.json this path file gets open.But when i keep it outside web apps like local folder then using same url format ...
0
votes
1answer
276 views
Openlayers loop through json array and output result with as javascript
Connection.php file which stored database connection code with json:
<?php
$username = "root";
$password = "";
$database = "roadmap";
$url = "localhost";
$con = mysql_connect($url, $username , ...
1
vote
2answers
696 views
'invalid parameters' on ArcGIS rest API used from Silverlight
I have an Silverlight application from which I'm trying to create new features to ArcGIS server. Every time I get error
{\"error\":{\"code\":400,\"message\":\"Unable to complete ...
0
votes
0answers
135 views
Localhost and dns dynamic host OSRM server getJSON
I am having problems trying to use a dnsdynamic address to get a file from Open Source Routing Machine (OSRM) server by using getJSON function in javascript.
If I use localhost:5000/ as address of my ...
2
votes
1answer
298 views
Connect JSON to GeoExt Application
I am returning a JSON to a GeoExt app and this is the code that is collecting the return,
var control = new OpenLayers.Control.Click({
trigger: function(evt) {
...
5
votes
3answers
1k views
Slow IE8 responsiveness with OpenLayers and many features
Background
Adding about 700 sites to an OpenLayers Map. Firefox 11 and Google Chrome display the sites just fine. IE8, which is the organization's standard and will not be upgraded for the ...
1
vote
2answers
569 views
Convert spatial Geographic data from sql server 2008 to Json
Is there any example to convert spatial data (point,line,polygon) stored as geographic in sql server 2008 into Json and display data using Arcgis Javascript Api 3.0.I have tried converting geographic ...
2
votes
2answers
630 views
Getting json feature id on OpenLayers
I'm projecting some features using json format on OpenLayers. I need to get the id from the feature (not the OpenLayers' id but the one in the json file). The file looks something like this.
...
0
votes
0answers
49 views
ESRI Shapefile to ARCGIS Javascript JSON format [duplicate]
Possible Duplicate:
How to convert SHP into GPX or JSON?
We're in the proces of adding a new feature to our Web Application where we employ the use of ESRI's ArcGIS Javascript API alongside ...
1
vote
1answer
198 views
how to make openlayers example work in jsFiddle
Hy,
I'm working on a jsFiddle with a openlayers example in it. http://dev.openlayers.org/releases/OpenLayers-2.11/examples/snapping.html
At the moment it's not working because it's not getting a ...
1
vote
0answers
320 views
Multiple Google fusion table layers with queries using javascript
I am making a web mapping application using Google fusion tables and JavaScript. Earlier I had only one Layer on it, but now I have to put another layer. Both the layers have bunch of queries. I am ...
2
votes
1answer
270 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 ...
0
votes
1answer
333 views
Defining projection in arc toolbox (JSON to shapefile) in python
I have a arc toolbox which converts JSON txt file to a shapefile but we have to define the projection.
How can I hard code the defined projection so that user don't have to input the projection ?
...
7
votes
0answers
383 views
Geoserver GET request to the REST API without authentication
I am using Geoserver to serve a number of WMS layers. I am using jQuery's $.getJson('/geoserver/rest//featuretype.json') to programmatically populate a table with the available layers and their ...
4
votes
2answers
1k 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
313 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 ...
9
votes
3answers
1k 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 ...
7
votes
1answer
1k 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
984 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
838 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 ...
8
votes
5answers
3k 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
1k 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
2answers
471 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
436 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 ...
3
votes
2answers
815 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
330 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
359 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
364 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
860 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
1answer
2k 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 ...
5
votes
2answers
702 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
4k 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",
...




