[mapserver-users] GetCoverage request and time-idexed coverage using postgis

2008-07-30 Thread Alexander Petkov
Currently I am using Mapserver version 5.0.2 I am getting the following error when I issue a GetCoverage request for a time-indexed coverage, using postgis for the indexing. ServiceException prepare_database(): Query error. Error executing POSTGIS

[mapserver-users] Re: GetCoverage request and time-idexed coverage using postgis

2008-08-01 Thread Alexander Petkov
= Any ideas as to what I might be doing wrong for using WCS with tile-indexed raster layers? TIA, Alex On Wed, Jul 30, 2008 at 3:32 PM, Alexander Petkov [EMAIL PROTECTED] wrote: Currently I am using Mapserver version 5.0.2 I am getting the following error when I issue a GetCoverage request

[mapserver-users] Re: GetCoverage request and time-idexed coverage using postgis

2008-08-14 Thread Alexander Petkov
I would like to clarify that the problem below is for using postgis-based tileindex for WCS GetCoverage requests (WMS GetMap requests work fine). I did some more poking around. In particular, I tried to use the postgis-based tileindex, but this time through the OGR driver: LAYER STATUS ON

[mapserver-users] wcs_timeposition: explicit listing or start/end range?

2008-08-15 Thread Alexander Petkov
I am trying to allow data downloads via a GetCoverage requests from a mapserver-backed web coverage service. From the documentation, it would appear that the wcs_timeposition in a layers' metadata section can specify the start and end time positions for the layer. wcs_timeposition *

Re: [mapserver-users] wcs_timeposition: explicit listing or start/endrange?

2008-08-15 Thread Alexander Petkov
to be explicit. If you file a bug I'll make sure this gets synced with the WMS implementation. Steve On 8/15/2008 at 10:49 AM, in message [EMAIL PROTECTED], Alexander Petkov [EMAIL PROTECTED] wrote: I am trying to allow data downloads via a GetCoverage requests from a mapserver-backed web coverage

[mapserver-users] GetCoverage and palette Geotiffs

2008-10-27 Thread Alexander Petkov
Would it be possible to preserve the original data in an image (number of bands, and Type, and color interp) in the result of a GetCoverage request? For example, I serve Paletted Geotiffs through mapserver: Driver: GTiff/GeoTIFF Files: /data/da/da122705.tif Size is 4587, 2889 Coordinate System

Re: [mapserver-users] GetCoverage and palette Geotiffs

2008-10-27 Thread Alexander Petkov
Hi Frank: Thanks for your reply. I'll try IMAGEMODE BYTE--if I remember correctly I tried it before and the results was a grayscale (although single band, yay!) image. I'll try to make it work for me. Alex On Mon, Oct 27, 2008 at 12:43 PM, Frank Warmerdam [EMAIL PROTECTED] wrote: Alexander

[mapserver-users] WMS GetMap for a GDALDataset?

2008-10-29 Thread Alexander Petkov
Is it possible to somehow have mapserver serve an in-memory dataset? For example, I do some comparative calculations b/n datasets using GDAL (with the result being a GDALDataset *), and would like to be able to show it via a WMS GetMap request, ideally without first storing the result to disk.

Re: [mapserver-users] WCS time support bugs

2008-11-05 Thread Alexander Petkov
On Mon, Nov 3, 2008 at 4:10 PM, Armin Burger [EMAIL PROTECTED] wrote: Hi everybody I wanted to test the time support functionality of WCS but this seems not to be working. There is an older bug report at http://trac.osgeo.org/mapserver/ticket/1856 but it seems this has not been fixed yet.

Re: [mapserver-users] WCS time support bugs

2008-11-05 Thread Alexander Petkov
On Wed, Nov 5, 2008 at 10:13 AM, Armin Burger [EMAIL PROTECTED] wrote: Alex I had a look at the code and tried the suggested fix. I uploaded a patch at the wiki, see this link http://trac.osgeo.org/mapserver/attachment/ticket/2487/mapwcs.c.patch With these modifications the PostGIS problem

Re: [mapserver-users] GetCoverage and palette Geotiffs

2008-11-10 Thread Alexander Petkov
On Mon, Oct 27, 2008 at 11:43 AM, Frank Warmerdam [EMAIL PROTECTED] wrote: Alexander Petkov wrote: Would it be possible to preserve the original data in an image (number of bands, and Type, and color interp) in the result of a GetCoverage request? For example, I serve Paletted Geotiffs

Re: [mapserver-users] Mapserver WCS - how to return native pixel resolution data?

2009-03-19 Thread Alexander Petkov
On Thu, Mar 19, 2009 at 2:59 PM, Roger André ran...@gmail.com wrote: You're right, 1/2 pixel offset is definitely present. What a pain. Any idea when the 5.4 stable release is expected?  I see that a beta release is available currently. -- This is the ticket I found relevant to the issue:

[mapserver-users] GIF format from legend mode

2009-04-06 Thread Alexander Petkov
How can I get the legend graphic of a layer in gif format (rather than PNG) using legend mode? WMS getLegendGraphic seems to do the trick with format=image/gif and I am wondering if I can achieve the same in legend mode. I tried with FORMAT=image/gif, as well as a few other variation, but the

Re: [mapserver-users] SV: Use of a Colortable

2009-04-16 Thread Alexander Petkov
On Thu, Apr 16, 2009 at 10:09 AM, Peter Rose peter_r...@hotmail.com wrote: Hi I have a MapServer connected to a MySQL server via PHP/MapScript based on the example in Bill Kropla’s book ‘Beginning MapServer Open Source GIS Develpment’, chapter 9. My data is therefore stored on the MySQL

[mapserver-users] Actual coverage data+colormap

2009-05-14 Thread Alexander Petkov
Is it possible to include the colormap from an image being served as a coverage through mapserver? In other words, definining BYTE or INT16 for the IMAGEMODE will provide the actual data from the raster (which is what I am after), but the colormap is discarded when the data is requested through a

Re: RE Rép. : [mapserver-users] color range mapping

2009-06-17 Thread Alexander Petkov
On Wed, Jun 17, 2009 at 11:41 AM, steve.tout...@inspq.qc.ca wrote: Thanks Simon, Where Is that documented? Is there more options available such as number of intervals? Steve Steve Toutant, M. Sc. Analyste en géomatique Secteur environnement Direction des risques biologiques,

Re: [mapserver-users] How to enter the projected coordinates in Postgis

2009-07-31 Thread Alexander Petkov
On Thu, Jul 30, 2009 at 8:57 AM, Suman Chatterjeeschatter...@addisontx.gov wrote: Hi, I have created 2 tables in postGIS and POSTGreSQL – in one, I am storing the GPS coordinates which are in the form of say lat= 32.4 and longitude = 72.45 ( which are in degrees) with SRID 2276 And in

Re: [mapserver-users] Can google earth skin format be converted by GDAL to be used within MapServer?

2009-08-03 Thread Alexander Petkov
Hi John: What is a google earth skin format? Thanks, Alex On Tue, Jul 28, 2009 at 10:11 AM, John Mitchellmitchellj...@gmail.com wrote: Hi, Can google earth skin format be converted by GDAL to be used within MapServer? Thanks, John J. Mitchell

[mapserver-users] Re: Actual coverage data+colormap

2010-02-05 Thread Alexander Petkov
to another page that does the subsetting, sets the content headers and streams the file. A very clumsy solution from a design point of view. Thanks in advance for any ideas :) Alex On Thu, May 14, 2009 at 1:37 PM, Alexander Petkov apet...@fs.fed.us wrote: Is it possible to include the colormap from

Re: [mapserver-users] Server Root

2010-02-20 Thread Alexander Petkov
Most likely the absolute path to example1-1.map is not correct and thus cannot be found by mapserv. If you do ls -alh /ms4w/apps/tutorial/htdocs/example1-1.map in a terminal window is it being listed? I am assuming that this can be done on a Mac, of course... Alex On Fri, Feb 19, 2010 at 5:52

Re: [mapserver-users] Mapscript Rasterquery returns empty result

2010-04-28 Thread Alexander Petkov
I'd try and narrow down the area in the code where the issue might be. More specifically, start working with a pair of coordinates (in the same CRS as your raster), for which you can look up the raster value by other means (say, use qgis or write short gdal code). Then, knowing what the end result

[mapserver-users] Re: Change the datapath for dynamically generated layers

2010-05-02 Thread Alexander Petkov
On Sun, May 2, 2010 at 2:26 AM, fedesanchez...@gmail.com wrote: Hi! I'm trying to create layers dynamically, but i do not know much about mapscript or how to use it with openlayers and mapserver... so i found your comment in -

Re: [mapserver-users] TIme support on mapserver 5.6.3, it's working?

2010-07-01 Thread Alexander Petkov
On Thu, Jul 1, 2010 at 6:27 AM, rai 8 max1...@gmail.com wrote: Hello, I've been working with mapserver to get a map with time support, time parameter, I followed the tutorial in documetation http://mapserver.org/ogc/wms_time.html and this post

Re: [mapserver-users] adding a palette to a greytiff

2010-07-07 Thread Alexander Petkov
For some reason I can;t get to the file you posted, so I have a few question. 1. Is your file indeed georeferenced? 2. The style definitions look good, the only thing I see missing are the class names. Not sure if that matters if you don't display a legend. 3. Have you got the map file working

Re: [mapserver-users] adding a palette to a greytiff

2010-07-07 Thread Alexander Petkov
http://www.megaupload.com/?d=K8SY5IP3you can try this if you want. Or can you try with a your image? Thanks again. Michele. --- *Mer 7/7/10, Alexander Petkov green...@gmail.com* ha scritto: Da: Alexander Petkov green...@gmail.com Oggetto: Re: [mapserver-users] adding a palette

Re: [mapserver-users] adding a palette to a greytiff

2010-07-07 Thread Alexander Petkov
again, Michele. --- *Mer 7/7/10, Alexander Petkov green...@gmail.com* ha scritto: Da: Alexander Petkov green...@gmail.com Oggetto: Re: [mapserver-users] adding a palette to a greytiff A: michele pierri pierm...@yahoo.it Cc: mapserver-users@lists.osgeo.org Data: Mercoledì 7 luglio 2010, 22

Re: [mapserver-users] Raster Layer Backgound Color

2010-09-16 Thread Alexander Petkov
Can you post the relevant snippet from your map file that shows what you have tried? Alex On Thu, Sep 16, 2010 at 9:18 AM, Mario Franco mario.fra...@ydreams.com wrote:  It's possible to change the background color of a raster layer where there isn't data, I tried the color and background

Re: [mapserver-users] Re: Reading raster data source dynamically

2010-10-26 Thread Alexander Petkov
Hey Roger: I am interested to find out if you have a solution to the problem you talked about below. Thanks, Alex On Thu, Feb 12, 2009 at 6:32 PM, Roger André ran...@gmail.com wrote: Or maybe creating a GDAL In Memory Raster and then pointing to it as the data source for the mapscript layer?

Re: [mapserver-users] Filter elements on multiple layers

2010-11-03 Thread Alexander Petkov
Hmm, I just tested this--it seems that you'd always get features where the envelopes for the results from each layer spatially intersect, (i.e. anything within the blue rectangle of your image). Alex On Wed, Nov 3, 2010 at 11:37 AM, Alexander Petkov green...@gmail.com wrote: You might have

Re: [mapserver-users] Filter elements on multiple layers

2010-11-04 Thread Alexander Petkov
.html I must add the BBOX of the whole map to the filter and I'll get all matches. Regards, Cathleen Von: Alexander Petkov green...@gmail.com An: leene leene...@yahoo.de CC: mapserver-users@lists.osgeo.org Gesendet: Mittwoch, den 3. November 2010, 20:30:39

Re: [mapserver-users] RE: Measure tool?

2010-11-12 Thread Alexander Petkov
Hey Bob, Do you already have the client-side code for user-drawn polygons? If so, what are you using? Like Steve mentioned, OpenLayers will do what you want, drawing of geometries included. Alex On Fri, Nov 12, 2010 at 8:49 AM, Lime, Steve D (DNR) steve.l...@state.mn.us wrote: MapServer and

Re: [mapserver-users] multi criteria visualization on vector

2010-11-12 Thread Alexander Petkov
The classes are fine for defining your 25 combinations to make them look the way you want to. To the question about your shapefile--you could keep as one shapefile and define you connection to the data as shown here: http://mapserver.org/input/vector/ogr.html Define a static filter at first to

Re: [mapserver-users] publish raster with integer pixel values

2010-12-13 Thread Alexander Petkov
Hi Simo: The table snippet you posted below looks like a histogram (ie how many pixels for each value), and in its form is not sufficient for a map display. Do you also have the geolocations for these pixels? Alex On Fri, Dec 10, 2010 at 2:26 AM, Simone Frigerio simone.frige...@univie.ac.at

Re: [mapserver-users] publish raster with integer pixel values

2010-12-13 Thread Alexander Petkov
On Mon, Dec 13, 2010 at 11:16 AM, Simone Frigerio simone.frige...@univie.ac.at wrote: Yes of course Alex, sorry I didn't include in the example. I can generate pixel geolocation, of course. Suggestion? You can use classes in your map file's layer declaration, where values within a certain

Re: [mapserver-users] Installling GDAL

2010-12-15 Thread Alexander Petkov
/usr/local/src/gdal-1.5.3/libtool: line 809: g++: command not found You need to install g++ BTW, why not try and compile the latest GDAL version, since you are compiling from source anyway? The 1.5.3 release is quite dated. Alex On Wed, Dec 15, 2010 at 11:03 AM, qazi iqbal

Re: [mapserver-users] Installling GDAL

2010-12-15 Thread Alexander Petkov
, etc. Do you know what is g++? g++ is the compiler needed to compile gdal, without it compile won't work. See here for building instructions: http://trac.osgeo.org/gdal/wiki/BuildHints Qazi On Wed, Dec 15, 2010 at 1:19 PM, Alexander Petkov green...@gmail.com wrote: /usr/local/src/gdal

Re: [mapserver-users] GDAL input formats

2011-01-05 Thread Alexander Petkov
Hi David: If gdal can read your rasters (gdalinfo will work for a quick and easy test), mapserver will too. Alex On Wed, Jan 5, 2011 at 1:46 PM, David Hildebrand david.hildebr...@afsc.ca wrote: Thanks, Jukka.  The second part of my question relates to floating point images.  I don't think

Re: [mapserver-users] WFS with 6.0.0 Beta RC2

2011-07-11 Thread Alexander Petkov
I am getting the same behaviour with Mapserver 6.0.0. Previous 5.6.* releases work fine with the same request. I am wondering whether I am missing some new required declaration since 6.0.0 was released... Alex On Mon, May 9, 2011 at 2:44 PM, Arnd Wippermann arnd.wipperm...@web.de wrote: Hi,

Re: [mapserver-users] WFS with 6.0.0 Beta RC2

2011-07-11 Thread Alexander Petkov
The interesting thing is that when a GET request is issued with the same filter, the GML for the feature is returned as expected. Does anybody have POST GetFeature requests working with Mapserver v6.0.0? Thanks in advance, Alex On Mon, Jul 11, 2011 at 12:34 PM, Alexander Petkov green...@gmail.com

Re: [mapserver-users] WFS with 6.0.0 Beta RC2

2011-07-11 Thread Alexander Petkov
r_WFS_Demo.asp?connectionOGR=trueSLDsrcIdx=8 Arnd -Ursprüngliche Nachricht- Von: Alexander Petkov [mailto:green...@gmail.com] Gesendet: Montag, 11. Juli 2011 22:45 An: Arnd Wippermann Cc: mapserver-users@lists.osgeo.org Betreff: Re: [mapserver-users] WFS with 6.0.0 Beta RC2

[mapserver-users] Unable to load php_mascript.so

2011-07-12 Thread Alexander Petkov
After upgrading to Mapserver 6.0.0, I am unable to load the new php_mapscript.so extension either from php.ini or my php file where I use mapscript. The attempt produces the following error output: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/php_mapscript.so'

Re: [mapserver-users] Color ramp a variable

2011-08-04 Thread Alexander Petkov
I use a workaround for this problem, where a premade color ramp graphic corresponds to a value range. Change the Single image to Compare Images in the drop down box, and then click the Update button on the bottom to update the map: http://maps.wfas.net/ The legend on the right is the result.