Tag Info

New answers tagged

0

OpenLayers is only the javascript API. What server do you use underneath to access the Oracle database ? Is that GeoServer ? Something on the path to the database clearly thinks it should write geometries in 3D, setting all Z to 0. That will of course fail as you observe since the database table is 2D. It could be the OpenLayers editing. Could be the app ...


0

fwiw enable-cors.org is a great general resource for server or client configurations, in case you are deploying with Tomcat, for example.


1

Well, you can use the geoserver curl interface to add the layers that you want. You can write simple commands to run against that, targeting your server. If it's a shapefile, upload it to the place where you want (possibily the same server as GeoServer) and use cURL. After that, you can use management command in geonode called updatelayers. It pools ...


1

You may use geoconfig python module: gsconfig is a python library for manipulating a GeoServer instance via the GeoServer RESTConfig API. Documentation Here is a similar Q/A that may help too: Python Geoserver gsconfig create resource from Postgis store table


1

Got it working using the fmi package in R. https://github.com/rOpenGov/fmi/blob/master/vignettes/fmi_tutorial.md


1

Have you tried the fmi R package from rOpenGov? This is an example partly from their tutorial and ran for me just fine: install.packages(c("devtools", "sp", "rgdal", "raster")) # if you haven't library(devtools) install_github("rOpenGov/rwfs") install_github("rOpenGov/fmi") library(fmi) library(sp) apiKey <- "ENTER YOUR API KEY HERE" request <- ...


1

You can check the code out of the repository and do pretty much anything you like with it. You might also want to look at the GeoTools code that underlies much of the GeoServer code. GeoServer code is licensed under the GPL - so there are some restrictions on what you can do with it, mostly related to releasing programs without releasing your changes to ...


1

We have implemented WFST plugin here: https://github.com/Flexberry/Leaflet-WFST It supports reading GML and GeoJSON data, and can send transaction requests (insert, update, delete).


0

By looking at the section B.8 KVP Examples in the WFS 2.0 standard your request is mostly correct. According to the example everything should be enclosed inside "Filter" but Geoserver does accept the filter even without it. FILTER=<Filter><Within><PropertyName>InWaterA_1M/wkbGeom<PropertyName> ...


0

Here is a working jsfiddle http://jsfiddle.net/expedio/8r1ncv6a/ I posted while answering following question: How to add Geoserver WFS to Leaflet JS Application To test if your geoserver is supporting jsonp yet just have a look at the preview section of your GeoServer installation.


-1

In your geoserver directory locate the web.xml file (should be here: geoserver\WEB-INF) and add the following just above </web-app> at the end: <context-param> <param-name>ENABLE_JSONP</param-name> <param-value>true</param-value> </context-param> and here is a working example: var owsrootUrl = ...


0

Hi your url should be : /geoserver/workspaceName/wfs?request=GetFeature&version=1.0.0&typeName=storeName:layerName&outputFormat=json Keep the default style for now, If this doesn't work you should see an error message in your console, which will help you out!


0

You could enable CORS on the Apache Server. In practice this is faster than using a ProxyPass. Enabling a Catalina filter on Apache Tomcat is very simple. Including restart this should be done in 2 minutes. Here is a link for enabling CORS on Apache Tomcat. I used the same article to enable CORS on my own dev Geoserver hosted on Openshift.


0

Create an Apache ProxyPass ProxyPass /geoserver http://localhost:8080/geoserver ProxyPassReverse /geoserver http://localhost:8080/geoserver and then use /geoserver in your javascript code.



Top 50 recent answers are included