Tag Info

New answers tagged

0

As geoserver is fully compliant to WFS, including the "Transactional WFS" level of service. You can provide a running instance with GML to write to its storage with any WFS-T client. More info about this capability of geoserver is available here: http://docs.geoserver.org/latest/en/user/webadmin/services/WFS.html If you need an open source WFS-T ETL tool, ...


1

Fixed it by adding the ogc: namespace to: PropertyIsEqualTo, PropertyName and Literal: <wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs" xmlns:ogc="http://www.opengis.net/ogc" service="WFS" version="1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wfs ...


3

I think I'd probably look to download the data into Postgres using ogr2ogr then look at TileStashe for serving the vector tiles. Docs for ogr2ogr WFS driver: http://www.gdal.org/drv_wfs.html @underdark wrote about using ogr2ogr: http://anitagraser.com/2012/09/26/wfs-to-postgis-in-3-steps/ There are some pointers for configuring TileStashe here: ...


0

Take a look at the code below. Full code in git repository can be here: https://bitbucket.org/bugramovic/fme_arcobjects_interop_example PrintStream out = System.out; FMEWorkspaceFactory fmeWorkspaceFactory = new FMEWorkspaceFactory(); IPlugInWorkspaceHelper plugInWorkspaceHelper = fmeWorkspaceFactory.openWorkspace( pathToFdlFiles ); ...


0

I found the issue! It was because the workspace was in uppercase in GeoServer. I convert to lowercase when I set the parameter in the protocol object and now it works. I don't know the reason, may be this is a bug?


2

You could use a hidden form to realize that: Button to start the Download: <input type="button" value="Download Layer Streams as Shapefile (ZIP)" onclick="shapedownload('og:streams')"> Function to be called: function shapedownload(layername) { var form = document.createElement("form"); form.method = "POST"; form.action = ...


0

I had a similar problem, when my data contained nulls geoserver did not load the data at all. I could only resolve this by replacing nulls with "null" (convert to String) before loading it to mongodb.


0

OWSLib supports WFS even if the website doesn't necessarily reflect this (documentation help is appreciated!). Check the WFS doctests for examples. A more complete implementation is pywoudc, which uses OWSLib's WFS support to provide a high-level Python API with GeoJSON. Of course this only covers the WFS client part of the use case. Your code would need ...


0

Delete comment in httpd.conf line: mod_proxy.so and mod_proxy_http.so This modules operate proxy. And of course restart Apache.


1

There a two or three possible reasons that come to my mind: Option1: your Webserver is not configured properly: What happens for example if you try to access this site(presuming that you put your proxy.cgi in your usr/lib/cgi-bin -folder): http://yourserver_ip_or_adress/cgi-bin/proxy.cgi?url=http://www.openstreetmap.org If you wont see the ...


3

The Problem lies in your use of url, which in OL3 seems to expect only static files, i.e. url = "/static/data/geojson.json". To fill your map with dynamically loaded data use ajax calls and the ol.source.Vector.addFeatures method: var vectorSource = new ol.source.GeoJSON({ projection: 'EPSG:4326' }), $.get( ...


1

After some digging I find out a GetSpatialReference method for the Geometry class (note the different name to the GetSpatialRef method in the Layer class). So the code should follow something like: $ python Python 2.7.6 (default, Mar 22 2014, 22:59:56) [GCC 4.8.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> ...


0

have you looked at this answer? GeoServer 2.3 how to enable jsonp. Depending on your version of GeoServer you may have to edit web.xml


0

The problem with the window.setTimeout function is it reloads the whole page. If you want to reload only the layer data you can use this : var timer = null; var vectorSource = new ol.source.ServerVector({ format: new ol.format.GeoJSON(), loader: function(extent, resolution, projection) { if (timer != null) { ...


0

Try to change the dataType in your ajax request to 'jsonp' The documentation indicates callback—Applies only to the JSONP output format.



Top 50 recent answers are included