Tag Info

New answers tagged

1

How about using GDAL_Grid? Just pass the arguments over to GDAL and return the raster file or render it in the web browser. It does IDW, Nearest neighbor, and averaging and has a robust set of input parameters.


0

I don't know any web client with an out of the box time slider for WMS-T layers. WMS dimension is strangely a property of the WMS protocol that is lacking in many tools I used. I developed a solution to handle all dimensions (time and others) based on OpenLayers. You can find it here : WMS dimension example The layer in this example is defined in Mapserver ...


0

Check the Geoserver response headers in Firebug/Chrome Dev Tools Network tab to see if Acces-Control-Allow-Origin: * header is really there. If not, the problem is on the servlet container side. Or maybe, if the application is internal, set up a proxy on primary webserver rather than enabling CORS? The latter will make more sense if your Geoserver was going ...


2

You should look go to the Geoserver download page http://geoserver.org/download/. There, select the version of Geoserver you are using. At the bottom of the page, you will see the extensions. Listed under Vector formats, you will find the Oracle one. Download the zip file, it contains the dependencies you need to copy to WEB-INF/lib dir, including the ...


1

I found the correct version! It is jetty-servlets-9.2.2.v20140723.jar. Thanks.


0

I've found solution (or solution found me by itself) If I'll edit style of layer cache of this layer is truncated, but only this layer - not groups of layers with this layer in it... So this is exactly what I need... I hope this is not a BUG and noone will reapir it :) Posting answer maybe someone will find it usefull.


0

So I looked for similar issues in the bug report section and found a similar discution. Adding this arg to the startup.bat seems to fix it for me... -Dorg.geoserver.wms.featureinfo.render.enabled=false http://jira.codehaus.org/browse/GEOS-6572


0

its difficult to know what is going wrong without all your code. If you dont define a map size, you can try to do it before calling map.zoomToExtent() map.size = new OpenLayers.Size(1125,745);


1

For using geoserver-manager with Maven, follow this: https://github.com/geosolutions-it/geoserver-manager/wiki#working-with-maven Looking at your post, you declare a dependency instead of a repository, and the log indicates that some class is not found, which may indicate geoserver-manager is not found on your classpath. Check your pom.xml is valid, and ...


0

You have done the right things for reducing the search distance. On the server side the default buffer is set from the layer settings with "Default Rendering Buffer" parameter. Clients can override this setting by adding a vendor parameter "buffer" http://docs.geoserver.org/stable/en/user/services/wms/vendor.html#wms-vendor-parameters. You can test the ...


0

I'm not sure if your question is adequate because it's not really specific or clear. Any way I suggest you: 1) Simplify your code. Start with just one layer e check if it is working. Add a second and check again. Do the same for all your layers. 2) Do not let you error option in the ajax function empty. At least include a console.log so you can see what is ...


0

MapStore http://mapstore.geo-solutions.it/mapstore/ by GeoSolutions seems to have all the necessary components but perhaps they have not been packaged to a readily available installation package. From the demo gallery this weather portal has a time slider http://geoportale.lamma.rete.toscana.it/MapStore/public/?locale=en This one has calender views for ...


0

You can get attribute information by simply adding this control. new OpenLayers.Control.WMSGetFeatureInfo({ autoActivate: true, infoFormat: "application/vnd.ogc.gml", maxFeatures: 5, eventListeners: { "getfeatureinfo": function(e) { var items = []; Ext.each(e.features, function(feature) { items.push({ ...


0

Because the only attribute in the selected data is count you can't make different colors with one SLD by using filter. I believe that the only alternative is then to have two basic styles which use different default styles. You can configure named styles on server side and select them with WMS url as &Sex=Male&styles=male. Or you can add the whole ...


0

Most time sliders aren't animating bitmap map images from a WMS or tile server. They are animating points that are being rendered as points (markers, SVG, Canvas) on the client side. For an animation to be effective the client needs to have all of the data available before it begins the animation. If it has to go back to the server for anything it the delay ...


1

There are many open source software and approaches for your question but I suggest options: GeoServer (www.geoserver.org) - Webmapping server developed in Java by OpenGeo. You can find lots of documentation online (look for the tutorials in the OpenGeo site). GeoServer has a very friendly admin interface so you can install and start publishing your geo data ...


2

You can try this, http://lib.heron-mc.org/heron/1.0.3/examples/timeslider/index.html This example has an amazing slider, Hope it meets all your requirements. UPDATE : Another Good Example: http://timemap.googlecode.com/svn/tags/2.0.1/examples/kenya.html


0

The crossOrigin-setting does only (?) exist for ol.source.TileImage. (http://openlayers.org/en/master/apidoc/ol.source.TileImage.html - untick "Stable only" in the upper right corner). ol.source.GeoJSON doesn't have a crossOrigin setting, because you can't access JSON via a cross-site requests. You have different ways around this: use a web proxy for ...


0

Probably the answer from Jakub Kania is more elegant but your approach it's correct. I really don't understand why are you using st_difference but I try to make one query from your approach (not tested). create table splited_polygons as SELECT p.id, p.nom, foo.distance, (ST_DUMP(st_intersection(foo.geom, p.geom))).geom::geometry (Polygon, ...


2

OK - I pasted the SLD you supplied in to GeoServer - first it helpfully points out that you are missing the closing tags for </NamedLayer> </StyledLayerDescriptor> at the end. Once the XML is complete it complains about line 46: cvc-complex-type.2.4.a: Invalid content was found starting with element 'ogc:Filter'. One of ...


0

At a glance it seems your calling this function: evt.getCoordinate() var coordinate = evt.getCoordinate(); But to actually get the coordinates you should use this line instead var coordinate = evt.coordinate; Hope this helps


0

You have such a tool in your GeoServer layer preview OpenLayers app. It creates GetFeatureInfo request when you click at your map. It does not make a popup but shows info below the map. The Openlayers control is here http://dev.openlayers.org/docs/files/OpenLayers/Control/WMSGetFeatureInfo-js.html and a demo is here ...


1

Edit the bounding boxes of the layer manually with the GeoServer admin utility to cover some reasonable area. The BBOX that is automatically calculated from data for a single point is also just a point and that's the reason for your trouble. You can either feed a new Lat/Lon Bounding Box directly or alternatively enter numbers into Native Bounding Box and ...


2

Well that was easy...My issue was I had my line and casing grouped in the FeatureTypeStyle. The fix was to group the rules for the road in one FeatureTypeStyle and the casing in another. See below: <FeatureTypeStyle> <Rule> <MinScaleDenominator>50000</MinScaleDenominator> ...


3

When stacked symbols are only separated by the <Rule> tags, the order in which they appear on the map is random. You need to separate them using <FeatureTypeStyle> tags. Symbols at the top of the SLD will be drawn first, so for your road example you should put the road casing first followed by the road fill. E.g. <FeatureTypeStyle> ...


1

Ref: http://leafletjs.com/reference.html#icon pointToLayer: function(feature, latlng) { var smallIcon = L.icon({ iconSize: [27, 27], iconAnchor: [13, 27], popupAnchor: [1, -24], iconUrl: 'leaflet/icons/' + feature.properties.pcp + '.png' }); return ...


0

You are using a rather old guide, you should always use the latest guides on http://geonetwork-opensource.org/ I am not familiar with this installation of geonetwork, but there are some things you can check. It is complaining because the database (h2 database) which should be created on ~/.geonetwork/geonetwork is not correctly configured. If you really ...


1

Something went wrong during deploy. More information is needed to help out: which OS which version of GeoServer which type of release (exe on win, cross platform bin, etc... ) Simone.


1

SOLVED So here's what I did, and it finally works. yay First, I created a sld file and saved it to the some folder in PHP: $sld = "sld_here.."; $temp_link = sys_get_temp_dir()."/"; $tmpfname = tempnam($temp_link, $map_name); file_put_contents($tmpfname, $sld); echo $tmpfname; Then the file url is passed to JS using AJAX and set it to the layer using ...


2

To have a better idea we would need you to send over the output of the gdalinfo on those images. I suspect that these are 16 bits images hence geoserver is applying contrast stretch on the fly to them depending on the local histogram to equalize them on bring them on 8 bits. You need to play with the rastersymbolizer parameters to improve the situation or ...


1

There seems to be a bug in the QGis SLD export function: <ogc:Literal>-<ogc:Literal>0.463182</ogc:Literal> --> fail! <ogc:Literal>-0.463182</ogc:Literal> --> pass! BUT I overlooked some of the still existing <ogc:Literal>-<ogc:Literal> in my code :). Via the help of the Geoserver mailing list ...


0

I was testing with GeoServer 2.6-RC1. Version 2.4.x is very soon out of maintenance so I did not feel like playing with it. I apologize it you can't update yet. First thing that I learned is that you must PUT the whole datastore configuration file and not only the changed parts. Second lesson was that the configuration file does not look the same in ...


3

See this GeoServer ticket and others which are referred in it http://jira.codehaus.org/browse/GEOS-2935. Support for compound curves etc. is a brand new feature in GeoServer and for the first time available in version 2.6-RC1. Great news it that you can test it immediately and perhaps send feedback to geoserver-users list before GeoServer 2.6 will be ...


0

This might be due to geometry format requested from SQL Server. If you allow for SQL Server to provide the native format this will be faster than using WKB generated by SQL server. A way of avoiding this was introduced in Geoserver 2.3.1. Read the release documents for more information.


1

If the WFS support is enabled on your GeoServer you can check the schema of the layer with DescribeFeatureType http://demo.opengeo.org/geoserver/wms?service=WFS&version=1.0.0&request=DescribeFeatureType&typename=topp:states All the information of all the columns in XML so that you can parse it? Read all the data with WFS GetFeature ...


0

If you could not find the solution yet here is one: http://gis.xyz/leaflet.html# var owsrootUrl = 'http://217.8.255.188:8080/geoserver/opengeo/ows'; var defaultParameters = { service : 'WFS', version : '2.0', request : 'GetFeature', typeName : 'opengeo:evernote_geom', outputFormat : 'text/javascript', format_options : ...


1

Roads are usually rendered with a case colour in first run and a smaller fill colour inside to get nice fittings at road junctions. And you have to choose line widths for almost every zoom level. You will have to do a lot of extra calculating if you want to achieve that with offsetted lines.


2

Betwween two different stand alone Geoserver's data directory migration available here Migration of data directory betwwen geoserver's


0

You could use the imagemap extension to do this. Once you have read the instructions go to http://sourceforge.net/projects/geoserver/files/GeoServer/2.5.2/extensions/geoserver-2.5.2-imagemap-plugin.zip to download the extension. Obviously you will need the version that matches your installed GeoServer.


1

To do that you can use the Leaflet.markercluster plug-in here https://github.com/Leaflet/Leaflet.markercluster. After adding it to your project, you have to define a marker cluster group: var markers = L.markerClusterGroup(); Then, you should first add the markers to this cluster group and after that you have to add the group to the map: ...


0

The answer is, do not log in to the geoexplorer and the geoserver at the same time from the same browser... It completely confuse the privileges...


2

Problem solved. I was ignorant to the fact that they're cascading so I completely trusted those auto-generated .slds. The most general rule had to come first. Thanks everybody. By the way, if someone is interested how I extracted the SLDs - I did it with the trial version of Arc2Earth. It only allows you to do that layer by layer, but at least it's ...


0

I found out what caused it. I had to remove all semi-colons from all queries, both from the jdbcconfig.properties file as well as from the initdb.oracle.sql file.


1

Simply parse your shp file into geoJSON and parse it to a vectorlayer Look here: https://github.com/wavded/js-shapefile-to-geojson


1

The base dataset is in RGB format but the issue is caused when one layer is not visible due to Min/MaxScaleDominator in the SLD. If you check the two layers individually using GDALinfo I believe you will find that the format of the blank tile has been changed by GeoServer and is now RGBA whilst the visible tile is still in the original RGB. We think it is ...


2

Check if the source data uses paletted colours. You can not reproject them easily, because interpolating paletted colours will fail. Convert the source data to RGB or RGBA, and the interpolation during reprojection will deliver good looking results. Furthermore, check if NODATA value conflicts with any used colour.


0

Thinking out loud here. I am afraid this behavior cannot be changed as it is part of the inner integration code between GS and GWC, th I will think more about it and then I'll let you know. Simone.


0

Ciao, this behaviour is actually strange, aside from possibly being a bug I would suggest you to do the following checks: -1- make sure that the service has enough rights to write in the location where the data dir is placed. If the service user cannot correctly interact with the filesystem then you can have problems at runtime when adding data i.e. ...


2

Problem solved. I had to add a New Rule to the Advanced Firewall Settings for opening port 8070 for inbound traffic.


0

This GeoServer version 2.5.2 has got to be one of the most bug-prone software I have ever used! I finally figured out why it was not creating the layer. First of all, it creates a folder with an incomplete file (workspace.xml): ...\Program Files\GeoServer 2.5.2\data_dir\workspaces\cite\test1 Then the trick to it is, once you click on the "publish" link ...



Top 50 recent answers are included