Re: [mapserver-users] Rewarping/Reprojection with GDAL and -wo EXTRA_SOURCE parameter

2013-12-19 Thread Heiko Schröter
=600 -- --- Dipl.-Ing. Heiko Schröter Institute of Environmental Physics (IUP) phone: ++49-(0)421-218-62092 Institute of Remote Sensing (IFE) fax: ++49-(0)421-218-62070 University of Bremen (FB1) P.O. Box 330440

Re: [mapserver-users] Rewarping/Reprojection with GDAL and -wo EXTRA_SOURCE parameter

2013-12-18 Thread Heiko Schröter
. -Ursprüngliche Nachricht- Von: Heiko Schröter [mailto:schro...@iup.physik.uni-bremen.de] Gesendet: Dienstag, 17. Dezember 2013 21:01 An: Eichner, Andreas - SID-NLKM; mapserver-users@lists.osgeo.org; Heiko Schröter Betreff: Re: [mapserver-users] Rewarping/Reprojection with GDAL and - wo EXTRA_SOURCE

Re: [mapserver-users] Rewarping/Reprojection with GDAL and -wo EXTRA_SOURCE parameter

2013-12-18 Thread Heiko Schröter
-Ursprüngliche Nachricht- Von: Heiko Schröter [mailto:schro...@iup.physik.uni-bremen.de] Gesendet: Mittwoch, 18. Dezember 2013 12:19 An: Eichner, Andreas - SID-NLKM; mapserver-users@lists.osgeo.org Betreff: Re: [mapserver-users] Rewarping/Reprojection with GDAL and - wo EXTRA_SOURCE parameter

[mapserver-users] Rewarping/Reprojection with GDAL and -wo EXTRA_SOURCE parameter

2013-12-17 Thread Heiko Schröter
Hello all, we need to rewarp epsg:4326 to polar i.e. +proj=ortho +over +lon_0=0 +lat_0=90 +ellps=WGS84 +datum=WGS84 +units=m +no_defs for satellite data projection. The problem is that not enough data are read from the source raster image and the map is cutout at the poles. gdalwarp can be

[mapserver-users] Retrieve function values from Postgres

2012-12-11 Thread Heiko Schröter
Hello, is it possible for mapserver to question a function in a postgres geo database ? i.e. this query string inside postgres works: select * from get_aerosol_data('gas_db', 25.5, '2005-3-2 00:00', '2006-3-5 00:00'); If it is possible how to translate this into mapserver mapfile syntax ?

[mapserver-users] WMS Client does not recognize wms_extent

2010-04-14 Thread Heiko Schröter
Hello, mapserver seems not to take wms_extent into account when receiving raster images via WMS. According to the docs this tag should take precedence over all others. Case 1, SRC Projection = DST Projection : a) Images are displayed correctly when read via DATA statement.

Re: [mapserver-users] Dynamically generated Raster images in mapfile

2010-04-12 Thread Heiko Schröter
Am Donnerstag 08 April 2010 14:56:33 schrieb Jörg Thomsen: Any ideas why images via DATA are positioned differently to images recieved via WMS client ? Pointer to source code locations also welcome ... Heiko thanks a lot for the suggestions. I will give the WMS suggestion a first try.

[mapserver-users] Scaling and Postioning problems with Mapserver as WMS client (was: Dynamically generated Raster images in mapfile)

2010-04-12 Thread Heiko Schröter
Hello, images are not scaled and positioned correctly when mapserver is working as WMS client. After some grok debugging the symptom bubbled up in mapraster.c. But to my best knwoledge i think the real issue is in mapwmslayer.c where the setup of the picture limits and/or the resampling logic

Re: [mapserver-users] Dynamically generated Raster images in mapfile

2010-04-09 Thread Heiko Schröter
Am Donnerstag 08 April 2010 14:56:33 schrieb Jörg Thomsen: thanks a lot for the suggestions. I will give the WMS suggestion a first try. But a WMS is doing what you are asking for: create Raster images on the fly so perhaps you could use your script as WMS and call it with CONNECTIONTYPE

Re: [mapserver-users] WMS TIME parameter slow

2010-03-19 Thread Heiko Schröter
11, 2010 at 5:59 AM, Heiko Schröter schro...@iup.physik.uni-bremen.de wrote: Am Donnerstag 11 März 2010 14:35:53 schrieben Sie: Paul, thanks for staying at it. These timings i get with the variation of the theme. The second best is to cast 'datum::timestamp'. But still beeing

Re: [mapserver-users] WFS limit time interval to POSTGIS

2010-03-19 Thread Heiko Schröter
Hi there, There is no explicit support of a TIME parameter in wfs but I believe It should be possible on a postgis layer to use the FilterEncoding to limit the request: would something like this work for you:

Re: [mapserver-users] WMS TIME parameter slow

2010-03-11 Thread Heiko Schröter
Am Mittwoch 10 März 2010 16:52:28 schrieb Heiko Schröter: Done what has been suggested. The 'date_trunc' function forces sequential scans instead of using the indexed scans. I've tried and failed: sc_gis=# CREATE INDEX o_v20_y2007_date_trunc ON o_v20_y2007 (date_trunc('day', datum at time zone

Re: [mapserver-users] WMS TIME parameter slow

2010-03-11 Thread Heiko Schröter
to build a functional index on it. P. On Thu, Mar 11, 2010 at 1:39 AM, Heiko Schröter schro...@iup.physik.uni-bremen.de wrote: Am Mittwoch 10 März 2010 16:52:28 schrieb Heiko Schröter: Done what has been suggested. The 'date_trunc' function forces sequential scans instead of using

[mapserver-users] WMS TIME parameter slow

2010-03-10 Thread Heiko Schröter
Hello, using mapserv (5.6.1) with PostGIS (8.3) and accessing ten-thousands of geo locations in the PostGIS db results in very slow speed when using the WMS TIME parameter: (in this example the number is about 4000 datapoints for this day, timing measurements with DEBUG OFF). 1) Very fast

Re: [mapserver-users] WMS TIME parameter slow

2010-03-10 Thread Heiko Schröter
and extract the SQL that is being run against the database. Then you can put that into PgAdmin or psql and get EXPLAIN ANALYZE results which will tell you why there's a problem, hopefully. P. On Wed, Mar 10, 2010 at 7:22 AM, Heiko Schröter schro...@iup.physik.uni-bremen.de wrote: Hello

[mapserver-users] MapServer CGI GdalWarp parameter passing

2009-10-16 Thread Heiko Schröter
Hi, i need to pass parameters for Reprojection via mapservers CGI interface to gdalwarp. Gdalwarp needs the '-wo SOURCE_EXTRA=x' to do the reprojection properly. How can this Parameter beeing passed to gdalwarp ? Tried the PROCESSING='-wo SOURCE...' key, but probably got the syntax wrong or

[mapserver-users] MapServer CGI GDAL Raster reprojection

2009-10-13 Thread Heiko Schröter
time (loadmap not incl.): 0.307s [Tue Oct 13 10:29:35 2009].958856 msFreeMap(): freeing map at 0x1729dc0. -- --- !!! NEUE TELEPHONNUMMER !!! !!! NEW PHONE NUMBER !!! Dipl.-Ing. Heiko Schröter Institute of Environmental

Re: VS: [mapserver-users] MapServer CGI GDAL Raster reprojection

2009-10-13 Thread Heiko Schröter
PROJECTION init=epsg:2393 END -Jukka- Heiko Schröter wrote: Am Dienstag 13 Oktober 2009 11:50:13 schrieben Sie: Hello, sorry, no that doesn't work. I have tried with epsg:3575 (wich is somewhat polar and recognized by GDALWARP) but that fails as well

Re: [mapserver-users] Passing single quoted strings

2009-04-23 Thread Heiko Schröter
curious how it escapes the text for the URL. That should give us a hint. Steve Heiko Schröter schro...@iup.physik.uni-bremen.de 04/21/09 1:53 AM Hello, i have to pass single quoted strings from Open Layer through mapserver to a postgis/postgres database. i.e. filter 'value=1 and datum

Re: [mapserver-users] Passing single quoted strings

2009-04-23 Thread Heiko Schröter
. That would have broken a mapfile too. Might want to post a summary solution to your last message to the whole list. Steve On 4/23/2009 at 8:01 AM, in message 200904231501.50805.schro...@iup.physik.uni-bremen.de, Heiko Schröter schro...@iup.physik.uni-bremen.de wrote: On Donnerstag, 23

[mapserver-users] Passing single quoted strings

2009-04-21 Thread Heiko Schröter
Hello, i have to pass single quoted strings from Open Layer through mapserver to a postgis/postgres database. i.e. filter 'value=1 and datum between '2005-1-1' and '2005-1-3' ; The postgres db expects (afaik) the date in a single quoted string. The problem is that mapserver stops scanning the

[mapserver-users] Use of a Colortable

2009-04-15 Thread Heiko Schröter
Hello,, we are mapping global satellite data with postgis. Is it possible with mapserver to change the color of the symbol according to the value read in from postgis ? Now the color is fixed within the mapfile reading only the geolocations i.e. LAYER CONNECTION user=bla password=blub

Re: [mapserver-users] Layer Object Parameter Substitution fromURLusing GIS

2009-04-09 Thread Heiko Schröter
Hello Steve, Mapserver fails by just scanning the mapfile. Did fetch the 5.4_rc1 and installed it. But same behaviour as with the 5.4_beta. /usr/lib/cgi-bin/mapserv -v MapServer version 5.4.0-rc1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE

Re: [mapserver-users] Layer Object Parameter Substitution fromURLusing GIS

2009-04-08 Thread Heiko Schröter
' variable. With code like: myLayer.params.somevar = 'somenewvalue'; This will tag somevar=somenewvalue onto the URL passed to MapServer. Steve Heiko Schröter schro...@iup.physik.uni-bremen.de 04/07/09 5:26 AM On Montag, 6. April 2009 19:57:19 you wrote: Hello, the error seems to remain

Re: [mapserver-users] Layer Object Parameter Substitution fromURLusing GIS

2009-04-08 Thread Heiko Schröter
On Dienstag, 7. April 2009 15:52:10 you wrote: Hello Steve, this seem to fail as well. Funny enough i needed to change the Layernames to uppercase in OpenLayer. But anyway: snip var kartenstring = karte,grid,psc; var somevalue = FILTER+'orbitnr=4567' ; layer = new

Re: [mapserver-users] Layer Object Parameter Substitution from URLusing GIS

2009-04-07 Thread Heiko Schröter
to secure. Steve On 4/6/2009 at 4:01 AM, in message 200904061101.54781.schro...@iup.physik.uni-bremen.de, Heiko Schröter schro...@iup.physik.uni-bremen.de wrote: Hello, when passing a 'FILTER' parameter to be changed with the URL to use GIS requests, mapserv(5.0.3) fails

[mapserver-users] Layer Object Parameter Substitution from URL using GIS

2009-04-06 Thread Heiko Schröter
Hello, when passing a 'FILTER' parameter to be changed with the URL to use GIS requests, mapserv(5.0.3) fails with: loadLayer(): Unknown identifier. Parsing error near (FILTER):(line 1) The call is: http://localhost/cgi-bin/mapserv?MAP=/MapServer/country98/heiko1.map;

[mapserver-users] Dynamic 'OnMouseOver' Info generation vom PostGIS/Postgres

2009-04-02 Thread Heiko Schröter
Hello all, we are displaying satellite measurement geolocations with Mapserver and PostGIS/Postgres underneath. I would like to add a feature (similar to the MapServer:ImagMap stuff) that displays some more info about the point on which the mouse is over inside the map. i.e. geolocation, name