Reputation
352
Top tag
Next privilege 500 Rep.
Access review queues
Badges
2 22
Impact
~28k people reached

  • 0 posts edited
  • 0 helpful flags
  • 32 votes cast
Mar
22
awarded  Self-Learner
Nov
24
comment reverse proxy on geoserver
So all Geoserver tricks did not work, CORS filter nor proxy. Plus, I dont usually deploy unofficial solutions. So I used a reverse proxy from node, to Geoserver, with this middleware and works just fine.
Nov
24
comment reverse proxy on geoserver
On Geoserver (2.8.0) I also tried unofficial things like first answer here or unofficial proxy. I tried stupid things like copy the old proxy code from Geoserver (2.1.3) web.xml to Geoserver (2.8.0) web.xml. Also on Geoserver (2.8.0) I added http://localhost:8080 on the Proxy Base URL under Global, Settings in the Geoserver (2.8.0) console. Nothing. Either a broken Geoserver, or errors or no proxy.
Nov
24
comment reverse proxy on geoserver
Thanks for the answer. The gmane link is broken, I get The web interface is down for maintenance.As for your solution, you talk about a CORS filter, not a reverse proxy. Anyhow, I was looking for an official solution provided by Geoserver or Jetty. The official CORS solution suggests adding servlets for Jetty7, Geoserver runs Jetty 6 and Jetty 7 to 8 is now EOL
Nov
1
comment How to update url parameters (CQL_FILTER) in OpenLayers 3
@erilem This a nice, clean code. I have one question. How changeFilter automatically updates the layer, since the definition of clear states that "Remove(s) all features from the source.". So how new data is loaded and how the layer gets updated, just by clear? Thanks
Nov
1
comment How to make a wfs request to Geoserver with Openlayers 3
Hi. This is nice information, but can you please write an example with all your full code, so I can clearly understand how you set the layer and the WFS and the filter? Thanks
Oct
31
comment OpenLayers 3 modify end event
You should specify that modify is the name of the Modify Interaction and that your modifyend code comes after defining the Interaction : first var modify = new ol.interaction.Modify({ features: select.getFeatures() }); and then your code. select is the name of my Select Interaction. Also a developer can do e.features.getArray()[0].getGeometry().getCoordinates() or e.features.getArray()[0].getGeometry().getType() to get the coords or the type. Nice answer anyway dude.
Oct
25
awarded  Popular Question
Oct
21
answered Get Center of Geometry in OpenLayers 3
Oct
21
comment Get Center of Geometry in OpenLayers 3
@Joel Hey, now it is. OL version 3.9.0 has ol.extent.getCenter and its stable. For example, I did var aa = e.selected[0].getGeometry().getExtent(); var oo = ol.extent.getCenter(aa); and gave me the center of points, lines and polygons. Check it out here
Oct
16
comment Cannot get Openlayers 3 WFS vector layer from Geoserver
Οκ φίλε. (Hope I got it, I guess you are Greek, I am too) Thanks for the help
Oct
16
comment Cannot get Openlayers 3 WFS vector layer from Geoserver
Wait. What is Ext.Ajax.? Why dont you just do $.ajax(url, {type: 'GET'}).done(....).fail(....); Thanks
Oct
16
comment Cannot get Openlayers 3 WFS vector layer from Geoserver
I guess loader and url do the same job, but url has less options, just loads the data without leaving any room for manipulating them first. Nice answer
Oct
16
accepted Cannot get Openlayers 3 WFS vector layer from Geoserver
Oct
11
asked Cannot get Openlayers 3 WFS vector layer from Geoserver
Oct
11
accepted transform geometry PostGIS column with unknown geometry type
Oct
10
comment transform geometry PostGIS column with unknown geometry type
After the reprojection, do I have to set the CONSTRAINT again like ALTER TABLE jake ADD CONSTRAINT enforce_srid_geom CHECK (st_srid(jake_geom) = 4326); ? Thanks
Oct
10
asked transform geometry PostGIS column with unknown geometry type
Oct
10
asked wmts layer in Openlayers from Geoserver
Oct
9
comment layers don't match on OpenLayers
@Mintx If I go here and transform from 900913 to 3857 the coords are identical. The new problem is when I try to do var textent = ol.extent[2297128.5, 4618333, 2459120.25, 4763120]; layers fit, but the map is not zoomed in correctly to the defined area and I get Uncaught AssertionError: Assertion failed: invalid extent or geometry from OpenLayers. Any tips?