JavaScript Toolkit for Rich Web Mapping Applications

learn more… | top users | synonyms

0
votes
2answers
785 views

Unable to reflect JSON in grid

I am trying to fetch the data from JSON and display it onto the grid. The store has all the JSON data, but I it is not visible in the Grid. The grid comes out completely blank. This is the ...
2
votes
3answers
1k views

OpenLayers.Format.GeoJSON throws an exception “SyntaxError: JSON.parse: unexpected character” for valid JSON

In my GeoExt client, I have the following line that retrieves JSON data from a web service into a FeatureStore: var store = new GeoExt.data.FeatureStore({ layer: route_layer, fields: ...
0
votes
1answer
234 views

PopUps for all the Feature layers

I am trying to create GeoExt action button to fetch the feature info from all the layers. I am still getting the info for my point features but I am getting nothing for the usa:states, that appears in ...
1
vote
1answer
544 views

Creating a GeoExt Action from OpenLayers Function

I am trying to create a GeoExt function out of this OpenLayers function, which displays the getFeatureInfo. I was able to create this GeoExt.Action() but it does not give me any output. Any idea ...
2
votes
3answers
946 views

adding non spatial attributes using geoserver

I am using Openlayers + geoext to perform transaction operations in postgis database using geoserver . i can insert spatial data into postgis but cannot insert other data like road name, road type in ...
1
vote
1answer
766 views

How to fix org.mapfish.print.JsonMissingException: attribute [spec.pages[0].mapTitle] missing?

I've installed GeoServer's map printing module. I've tested that it works by following the instructions here. Now, I'm using GeoExt.PrintMapPanel, and my code is as shown below: var mapPanel = new ...
2
votes
1answer
636 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) { ...
1
vote
2answers
510 views

Popup is stationary does not move with the location

I am using the GeoExt example and used the same code in my application. This is my code The problem I am facing is that the Popup box in my application on http://128.196.142.94/geo/test/test.html is ...
0
votes
1answer
136 views

removing multiple additions to popup

I am using the GeoExt example and this is the js code and trying to get rid of the multiple lat and lon that get added into the PopUp on multiple clicks. Not sure which is the code that I need to ...
1
vote
0answers
303 views

How to get feature geometry?

I want to have a gridPanel with feature geometry. But i cant image how to do this. I have a FeatureStore st = new GeoExt.data.FeatureStore({ ...
0
votes
2answers
856 views

GeoExt and Mapfish print on other domain: can't get how to proxy

I have OpenLayers ProxyHost configured OpenLayers.ProxyHost= "form/proxy?url="; , the url config of Mapfish Print Provider is configured as http://path/to/mapfish/print, and the doc tells that I ...
0
votes
2answers
535 views

how to create gis like Uster?

I downloaded qgis, geoserver, openlayers, ext, geoext, qgis-web-client and osgeo. And i have map shape files. i would like create website like this site. i need help. can you send tutorial links thank ...
0
votes
1answer
329 views
3
votes
1answer
1k views

Call GeoExt action by click ExtJs button

I have a problem. I have a ExtJs button and want to call anyone GeoExt action. For example this {xtype:'tbbutton', cls: 'x-btn-icon', id: 'testbutton', ...
0
votes
1answer
479 views

add grid to GetFeature Info tool

I have added the GetFeatureInfo Tool to my Viewer but the PopUp does not have a grid in it to display the Feature Info neatly. How do I get the grid layout in the Feature Info PopUp, like the one ...
1
vote
1answer
1k views

Sencha / Extjs 4 with GeoExt 2 - How to use

I'm working on Sencha Architect 2 - extjs 4 i found out that GeoExt doesn't work with extjs 4. but i really need to use it so i searched and end up here https://github.com/geoext/geoext2 I'm trying ...
2
votes
0answers
487 views

Problems configuring geoext tree

I am facing some difficulties configuring properly my geoext tree. I'll appreciate if anybody can help me. When I try to open the "images" folder, the node stays rounding, trying to load something ...
1
vote
2answers
465 views

Openlayers controls outside the map

I want put OpenLayers controls outside a map but dont know how. I find this example http://openlayers.org/dev/examples/editingtoolbar-outside.html but its not what i want. I have a button and want ...
1
vote
2answers
899 views

How to make WFS layer with GeoExt?

Can u help me with WFS on GEOExt? Im read tutorial and see this code. proxy: new GeoExt.data.ProtocolProxy({ protocol: new OpenLayers.Protocol.WFS({ url: "/geoserver/ows", ...
1
vote
1answer
156 views

File Upload with GeoEXT FormPanel

I have a GeoExt form and want to do file upload here. But i never work with GeoEXT. I have this. buttons: [{ text: 'Загрузить', handler: function(){ if(fp.getForm().isValid() && ...
0
votes
1answer
820 views

GeoExt 2 - Extjs 4

As a complement to my previous post : http://stackoverflow.com/questions/11309998/extjs-4-with-geoext-libraries-issue i can't find a css file for GeoExt 2 here : https://github.com/geoext/geoext2 i ...
1
vote
0answers
158 views

How to get server info from WMSCapabilitiesStore

I am using the following code to retrieve a list of data layers hosted on a WMS Server: var store = new GeoExt.data.WMSCapabilitiesStore({ url: fullUrl }); // Add some callbacks to handle various ...
2
votes
0answers
358 views

GeoExt.Popup and get GID

I'm using GeoExt.Popup to create a popup when a user click on an WFS (point) on the map. When the user click on a point on the map I want to send the GID (primary key from DB) to a servlet or JSP to ...
1
vote
1answer
2k views

GeoExt (ExtJS + OpenLayers) not displaying Google Map

I've just started exploring GeoExt. It displays all the map controls, Google Logo and "Terms of Use". But the map is not rendered. I'm using firebug, and no JavaScript errors are generated. I'm using ...
1
vote
1answer
150 views

GIS Layer Versioning In GeoServer

i have developed the application for editing the map features online but i want the features to be saved as version of the layer not in original layer.this work is done using GeoExt ...
1
vote
1answer
767 views

OpenLayers Scaleline always wrong in my virtual star map

I got a problem for the scale line when I using openlayer to show my "star map". Basically, I give a set of 2D coodinates (X,Y) for each star, and generate the map using map server. Now the map can be ...
0
votes
1answer
519 views

Changes made using wfs-t and GeoExt don't get saved to PostGIS

I'm using GeoExt to display and edit a vector layer from GeoServer (running with Apache Tomcat) but if I modify the shape of an existing polygon (or create a new one but I'm trying not to leap ahead ...
1
vote
1answer
2k views

OpenLayers: Load Markers dynamically from Text file

I am trying to load set of markers dynamically from a text file using OpenLayers.Layer.Text. The problem is that no markers is shown after rendering the page. Below is the JavaScript file that is ...
1
vote
2answers
892 views

Set up the center of a map with Google Layer as basemap in OpenLayers and GeoExt?

I looked on similar questions but in vain. The map is working fine but has a center of (0,0) as returned in the Firebug console not (-8, 32) that I want. I did the projection transformation.. Here is ...
1
vote
0answers
333 views

GeoEXT using WFS-T draw on point Layer

Hello this is my first post. I'm new with openlayers and geoext and i'm facing a problem while trying to add a new record in a point layer via wfs-t the code is below (it is from ...
3
votes
1answer
998 views

printing openlayers map

What i've got is a map served by the tilecache and shown by openlayers and geoext. Now i need to print this map, so what i've done is: made a button which creates (window.open()) a new window with ...
1
vote
1answer
695 views

How to create a metadata json member for an openlayers layers object and display in extjs grid?

I want to do the following: add metadata: "this is the layer metadata" ....to my openlayers layer config. This should then be presented in an extjs grid. I can use alert(layername.metadata); ...
3
votes
2answers
2k views

How to get linestring length while drawing?

I've got a control to draw lines: new OpenLayers.Control.DrawFeature(vecLayer, OpenLayers.Handler.Path, { callbacks : { // "done" : doneHandler, "point" : ...
2
votes
1answer
209 views

Disable layer checkbox if no geometry on that zoomlevel (source=wms)?

I have a map application using GXP which displays different data coming from different WMS sources. Some geometry is only available on certain zoomlevels (available via MaxScaleDenominator on the ...
3
votes
5answers
6k views

How to get WMS LegendGraphics using Geoserver and GeoWebCache?

I am using GeoServer alongwith the default, build in GeoWebCache. I am using Extjs and GeoExt, as well. Everything is running well, except for the legend graphics request. My code for layers is as ...
0
votes
2answers
2k views

How to get address coordinates from OSM?

I've got an osm file containing the city I live in. Now I've got a tool to render and display it in the browser (mapnik+postgis+tilecache+openlayers+geoext) and the task is to make an address search. ...
0
votes
2answers
647 views

Handling geoExt popup when one or more layer fails to load

GeoExt info Popup is very easy to use but when one or more layer is missing or fails to load Avoiding Pink Tyles. The popup is not filled with the values. While I can see that request is sent to the ...
0
votes
1answer
935 views

Using Google API 3 with Openlayers Brings POPUP [duplicate]

Possible Duplicate: Google Maps layer copyright popup every time map updated / user input I recently upgraded from google map api v2 to v3. It was working quite fine previously but now it ...
9
votes
4answers
4k views

How to avoid Pink tiles when DB view/Table is empty?

I have views that are spatial in a sense that they select some spatial column from other table. This table is published using geoserver. This table is live and sometime has no data at all. When the ...
1
vote
0answers
176 views

WFS getFeature Request Blank XML for some layers

I have following url request to geoserver. the first request results blank page but the second page results in number of feature count. Why it there blank xml for some layer while other gives number ...
2
votes
2answers
7k views

Sending xml post request to geoserver

This may be simple question but I can't get started. This tutorial from pen state university has xml request <wfs:GetFeature service="WFS" version="1.0.0" outputFormat="GML2" – we would like ...
3
votes
1answer
452 views

Any Open Source Extensions to ESRI JSAPI?

I'm looking for some functionality beyond what ESRI already provides in the JSAPI. For example, the ability to display the LOD in a tooltip on the zoom control. It seems like there should be a ...
3
votes
1answer
960 views

OpenLayers.Layer.Vector not working?

I'm struggling to get my vector layer working. The wfs works as I have tested it by creating a wfs layer and adding it to the map, now I'm trying to display a vector layer with the results of a search ...
1
vote
1answer
248 views

Displaying “numberoffeatures” in grid

How to display numberoffeatures in map using geoext on grid? Ext.onReady(function() { app = new Ext.Viewport({ layout: "border", items: items ...
1
vote
1answer
2k views

WFS layer not showing? [duplicate]

Possible Duplicate: How to add GeoServer wfs layer on OpenLayers? I'm really new to this and am making a map for a university project, I can't get my WFS layer to show up on my map, the WMS ...
0
votes
1answer
441 views

Google Map layer loads tiles even if this layer is disabled in OpenLayers

Sorry for cross posting I've asked this question in OL mailing list, but not get response yet. It is very important for me to resolve this issue. I've made a little example that reflect my problem. ...
2
votes
2answers
846 views

GeoExt Popup is blank

I am doing the sample example from OpenGeo WorkShop. It's about creating simple popup. I get popup but with blank no feature information? I am using geoserver with geoext. controls.push(new ...
0
votes
2answers
1k views

GeoExt Tree Example Modification

The example provided in http://api.geoext.org/1.0/examples/tree.html shows all overlayes are checked but how do I make these overlayes unchecked while page is loaded?
2
votes
1answer
249 views

What are necessary GeoExt dependencies?

Is use of OpenLayers-2.11 ,GeoExt-1.1 and ext-4.0.7-gpl supported . I have only included ext-all.js in the script src. Should I include others too?
0
votes
1answer
2k views

Building Floor Plan map using OpenLayers and json

How to show map of building floor plan using OpenLayers and json. moreover, i want to know that how to change features dynamically with zoom based from json files. Let's take example, Initial the ...