Tag Info

Hot answers tagged

9

Assuming your are using OpenLayers.Protocol.WFS, then you have something like this and you can provide a callback when you call the read operation on the protocol: The call back has an OpenLayers.Protocol.Response object. This object has an error property that will let you know of any errors. var protocol = new OpenLayers.Protocol.WFS({ ...


5

There is the LoadingPanel addin: http://trac.osgeo.org/openlayers/wiki/Addins/LoadingPanel This could easily be altered to show a "waiting cursor" by altering the "minimizeControl" and "maximizeControl", removing the this.div.style.display = "none"; this.div.style.display = "block"; lines and adding: document.body.style.cursor='auto' ...


4

Here's my suggestions: Try the map as just tiles. Is this slow? If so, use someone else's base map or use GeoWebCache to pre-generate tiles. Then all you should be seeing when loading only tiles is HDD usage and no or very little processing. If you're loading vectors, and that's slow, don't load vectors. Tile the vectors and query the database for ...


3

It's very hard to tell without seeing the 'equipment.dbf' file, but my guess is that there is something about the data file that Arc doesn't like. I wonder if there is something about the DBF schema that is unusual/unexpected (since it is failing at the schema test). In addition to Kirk's question, have a look at: Do the field names conform to a strict ...


2

could be your z-index? This works for me here .olControlLoadingPanel { background-image: url(../OpenLayers/theme/default/img/load.gif); left:45%; top: 45%; position: absolute; width: 250px; height:250px; background-position: center; background-repeat: no-repeat; display: none; z-index: 1000; }


2

I finally found a way to improve the loading speed in network analyst. First, I mention that I upgraded to ArcGis 10.1, but the problem was the same in this version. In order to have a very fast loading, it is better if you place all the data you will need in a single personal geodatabase .gbd file using ArcCatalog. Inside this geodatabase, create a new ...


1

Values for -t is not the pixel scale dimensions but rather the number of pixels in each tile. So, -t 100x100 would generate tiles where each tile would be at most be 100x100 pixels in size.


1

You can find the following example useful: http://openlayers.org/dev/examples/layerLoadMonitoring.html Essentialy, the OpenLayers API gives you the layer events 'loadstart', 'loadend' and 'tileloaded'. When you register these events, you can 'hook' functions that, for example, can show a loading indicator.


1

You can use the loadstart and loadend events on the layer to handle this. This example (http://openlayers.org/dev/tests/manual/loadend.html) shows the basics of how to get it working.


1

Did you save the corresponding R object as well? E.g.: # Download and save map image and R object library(ggmap) egy.map <- get_map(location=c(lon=30, lat=26), zoom=6, maptype="terrain", filename="~/Desktop/ggmapTemp") save(egy.map, file="~/Desktop/egy-map.rda") # Restart R or RStudio before running the code below library(ggmap) ...


1

GDAL is your best bet if you are looking for an open source solution. It only provides library functions and command line tools, but Oracle also distributes a simple GUI-based ETL that uses GDAL internally. This tool comes with Oracle Database 12c, but you can also download it in isolation from ...


1

I have also been looking for a software to test Oracle Spatial GeoRaster. I have found this solution from PCI Geomatics, which is not open source, but, at least it's free. You can check it here (registration needed): http://testing.pcigeomatics.com/Forms/RequestGeoRasterLoader.php I have registered myself and received a download link. However, I am having ...


1

It turns out that I have successfully loaded a publicly available point layer on my home machine (Ubuntu 13.04) fairly quickly. (I used the CamaResPt.shp layer provided by DC GIS). This leads me to believe that an issue is actually being caused by VMWare (despite my earlier suggestion). In any event, this question is no longer relevant in its current form. ...


1

What is the the output of SELECT ST_Metadata(rast) FROM gids.exampletable LIMIT 1 The -t flag of raster2pgsql dictates the number of pixels along the X and Y axes for each tile. For your -t of 100x100, each tile will have dimensions of 100 x 100 or less.


1

It looks like shp2pgsql is not in your execution path. You need to edit your PATH to include the location of shp2pgsql


1

The behavior of groups using the API is different than in ArcMAP TOC. This is how I understand your layerIDs: a. LayerID0 LayerID1 LayerID2 b. LayerID1 c. LayerID2 d. LayerID3 e. LayerID4 If you turn on group layer (a), then all sublayers will be displayed. If you turn off group layer (a) but turn on layer (b) or (c) then only layers will display. ...



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