JavaScript Toolkit for Rich Web Mapping Applications

learn more… | top users | synonyms

1
vote
0answers
266 views

OpenLayers dynamic zoom levels

In my application i add layers dynamically. The first added layer is a baseLayer. When i add layer i extend bounds so the new layer could fit map (it works). The problems is that i don't know how to ...
0
votes
0answers
123 views

GeoExt 2 /PrintExtent

I would like to add an extent polygon here in this example:http://geoext.github.com/geoext2/examples/printextent/print-extent.html to may panel, not generating a new one. here is my map initialization ...
0
votes
0answers
90 views

GeoExt Printing - MapfishPrintProvider or PrintProvider?

here is a working examples for a print preview with GeoExt 2: http://geoext.github.com/geoext2/examples/printpreview/print-preview.html but this example is using 'GeoExt.data.PrintProvider' while it ...
4
votes
1answer
252 views

Trouble in adding a print function to GeoExt MapPanel

I am trying to add print function to my GeoExt 2 web application, like: http://geoext.github.com/geoext2/examples/printpreview/print-preview.html first I am testing this using the same example urls, ...
0
votes
0answers
193 views

GetLegendGraphics request doesn't appear to use proxy

I have a legend panel defined as: var legendPanel = new GeoExt.LegendPanel({ layerStore: app.mapPanel.layers, title: "Legend", defaults: { labelCls: 'mylabel', ...
2
votes
1answer
237 views

How to export vector features to grid using proxy and WFS protocol?

I am trying to export vector features (current view) as a grid, something like: http://workshops.opengeo.org/geoext/wfs/grid.html so far layer features are not being retrieved.. I got empty grid in ...
0
votes
3answers
309 views

Trying to fetch feature data by intersecting Vector Polygon and WMS feature layer

I am trying to intersect a user defined polygon with a Point WMS Feature Layer. I am using the following code action = new GeoExt.Action({ text: "draw poly", control: new ...
1
vote
1answer
246 views

Adding CSV upload browse button to Ext.Action

I am trying to create a CSV File upload on GeoExt Map App. I need to place the upload function within the Ext.Action, so that I can add it to the toolbar of the GeoExt Panel. I am trying to implement ...
1
vote
2answers
199 views

How to print a vector layer over Google map? “Physical Printing”

I use Geoserver, Openlayers, Extjs and GeoExt to build an app. I am trying to get vector layer on Google map printed with pop up a Print dialog, I tried : var targetElement = Ext.getCmp('mapPanel'); ...
1
vote
1answer
182 views

GeoServer Exception: No such operation WMS 1.1.0 GetFeature

I'm using GeoExt, OpenLayers and GeoServer. I've added a checkbox to my layer tree which, when clicked, activates a "select feature" control such that when a user clicks on the map, the feature ...
1
vote
1answer
375 views

How to load MapPanel to TabPanel?

I use extjs4.1 with geoext2 in my web app. I want to load mapPanel to tabPanel via ajax and it fill tabPanel height and width. If i set mapPanel height and width i can see it in tabPanel but it can't ...
0
votes
2answers
286 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
2answers
344 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
182 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
283 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
394 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
257 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
297 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) { ...
0
votes
2answers
310 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
90 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
198 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
1answer
337 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
302 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
220 views
0
votes
0answers
190 views

GeoExt.AttributeForm not show feature attributes

I want to edit WFS layer objects attributes. FOr this i try GeoExt.AttributeForm. But Its not show attributes values only names. Store var st=new GeoExt.data.AttributeStore({ ...
3
votes
1answer
515 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
304 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
909 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 ...
1
vote
0answers
217 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
182 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
394 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
107 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
336 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 ...
0
votes
0answers
209 views

not able to zoom upto layer level , ExtJS : WMS Openlayers

I am trying to use ExtJS 3.x to display WMS Openlayers Layer but I am not able to keep default zoom at layer level. layer is loading but as a point (we can identify like a point but after too much of ...
1
vote
0answers
102 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
231 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
1k 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
117 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
425 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
288 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
1k 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
404 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
206 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
594 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
364 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
706 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
162 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 ...
1
vote
2answers
2k 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
1answer
730 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
492 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 ...