Tag Info

Hot answers tagged

8

There is probably no answer to such a question. Using or not using geoExt depends of your needs. For a couple of projects I would rather advice you to simply use openlayers + jQuery. If your projects are more complexes, geoExt can be a great library and you probably should have a look on Mapfish project as well, since it also embeds ExtJS. Since mapfish is ...


7

GeoExt is the primary UI wrapper that people use with OpenLayers. It is under active development, well-supported by a broad open source community, and based on a well-maintained UI library with commercial support. Commercial support also exists for GeoExt. If you're going to build a complex UI, it is likely that you are going to, at some point, get to the ...


6

I think that's what OpenLayers BoundingBox strategy is good for. A simple strategy that reads new features when the viewport invalidates some bounds. If it's in OpenLayers, it should be available in GeoExt too.


6

Go through the following questions. GIS for the web Steps to Start Web Mapping Web GIS Development Skill Sets


5

That will work as Mapnik can be configured as a WMS (http://code.google.com/p/mapnik-utils/wiki/WmsInstallGuide) but I think you are supposed to just build out all the tiles in the world and serve them directly to openlayers (assuming that you have enough disk space). See http://openlayers.org/dev/examples/tilecache.html for an example.


5

Set the following parameters in OpenLayers: // Avoid pink error tiles OpenLayers.IMAGE_RELOAD_ATTEMPTS = 3; OpenLayers.Util.onImageLoadErrorColor = "transparent"; Reference document/tutorial: http://workshops.opengeo.org/stack-intro/openlayers.html Please note that 3 is a very high-tolerance value for reload attempts IMHO and could be lowered to just 1. ...


5

When you unzip the file, there is a 135 kB minified GeoExt.js in the GeoExt/script folder. The Development version is present at the GeoExt/lib/GeoExt.js location, while the compressed & minified version is located at GeoExt/script/GeoExt.js.


4

In regards to TileMill, you export a map as MBTiles and then can either turn it into flat image files with mbutil that you can put on a web server or S3, or you can use TileStream to serve the MBTiles file dynamically. Like any tile server, you then use OpenLayers (or Modest Maps, Polymaps, Google Maps) for a Javascript API.


4

For the OpenLayers.Format.GeoJSON feature collection use an OpenLayers.Layer.Vector instance. Examples from the OpenLayers Examples Gallery: http://openlayers.org/dev/examples/geojson.html http://openlayers.org/dev/examples/vector-formats.html http://dev.openlayers.org/docs/files/OpenLayers/Layer/Vector-js.html Use a zoom based strategy for displaying ...


4

I'm going to make the following assumptions: url = http://insert.your.url.com/path (which will be wrong) your not using any library, i.e. no jQuery, no AJAX you're interested in the built in XMLHttpRequest() object you would like to handle asynchronous requests (instead of synchronous) you can replace the error / success handler with something else you ...


4

i think you can achieve this with some css bindings which is not a gis solution. in css there are lots of css media types and one of these is print element. you can add this to your index page with this way: <link rel="stylesheet" type="text/css" media="print" href="print.css"> and with some css code may help you. body { background: white; ...


4

GeoExplorer is written using Ext JS 3.4 and Geo Ext Js Libraries. Try this tutorial from Open Geo. With this tutorial you will create similar app


4

Please check timeline plugin on GitHub. I am sure it will help you. It contains simple library to create a time related map with Open Layers. It supports cluster strategy (Open Layers.Strategy.Cluster) and time filtering. Currently it supports source data in GeoJSON or GeoRSS format.


3

This was recently asked on the GeoExt mailing list - http://www.geoext.org/pipermail/dev/2011-May/001008.html In a word - no, and there are as yet no ongoing development plans to do so, but it will be done eventually.


3

You can do a post request in OpenLayers like this: var postData = ""; //insert your data to post here var request = new OpenLayers.Request.POST({ url: "http://host/path", data: postData, headers: { "Content-Type": "text/xml;charset=utf-8" }, callback: function (response) { //read the response from GeoServer var ...


3

I would argue that the JSAPI already provides equivalent functionality to what's in GeoExt. All of the additional widgets provided by dojo are just a require statement away. It's up to you how you use them. Here's an example of a JSAPI site that has always struck me as having a "GeoExt feel": http://uplan.utah.gov/ For your specific case of a tooltip on ...


3

To get the number of features from a layer in the server you need to use the WFS (Web Feature Service) request. You will need to call GetFeature and set the parameter resultType to hits (resultType=hits). This will just give you an integer count of the number of features you've requested (as opposed to returning all the features, as a GetFeature request ...


3

The map definitions should be in the YAML file. These are then accessed through the print web service via the info.json page. http://www.mapfish.org/doc/print/protocol.html For testing you can always hardcode these parameters by creating a JSON object: var printCapabilities = { "scales":[ {"name":"25000"}, {"name":"50000"}, ...


3

Have a look to see if there are any columns in your database named "addr" or similar. If there are then you may be able to query the database directly and isolate these rows. If not, you probably need to create a database schema with address tags included from scratch. Broadly how I might go about doing it is as follows: Run the raw .osm datafile through ...


2

Mapquery is under active development but the active members are sporadic in contribution. The main core was completely overhauled about two-weeks ago but has yet to be pushed out to the main branch. Right now the branch is under review as it breaks some compatibility with the older base, however it is vastly improved. If you are interested in helping or ...


2

Quote from the site: GeoExt is available under the BSD license and is supported by a growing community of individuals, businesses and organizations. BSD License Details can be found here: BSD License or at Wikipedia Edit (thanks to Petr, I completely forgot about ExtJS): In short, the answer is yes for personal, no for commercial due to ExtJS ...


2

Different port numbers are considered as different domains - even if the rest of the URL is the same. So if your main site is running on: http://24.105.210.45:80 You would need a proxy to access: http://24.105.210.45:8080/geoserver/wms?service=wms&version=1.1.1&request=GetCapabilities So the proxy FAQ below applies in your case: ...


2

Had the same problem today! Remove the triggerAction: 'all', option and it will work. triggerAction in fact tells the combox to always display all of its values regardless of filters. Documentation is scarce, but this thread describes the possible values for triggerAction: http://www.sencha.com/forum/showthread.php?40428-combo-box-triggerAction


2

The simplest way is to create a view with the two tables joined. Make sure that the view is in the Geometry_columns table and GeoServer will serve it up just like any other layer. Then your WMS GetFeatureInfo request will contain the necessary info for you to display the related items.


2

There is also the LayerTreeBuilder ux. Check out the sources from http://svn.geoext.org/sandbox/mapgears/geoext.ux/ux/LayerTreeBuilder/ and see an example here: http://dev.geoext.org/sandbox/mapgears/geoext.ux/ux/LayerTreeBuilder/examples/tree-builder.html


2

This is extremely dependent on how you're pulling data onto a map. The example you point to is from a WMS server that serves legend images which are combined with layer names to create a legend. If you're going that route and are using a WMS server, this question doesn't really touch GeoExt or anything on the Javascript level: you'll need your WMS server to ...


2

On <input class="x-tree-node-cb" type="checkbox" checked=""> Off <input class="x-tree-node-cb" type="checkbox"> Recommend you use Firefox and Firebug to view the source live when and can interactively select objects and change their state and see the source code change.


2

I am pretty sure that GeoExt does not work together with ExtJS 4 yet. You should use ExtJS 3.4.0 like GeoExt does in this MapPanel example. You also need to add the ext-base.js which you can see in the above mentioned example. Update: GeoExt does currently only work with ExtJS 3, but GeoExt is planing a code sprint that targets: developing GeoExt ...


2

I think it's because removeAll() destroys div that map was rendered in, but OpenLayers still has some references to it. Try creating new mapPanel every time you want to add it again by extracting creation code to the new function: function getMapPanel() { var map = new OpenLayers.Map(); var layer = new OpenLayers.Layer.WMS( ...


2

OL only load tiles if the layer is "active". I tested your sample in Chrome and works fine. Once the initial view is fully loaded if I move around only OSM tiles are loaded and when change to GM then the GM are loaded. What it is true is at the beginning the GM tiles are also loaded. It can be due because you add first the GM layer to the map instead OSM. ...



Only top voted, non community-wiki answers of a minimum length are eligible