Home > geoserver > Geoserver WFS 2.0 CSV Output Multiple Features/typeNames

Geoserver WFS 2.0 CSV Output Multiple Features/typeNames

January 27Hits:4
Advertisement

I'm setting up an export function so that users may download data from a Geoserver WFS 2.0 service in a variety of the supported formats.

The service has multiple FeatureTypes which should be available for export in a single query (along with BBOX and attribute filtering).

For simplicity we are using a get request at this stage (more due to applications requirements).

I have a query like this:

http://www.myurl.com/wfs? service=WFS& request=getFeature& version=2.0.0& count=9999999999& typeName=a_prefix_here:feature_type_one,a_prefix_here:feature_type_two& outputFormat=csv 

The problem is: the data from feature_type_two is not included in the exported csv file (only exports the first feature)?

Confusingly though; feature_type_two's data is included when exporting to other formats, e.g. json, kml, xml?

Has anybody else had this issue?

Tags:csv, geoserver, wfs

Related Articles

  • Geoserver WFS 2.0 CSV Output Multiple Features/typeNamesJanuary 27

    I'm setting up an export function so that users may download data from a Geoserver WFS 2.0 service in a variety of the supported formats. The service has multiple FeatureTypes which should be available for export in a single query (along with BBOX an

  • How to add GeoServer wfs layer on OpenLayers?

    How to add GeoServer wfs layer on OpenLayers?March 4

    I can't seem to add a WFS layer like this. It works when i copy all this code locally but as soon as i change the values to point to my own layer within my own GeoServer this is the response viewed in firebug: Could not locate {http://www.mydomain.co

  • Oracle / GeoServer / WFS-T / Openlayers many polygons as one featureFebruary 26

    Newbie question regarding Oracle / GeoServer / WFS-T / Openlayers. I am creating a table that will hold geometry features a user creates/updates. My question is, I would like to have just one record in the table per customer (customerId). Can I creat

  • Geoserver WFS-T "Feature type 'Workspace:Layer' is not available" Error on update / deleteDecember 1

    I am using the following code for insert / update (changed from this source: http://wordpress-dbauszus.rhcloud.com/?p=71): var formatWFS = new ol.format.WFS(); // GML Format zur Interaktion mit WFS var formatGML = new ol.format.GML({ featureNS: 'http

  • Releasing GeoServer WFS-T Feature LockMay 24

    For some reason I'm having trouble finding any documentation about releasing feature locks in a GeoServer WFS (or any WFS for that matter). I can easily request a FeatureLock with a request like this http://localhost:8080/geoserver/wfs?service=WFS&ve

  • Geoserver WFS GetFeature returns no features when reprojecting PostGIS layerNovember 16

    I may be misunderstanding the GeoServer documents, but when accessing a GeoServer 2.2 WFS 1.1 layer, should I be able to reproject to an arbitrary SRS via the SRSNAME parameter? I'm generating a bounding box from the location of a click on a WMS map

  • Geoserver 2.1.3 no GetFeatureInfo-Response when multiple Features found on same location within same layerFebruary 19

    I have a Geoserver postgis layer with multiple point features on the same location. GetFeatureInfo returns results when only one feature is found. But Geoserver returns nothing (empty html) when several Features with different can be found. However,

  • Geoserver WFS get feature doesn't work - "SyntaxError: missing ; before statement"

    Geoserver WFS get feature doesn't work - "SyntaxError: missing ; before statement"December 3

    I'm trying to use geoserver WFS json for creating vector layer (instead of using WMS) because this is a layer I redraw every 20 seconds. This is the code I use : function getJSON() { var geoJsonUrl = "http://localhost:8080/geoserver/test/ows?service=

  • How to calculate distances from points to multiple features at the same time?October 29

    I have a point layer and I want to calculate the distance from each point to a number of line features (rivers, roads etc.). Using the "Near" tool I can do this for one feature at a time (eg rivers) and I get 2 new fields in the attribute table

  • What causes these geometry differences between original PostGIS data and Geoserver WFS?

    What causes these geometry differences between original PostGIS data and Geoserver WFS?January 4

    Why does GeoServer (v2.5.1) WFS layer (see red line/layer below) not overlay features of source PostGIS table or related WMS layer in QGIS (tested in v2.6 and 2.12)? All layers are defined in the same GCS (EPSG: 4326) (interstate Tiger shp data origi

  • geoserver wfs insert errorApril 27

    I keep getting an insert error from geoserver when trying to save a point, poly etc etc to my postgis table. any ideas, my code is below var Projection = new OpenLayers.Projection("EPSG:4326"); var map = new OpenLayers.Map("Map", { //p

  • How to delete multiple feature classes simultaneously?January 17

    I created a number of feature datasets to temporarily store the output of some ModelBuilder models. Each dataset contains several thousand feature classes, and the idea was that I could just delete the feature dataset when I was finished with the Mod

  • Allow GeoServer WFS request by featureIDApril 6

    I'm not able to use the featureID parameter in a WFS URL request for my dataset on GeoServer. Example: http://demo.opengeo.org/geoserver/wfs?version=1.1.0&service=wfs&request=GetFeature&typeName=topp:tasmania_roads&maxFeatures=10&featu

  • GeoServer WFS OpenLayers EditingPanel ProblemJune 13

    I'm trying to use OpenLayers to edit features of vector data served from a local geoserver. So far, I'm able to pull WMS and WFS layers using OpenLayers from the same geoserver. But now, I'd like enable editing of features of the vector layers. The r

  • What's the correct link for adding GeoServer WFS to ArcMap?

    What's the correct link for adding GeoServer WFS to ArcMap?January 27

    What is the correct URL to enter in ArcCatalog WFS Parameters when adding a WFS layer from GeoServer into ArcMap? Here's a link to our Get Capabilities document: https://weaveprod.ucdp.utah.edu/geoserver/ows?service=wfs&version=1.0.0&request=GetCa

  • Writing list of feature classes with fields to one csv file per feature class?July 9

    I have a database with multiple feature classes. Now I extracted a list of feature classes and a list of fields. I figured out how to write the list of feature classes and the corresponding fields to csv. But the csv file gets really long. Instead I

  • Geoserver WFS - Can I Pass in Filter Parameters via the URL?August 13

    I'm trying to use PHP's CURL function to fetch geoJSON information from a GeoServer instance. I'm doing this using url variables rather than trying to construct a full xml GetFeature request. However, I would like to be able to get a subset of the re

  • Problem saving added point to GeoServer WFS-T via OpenLayers?

    Problem saving added point to GeoServer WFS-T via OpenLayers?August 20

    I want to add a point and then with WFS-T, save this to db. I work with Openlayers and GeoServer. saveStrategy = new OpenLayers.Strategy.Save(); wfs = new OpenLayers.Layer.Vector( "WFS Vectore", { strategies: [new OpenLayers.Strategy.BBOX(), sav

  • GeoTools WFS Query sortBy not working for GeoServer WFSFebruary 17

    I am using GeoTools to query a GeoServer WFS using the following code: Map connectionParameters = new HashMap(); connectionParameters.put("WFSDataStoreFactory:GET_CAPABILITIES_URL", String.format("%s&request=GetCapabilities", wfsUr

  • Create New Feature Class Based off Multiple Feature Classes

    Create New Feature Class Based off Multiple Feature ClassesMarch 24

    I've searched previous posts to see if anyone asks a similar question, but I haven't found anything. I have a multiple feature classes, each containing multiple polygons. I have two desired outcomes: A) I would like to find any easy way to create a n

Copyright (C) 2017 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 0.876 s.