minisaurus
  • Member for 9 years, 7 months
  • Last seen this week
OpenLayers - possible to display detailed GIS data?
2 votes

I've worked out I need to serve this polygon layer as WMS - which I've done with geoserver - now loading reasonably quickly. Mini

View answer
Create a polygon using GDAL to calculate the points
1 votes

Found this post: algorithm-for-offsetting-a-latitude-longitude-by-some-amount-of-meters, and reworked my example, which now reads like this: # factor = 111,111 meters (+ 00 to get centimetres) factor ...

View answer
Ogr2ogr - shape to postgis - is there a way to use and preserve an existing primary key?
1 votes

I've managed to get the field acting as an autoincrement - by reading this https://stackoverflow.com/questions/9490014/adding-serial-to-existing-column-in-postgres and then simplyfying the sql: ...

View answer
Openlayers2 how to display WFS with projection other than EPSG:4326
1 votes

Ok, it turns out that OpenLayers 2.x can't see the proj4.js I'd downloaded (from here) ... So, I downloaded pro4js.js v1.1.0 (note the extra 'js') from here: http://trac.osgeo.org/proj4js/wiki/...

View answer
PostGIS package problem on Ubuntu 12.04.2 LTS
1 votes

Seemed to be the Ubuntu GUI upgrade that was the problem. Solved it by: 1: sudo apt-get update 2: sudo apt-get upgrade There was an error fetching the ubuntu-gis-unstable ppa tho' Mini

View answer
OSM Buildings - problem adding .obj file
0 votes

I updated the version of OSM buildings to 4.1.1, and now the object is displayed, and there is no error :) <link href="https://cdn.osmbuildings.org/4.1.1/OSMBuildings.css" rel="...

View answer
Converting multipoint layer to point using PostGIS?
0 votes

I've done it but can't remember all the steps unfortunately: ogr2ogr table to PostGIS created a new table as a copy of this table's structure dropped the geometry column in the new table created a ...

View answer
OpenLayers 3 Geoserver GeoWebCache WMS tile alignment issue
0 votes

Ok, sorted it now - thanks to @iant :) By using the /geoserver/gwc/service/wms endpoint and following this example: https://openlayers.org/en/latest/examples/wmts-layer-from-capabilities.html, I ...

View answer
How can I print Openlayers with base OSM and Geoserver WMS layers?
0 votes

I've just done this: Downloaded html2canvas.js (https://github.com/niklasvh/html2canvas/releases) Downloaded html2canvas-proxy.php(https://github.com/adjdred/html2canvas-proxy-php) Installed them ...

View answer
OpenLayers load WFS vector layer: how to check whether all features are returned from server?
0 votes

If you only want to do a loading mask (without checking for errors) you can use the 'loadend' event: layer.events.register('loadend', olLayer, function () { turn off your loading mask });

View answer