[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

Re: [mapserver-users] Mapserver Expressions

2013-12-17 Thread Eichner, Andreas - SID-NLKM
Substitution works quite well but classification does not because the class' expression hasn't been tokenized when msEvalExpression is called by msShapeGetClass. Root cause of this is in msLayerWhichItems(maplayer.c) which shall tokenize the class' expression but doesn't due to making this

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

2013-12-17 Thread Eichner, Andreas - SID-NLKM
Looks like that causes the same effect as setting PROCESSING LOAD_WHOLE_IMAGE=YES -Ursprüngliche Nachricht- Von: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users- boun...@lists.osgeo.org] Im Auftrag von Heiko Schröter Gesendet: Dienstag, 17. Dezember 2013 14:09 An:

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

2013-12-17 Thread Eichner, Andreas - SID-NLKM
Can you try if PROCESSING POLYLINE_NO_CLIP=YES helps on TYPE LINE layers? -Ursprüngliche Nachricht- Von: Heiko Schröter [mailto:schro...@iup.physik.uni-bremen.de] Gesendet: Dienstag, 17. Dezember 2013 16:46 An: Eichner, Andreas - SID-NLKM; mapserver-users@lists.osgeo.org Betreff: Re:

Re: [mapserver-users] OGR ODBC Layer with Password

2013-12-17 Thread Donald Kerr
Any takers (see email below)? Help appreciated. Regards, Donald -Original Message- From: Donald Kerr [mailto:donald.k...@dkerr.co.uk] Sent: 12 December 2013 16:45 To: 'Donald Kerr' Subject: OGR ODBC Layer with Password Hi All, I have a layer that uses OGR to connect to an Microsoft

Re: [mapserver-users] OGR ODBC Layer with Password

2013-12-17 Thread Jeff McKenna
On 2013-12-17 4:41 PM, Donald Kerr wrote: Jeff, Same password error, I'm afraid. It's as if MapServer is not passing the username/password combination. Many thanks. Regards, Donald I've been here before. Did you create a System DSN on Windows? Then I usually look into the slash

Re: [mapserver-users] OGR ODBC Layer with Password

2013-12-17 Thread Donald Kerr
Jeff, Same password error, I'm afraid. It's as if MapServer is not passing the username/password combination. Many thanks. Regards, Donald -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Jeff McKenna Sent:

Re: [mapserver-users] OGR ODBC Layer with Password

2013-12-17 Thread Jeff McKenna
On 2013-12-17 4:14 PM, Donald Kerr wrote: Any takers (see email below)? Help appreciated. Regards, Donald -Original Message- From: Donald Kerr [mailto:donald.k...@dkerr.co.uk] Sent: 12 December 2013 16:45 To: 'Donald Kerr' Subject: OGR ODBC Layer with Password Hi All,

Re: [mapserver-users] OGR ODBC Layer with Password

2013-12-17 Thread Donald Kerr
Jeff, I've tried all the combinations that I can think of and the following also works (creates test.png with the map features) outside of mapserver on the command line: shp2img -m my.map -o test.png with: CONNECTION ODBC:Admin/MyPassword@MyDSNName,MyTableName in the map file. The following

Re: [mapserver-users] OGR ODBC Layer with Password

2013-12-17 Thread Brent Fraser
Donald, It's kind of a work-around, but a few years ago (mapserv v5.2.1) I used the following method to connect to a database via ODBC: CONNECTIONTYPE OGR CONNECTION OGRVRTDataSource OGRVRTLayer name='myTable' SrcDataSourceODBC:myUser/myPassword@myDSN,myTable/SrcDataSource

Re: [mapserver-users] OGR ODBC Layer with Password

2013-12-17 Thread Jeff McKenna
On 2013-12-17 7:13 PM, Brent Fraser wrote: Donald, It's kind of a work-around, but a few years ago (mapserv v5.2.1) I used the following method to connect to a database via ODBC: CONNECTIONTYPE OGR CONNECTION OGRVRTDataSource OGRVRTLayer name='myTable'

Re: [mapserver-users] OGR ODBC Layer with Password

2013-12-17 Thread Jeff McKenna
On 2013-12-17 6:15 PM, Donald Kerr wrote: Jeff, I've tried all the combinations that I can think of and the following also works (creates test.png with the map features) outside of mapserver on the command line: shp2img -m my.map -o test.png with: CONNECTION