1,878 reputation
710
bio website ariasprado.name
location Spain
age 40
visits member for 4 years, 2 months
seen Jun 13 at 17:20

A not so young guy in northwest Spain working with MapServer, GeoServer, OpenLayers, GDAL, PostGIS, TileCache and related GIS stuff.


Nov
14
comment CGI mapserver with PostGIS layer: pass SQL WHERE clause in URL paramaters
Then I would try to get the lines you want using the request GetFeature of WFS; MapServer features WFS. One of the things this WFS request allows is filtering features by an attribute, like, for example, an id. This id could be given via an URL parameter.
Nov
12
comment How can I rotate a marker in OpenLayers
Although I don't know the example you are talking about (I have been unable to find it), I guess that it should work. I think it because with new code the vector layer will be populated with features; with the current code you don't have - from a programming point of view - features.
Nov
12
comment How can I rotate a marker in OpenLayers
A comment to the code you have posted. According to the OpenLayers documentation, using a layer of the class OpenLayer.Layer.Vector instead of the class OpenLayer.Layer.Marker is preferable (goo.gl/nco8y).
Nov
9
comment How to antialiase tiles when seeding a layer from an GeoTiff in GeoServer
Please, can you provide more details about your current setup? The problem could be, for instance, that you are generating GIF tiles; this image format only supports 256 different colors, which would be the cause of the tiles looking rough.
Oct
28
comment Add wfs layer to openlayers map
The very first step would be using a tool like Firebug to see the WFS requests your application is creating and check if it is receiving features from the WFS server as response.
Oct
27
comment Create different CSS for Two Buttons in One Control Panel
It seems you have two problems, one positioning the button and another one styling it. These problems must be solved separately. First I would forget about styling and just try to put the button's div where wanted. In the code you have posted I don't see anything dealing with button placement. You can find an example about it at goo.gl/JZ5Ro.
Oct
22
comment German coordinate system from Lat/Long
You can also search for a suitable coordinate system in spatialreference.org by typing 'germany' in the search form (spatialreference.org/ref/?search=germany).
Oct
9
comment How to use getfeatureinfo with MapServer and OpenLayers?
According to documentation (goo.gl/lSKKc), DUMP is deprecated in MapServer version 6 and later, not in MapServer version 5.
Oct
9
comment How to use getfeatureinfo with MapServer and OpenLayers?
Given that you are using MapServer 5, try to set DUMP to "true" in the LAYER object; by default, DUMP is set to "false".
Aug
25
comment Caching for dynamic layers
Please, could give an explanation about what you to mean with 'dynamic layers'?
Aug
25
comment How Mapserver deals with Huge Aerial Images
You are right, thanks for the correction! I have just edited the response.
Nov
30
comment Which Opensource products to use for Maprendering/Hosting?
I find this question too 'open'. Choosing one technology over another depends on a number of factors: personal tastes, the know-how already available in the organization, whether speed is that important...
Nov
12
comment Most pervasive GIS formats?
Yes, ECW is not ESRI's. My mistake.
Nov
2
comment Most pervasive GIS formats?
I would add ECW to the list of raster formats. If you work with big ortophotos, a raster format featuring partial decompression is a must. There is also MrSID, but I found ECW more used because it is ESRI's and this company's tools are almost ubiquitous in the GIS world.
Oct
19
comment Basic MapServer query of PostgreSQL/PostGIS database
Por performance reason, it is advisable that after the line 'CONNECTION', adding the line PROCESSING "CLOSE_CONNECTION=DEFER". Thus, established database connections will be reused instead of closing them (postgis.refractions.net/docs/ch05.html, section 5.1.1).
Aug
25
comment What is the fastest (performance-wise) way to serve PostGIS features?
I recommend the first option (WMS rendering on server side + cache). The WFS option implies that rendering will be done on client side. In my experience this is a problem for users having old web browsers or computers, a variable that you cannot control.
Jul
30
comment bulk upload shp to postgis
In case your PostGIS database uses a spatial index, create it after the data load is done. That is, in case the database has an spatial index before the bulk data load is done, drop it or the data load will likely be very slow.
Jul
28
comment Whats better for selecting? WMS or WFS
The maximum number of features will not only depend on the web browser, but also on the client computer features like the processor or RAM memory. Given that, you, the developer, do not know what client computer will run 'your' OpenLayers based map viewer, being conservative when estimating this limit is advisable.
Jul
24
comment ECW support in GeoServer?
To my understanding, the sentence you highlight only applies to the ECW JPEG 2000 Runtime, "files contained in the 'runtime' directory". To avoid misunderstandings, I will say that I have not used the files contained in the 'runtime' directory; instead, on an Ubuntu Linux server I have compiled compiled this library to add support to GDAL. In my opinion, this usage of the ECW JPEG 2000 SDK is allowed by the license agreement.
Jul
21
comment ECW support in GeoServer?
I disagree with the comment by user simone.giannecchini if he means that purchasing a license is needed. Currently I am using MapServer + GDAL to serve ECW data in a production system, legally and without any purchase. Download Earth Resource Mapping's ECW JPEG 2000 SDK - goo.gl/ZgmT0 - and read the file License.txt. There are three possible license agreements. One of them is "Use of the ECW JPEG 2000 SDK with Unlimited Decompressing and Limited Compressor (Less than 500MB) for use in any commercial or free application is governed by the 'ECW JPEG 2000 SDK FREE USE LICENSE AGREEMENT.'"