[mapserver-users] WCS GetCoverage

2011-11-24 Thread David Hildebrand
I am trying to implement a WCS server and am running into difficulty
with GetCoverage and the following request.

 

REQUEST=GetCoverageCOVERAGE=awifsCRS=EPSG:4269BBOX=-116,51,-114,53RE
SX=100RESY=100FORMAT=GTiffRESPONSE_CRS=EPSG:4269

 

The following ServiceException is raised.

 

msImageCreateGD(): Image handling error. Cannot create GD image of size
0x0

 

I can do a WCS GetCapabilities and DescribeCoverage without error.
Also, when I issue the following WMS request it works fine.

 

REQUEST=GetMapLAYERS=awifsSRS=EPSG:4269BBOX=-116,51,-114,53WIDTH=800
HEIGHT=600FORMAT=image/pngSTYLES=

 

The GetCoverage and GetMap requests have the same parameters and yet WCS
thinks the image size is 0x0.  The MapServer configuration for the layer
file is given below

 

LAYER

  NAME awifs

  PROCESSING BANDS=2,1,3

  PROCESSING SCALE_2=19,159

  PROCESSING SCALE_1=10,130

  PROCESSING SCALE_3=9,124

  METADATA

wcs_label awifs

wcs_rangeset_name RGB

wcs_rangeset_label rgb

wms_title awifs

wms_opaque 1

ows_resolution 56 56

wms_srs EPSG:43001

  END

  STATUS off 

  TYPE raster

  DATA e:/awifs/July.tif

  PROJECTION

init=epsg:43001

  END

  TEMPLATE empty.html

  DUMP TRUE

END

 

Thanks for the help.

 

 

===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   



 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] RE: WCS GetCoverage

2011-11-24 Thread David Hildebrand
Jukka:

I am running MapServer 5.2.1 and am being explicit about W** version.
For WMS I am using version 1.1.1 and WCS version 1.0.0 but that is
hidden in a CGI wrapper.  I did find out, however, that in my WCS
request I need to specify the RESX and RESY units the same as the CRS
projection units (in this case degrees) and I also need to specify the
RESPONSE_CRS the same as the CRS.  These are odd behaviours.  One should
be able to request the response in a different projection than the
bounding box and specify the resolution in the units of the output
projection.  The projections I am using are all specified in the
ows_srs line of the mapserv.map file. 



===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   
-Original Message-
From: Rahkonen Jukka [mailto:jukka.rahko...@mmmtike.fi] 
Sent: Thursday, November 24, 2011 2:06 PM
To: David Hildebrand; mapserver-users@lists.osgeo.org
Subject: Re: WCS GetCoverage

Hi,

Very first thing to do with all the W** services is to give always an
explicit VERSION=
Request can sometimes work even without but then the default is the
highest supported.  Do not play with defaults, take the control for
yourself.
What Mapserver version you have? Perhaps some old 5.x which supports
only WCS 1.0 because otherwise I suppose you would get some other error
message with your request.

-Jukka Rahkonen-


David Hildebrand wrote:

I am trying to implement a WCS server and am running into difficulty
with GetCoverage and the following request.

REQUEST=GetCoverageCOVERAGE=awifsCRS=EPSG:4269BBOX=-116,51,-114,53RE
SX=100RESY=100FORMAT=GTiffRESPONSE_CRS=EPSG:4269

The following ServiceException is raised.

msImageCreateGD(): Image handling error. Cannot create GD image of size
0x0

I can do a WCS GetCapabilities and DescribeCoverage without error.
Also, when I issue the following WMS request it works fine.

REQUEST=GetMapLAYERS=awifsSRS=EPSG:4269BBOX=-116,51,-114,53WIDTH=800
HEIGHT=600FORMAT=image/pngSTYLES=

The GetCoverage and GetMap requests have the same parameters and yet WCS
thinks the image size is 0x0.  The MapServer configuration for the layer
file is given below

LAYER
  NAME awifs
  PROCESSING BANDS=2,1,3
  PROCESSING SCALE_2=19,159
  PROCESSING SCALE_1=10,130
  PROCESSING SCALE_3=9,124
  METADATA
wcs_label awifs
wcs_rangeset_name RGB
wcs_rangeset_label rgb
wms_title awifs
wms_opaque 1
ows_resolution 56 56
wms_srs EPSG:43001
  END
  STATUS off
  TYPE raster
  DATA e:/awifs/July.tif
  PROJECTION
init=epsg:43001
  END
  TEMPLATE empty.html
  DUMP TRUE
END

Thanks for the help.


===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] WCS

2011-03-23 Thread David Hildebrand
I'm not sure if anyone remembers this post from a while ago or not but I
discovered a solution.  I am running MapServer 5.3-dev and testing WCS
1.0.0.  I discovered that the RESPONSE_CRS parameter must be the same as
the CRS parameter (or, more simply, not be used at all).  If they are
different an error is generated with respect to the bounding box of the
request being outside the bounding box of the coverage.  It doesn't seem
to matter whether or not the coordinate system of the request is the
same as the coordinate system of the source.  The coordinate system of
the response will be the same as the coordinate system of the request.
The issue here is that the RESPONSE_CRS parameter does not seem to have
been implemented correctly and, considering that the parameter is
optional, perhaps it's not a big issue.  Just something the user needs
to be aware of.

 

 

===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca about:www.afsc.ca  http://www.afsc.ca
http://www.afsc.ca/ 
This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this
email.



From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of David
Hildebrand
Sent: Tuesday, February 01, 2011 4:46 PM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] WCS

 

I am trying to develop a WCS layer (1.0.0) and I can successfully issue
the GetCapabilities and DescribeCoverage requests.  However, when I
issue a GetCoverage request I get a bounding box error due to bad
coordinates.  The layer is also set up as a WMS layer (1.1.1) and a
GetMap request works fine.  The metadata ows_srs and ows_resolution
parameters are being used in the map file and these work fine for WMS
requests.  Should I be using version 1.1.0?

 

Any ideas?

 

 

===

David V. Hildebrand

Agriculture Financial Services Corporation

(403) 782-8239   

 

www.afsc.ca http://www.afsc.ca

This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this
email.

 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] PHP version

2011-02-18 Thread David Hildebrand
I am running MapServer 5.3-dev (ms4w) and I'm wondering what version of
PHP is being shipped with that.  I'm trying to use PHP date functions
and they don't seem to work as documented so I'm wondering if I need to
look at different PHP documentation.  How can I find out the PHP
version?

 

Thanks.

 

===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca about:www.afsc.ca  http://www.afsc.ca
http://www.afsc.ca/ 
This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this
email.

 
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] formatting in HTML templates

2011-02-15 Thread David Hildebrand
This may be slightly off the MapServer topic but my problem is related
to a MapServer implementation.

 

I am retrieving the date and time from the shapefile DBF of my layer in
the following format (yymmddhhmmss).  The string represents the UTC time
of satellite image acquisition.  I want to convert that to local time
and express it as a normal date string (e.g.: July 8, 2009 10:45:25 AM).
I'm thinking I can do that with PHP code embedded in the template.  I
know my server has PHP support but when I try to embed a simple 'Hello
world' in the template it seems to be ignored.  Would it be better
define a URL to the PHP code (in stead of a template) and then build the
entire HTML page dynamically?

 

Thanks.

===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca about:www.afsc.ca  http://www.afsc.ca
http://www.afsc.ca/ 
This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this
email.

 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] WCS

2011-02-02 Thread David Hildebrand
Jukka:

 

If I issue the request in the same units as the coverage (as shown
below) the request works fine.

 

REQUEST=GetCoverage

COVERAGE=landsat_test

CRS=EPSG:2956

BBOX=41,5726000,411000,5727000

RESX=30

RESY=30

FORMAT=GTiff

RESPONSE_CRS=EPSG:2956

 

If I issue the request in another projection (as shown below) the
request has issues with reprojection.

 

REQUEST=GetCoverage

COVERAGE=landsat_test

CRS=EPSG:4269

BBOX=-113.179,51.761,-113.177,51.763

RESX=30

RESY=30

FORMAT=GTiff

RESPONSE_CRS=EPSG:3400

 

The service exception I get is 

 

ServiceException code=NoApplicableCode
locator=bboxmsWCSGetCoverage(): WCS server error. Requested BBOX
(-98.179,66.761,-98.179,66.761) is outside requested coverage BBOX
(281685,5612685,538515,5840415)/ServiceException

 

As you can see, the requested BBOX the server picks up is nowhere near
the BBOX I provide in the URL.  The basic content of my map file is
shown below.  As you can see the layer is WMS as well as WCS and the WMS
call works fine.

 

MAP

  NAME mapserv

  OUTPUTFORMAT

NAME 'AGG_JPEG'

DRIVER AGG/JPEG

IMAGEMODE RGB

  END

  WEB

METADATA

  ows_title OGC mapserv

  ows_contactorganization Agriculture Financial Services
Corporation

  ows_srs EPSG:3400 EPSG:2955 EPSG:2956 EPSG:3401 EPSG:3402
EPSG:3403 EPSG:4267 EPSG:4269 EPSG:4326

  ows_http_max_age 3

  wcs_label WCS mapserv

  wcs_onlineresource
http://172.16.12.76/cgi-bin/mapserv.wcs.100.exe?;

  wms_feature_info_mime_type text/html

  wms_title WMS mapserv

  wms_onlineresource
http://172.16.12.76/cgi-bin/mapserv.wms.111.exe?;END

IMAGEPATH /ms4w/tmp/ms_tmp/

IMAGEURL /ms_tmp/

  END

  SIZE 1200 1000   #arbitrary...

  PROJECTION

init=epsg:3400

  END

  EXTENT 133000 5365600 905200 6721100

  UNITS meters

  LAYER

NAME Landsat_test

METADATA

  ows_srs EPSG:2956  #UTM12...

  ows_resolution 30 30

  wcs_name Landsat_test

  wcs_label Landsat_test 30m

  wcs_bandcount 3

  wcs_rangeset_name TheRangesetName

  wcs_rangeset_label TheRangesetLabel

  wms_title Landsat_test

  wms_opaque 1

END

STATUS off 

TYPE raster

DATA //Plcoressatsb01/G$/Landsat/2010/processed/4124_708.tif

PROJECTION

  init=epsg:2956

END

DUMP TRUE

  END

END

 

Any help would be appreciated.

 

 

===

David V. Hildebrand

Agriculture Financial Services Corporation

(403) 782-8239   

 

www.afsc.ca http://www.afsc.ca

This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this
email.

 

-Original Message-
From: Rahkonen Jukka [mailto:jukka.rahko...@mmmtike.fi] 
Sent: Tuesday, February 01, 2011 10:15 PM
To: David Hildebrand; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] WCS

 

Hi,

 

Your layer definitions and the GetCoverare request you were using would
help pretty much.

 

-Jukka Rahkonen-

 

David Hildebrand wrote:

 

 I am trying to develop a WCS layer (1.0.0) and I can successfully
issue

the GetCapabilities and DescribeCoverage requests.  However, when I

issue a GetCoverage request I get a bounding box error due to bad

coordinates.  The layer is also set up as a WMS layer (1.1.1) and a

GetMap request works fine.  The metadata ows_srs and ows_resolution

parameters are being used in the map file and these work fine for WMS

requests.  Should I be using version 1.1.0?

 

 Any ideas?

 

 

 

 

 

===

 

David V. Hildebrand

 

Agriculture Financial Services Corporation

 

(403) 782-8239   

 

 

 

www.afsc.ca http://www.afsc.ca

 

This communication is intended for the use of the recipient to which it

is addressed, and may contain confidential, personal and/or privileged

information. Please contact Agriculture Financial Services Corporation

immediately if you are not the intended recipient of this communication,

and do not copy, distribute, or take action relying on it. Any

communication received in error, or subsequent reply, should be deleted

or destroyed. Please consider the environment before printing this

email.

 

 

 

 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] Apache installation for ms4w

2011-01-21 Thread David Hildebrand
Thanks, Jeff.  I didn't realize there was a separate mailing list for
MS4W.

===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca http://www.afsc.ca
This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this
email.


-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Jeff
McKenna
Sent: Friday, January 21, 2011 6:48 AM
To: mapserver-users
Subject: Re: [mapserver-users] Apache installation for ms4w

Hello David,

First, all questions related to MS4W should be sent to the MS4W-users 
mailing list, where hundreds of users and devs can assist you with your 
issues (subscribe at
http://lists.maptools.org/mailman/listinfo/ms4w-users).

As you mentioned, MS4W is designed for new installations and contains a 
ready to use Web server and everything you need to move forward.  If you

need to use MS4W in an existing environment, there are some options:

  - follow the existing notes to install in other environments in your 
local README file 
(http://www.maptools.org/ms4w/index.phtml?page=README_INSTALL.html#k-ins
talling-the-ms4w-mapserver-binaries-in-other-environments)
  - search the MS4W mailing list for other users asking this same 
question and the responses (search at: 
http://osgeo-org.1803224.n2.nabble.com/ms4w-users-f4995553.html)
  - contact me directly for assistance

Hope that helps.

-jeff


-- 
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/




On 11-01-20 7:51 PM, David Hildebrand wrote:
 The installation package for ms4w contains a preconfigured version of
 Apache. This works well for a new installation. In the case of an
 existing Apache installation what are the requirements which need to
be
 met for ms4w? Are there potential conflicts to be aware of?


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Apache installation for ms4w

2011-01-20 Thread David Hildebrand
The installation package for ms4w contains a preconfigured version of
Apache.  This works well for a new installation.  In the case of an
existing Apache installation what are the requirements which need to be
met for ms4w?  Are there potential conflicts to be aware of?

 

Thanks.

 

===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca about:www.afsc.ca  http://www.afsc.ca
http://www.afsc.ca/ 
This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this
email.

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] GDAL input formats

2011-01-05 Thread David Hildebrand
Frank:

As you are probably aware, ENVI image files are associated with a header
file which has a hdr extension.  The extension of the actual image
file can be anything but the root name of the image file and header file
must be the same.  If I specify the HDR file on the DATA line of my map
file there may be more than one file in the same workspace which are
candidate image files.  If I specify the name of the image file, which
can have any or no extension, I don't see how the system can figure out
the format.  Is there a particular extension which is assumed by GDAL
for the image file?

Thanks.


===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca http://www.afsc.ca
This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this
email.


-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Frank
Warmerdam
Sent: Tuesday, January 04, 2011 5:33 PM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] GDAL input formats

On 11-01-04 03:14 PM, David Hildebrand wrote:
 I'm wondering how to specify a particular GDAL format.  I have some
 3-band floating point images in ENVI format and I would like to retain
 that format because I have GDAL support.  Secondly, would it be better
 to convert them to GeoTiff files?  Would it also be better to scale
them
 to, say 16-bit signed integer files?

David,

I searched back a bit in the archive, but I couldn't find any leadup
discussion to the above.  It seems to lack context.

So, you have 3band floating point images in ENVI format and you would
like to retain that format.  Is there something holding you back?

You said you don't know hjow to specify a particular GDAL format.  Do
you mean when you are generating output via GDAL such as with WCS?  Or
do you mean how you tell MapServer what format an input file is in?
You don't have to tell MapServer (or GDAL) what format a file is in.
It figures it out - assuming it is a supported format.

Does that help?

Best regards,
-- 
---+
--
I set the clouds in motion - turn up   | Frank Warmerdam,
warmer...@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush| Geospatial Programmer for Rent

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] GDAL input formats

2011-01-05 Thread David Hildebrand
Thanks, Jukka.  The second part of my question relates to floating point
images.  I don't think that MapServer can handle 3-band floating point
images because I can't seem to find anything in the documentation and I
have tried a couple of things that don't work.  I suppose the best thing
would be to convert them to 3-band, 8-bit images.


===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca http://www.afsc.ca
This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this
email.


-Original Message-
From: Rahkonen Jukka [mailto:jukka.rahko...@mmmtike.fi] 
Sent: Wednesday, January 05, 2011 10:07 AM
To: David Hildebrand
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] GDAL input formats

Hi,

Have you already read the ENVI part of the following document?
http://gdal.org/frmt_various.html#ENVI

-Jukka Rahkonen-


David Hildebrand wrote:

 Frank:

 As you are probably aware, ENVI image files are associated with a
header
file which has a hdr extension.  The extension of the actual image
file can be anything but the root name of the image file and header file
must be the same.  If I specify the HDR file on the DATA line of my map
file there may be more than one file in the same workspace which are
candidate image files.  If I specify the name of the image file, which
can have any or no extension, I don't see how the system can figure out
the format.  Is there a particular extension which is assumed by GDAL
for the image file?

 Thanks.


===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca http://www.afsc.ca
This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this
email.


-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Frank
Warmerdam
Sent: Tuesday, January 04, 2011 5:33 PM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] GDAL input formats

On 11-01-04 03:14 PM, David Hildebrand wrote:
 I'm wondering how to specify a particular GDAL format.  I have some
 3-band floating point images in ENVI format and I would like to retain
 that format because I have GDAL support.  Secondly, would it be better
 to convert them to GeoTiff files?  Would it also be better to scale
them
 to, say 16-bit signed integer files?

David,

I searched back a bit in the archive, but I couldn't find any leadup
discussion to the above.  It seems to lack context.

So, you have 3band floating point images in ENVI format and you would
like to retain that format.  Is there something holding you back?

You said you don't know hjow to specify a particular GDAL format.  Do
you mean when you are generating output via GDAL such as with WCS?  Or
do you mean how you tell MapServer what format an input file is in?
You don't have to tell MapServer (or GDAL) what format a file is in.
It figures it out - assuming it is a supported format.

Does that help?

Best regards,
-- 
---+
--
I set the clouds in motion - turn up   | Frank Warmerdam,
warmer...@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush| Geospatial Programmer for Rent

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] GDAL input formats

2011-01-05 Thread David Hildebrand
My question now relates to output.

===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca http://www.afsc.ca
This communication is intended for the use of the recipient to which it is 
addressed, and may contain confidential, personal and/or privileged 
information. Please contact Agriculture Financial Services Corporation 
immediately if you are not the intended recipient of this communication, and do 
not copy, distribute, or take action relying on it. Any communication received 
in error, or subsequent reply, should be deleted or destroyed. Please consider 
the environment before printing this email.


-Original Message-
From: Alexander Petkov [mailto:green...@gmail.com] 
Sent: Wednesday, January 05, 2011 2:07 PM
To: David Hildebrand
Cc: Rahkonen Jukka; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] GDAL input formats

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 that MapServer can handle 3-band floating point
 images because I can't seem to find anything in the documentation and I
 have tried a couple of things that don't work.  I suppose the best thing
 would be to convert them to 3-band, 8-bit images.


 ===
 David V. Hildebrand
 Agriculture Financial Services Corporation
 (403) 782-8239

 www.afsc.ca http://www.afsc.ca
 This communication is intended for the use of the recipient to which it
 is addressed, and may contain confidential, personal and/or privileged
 information. Please contact Agriculture Financial Services Corporation
 immediately if you are not the intended recipient of this communication,
 and do not copy, distribute, or take action relying on it. Any
 communication received in error, or subsequent reply, should be deleted
 or destroyed. Please consider the environment before printing this
 email.


 -Original Message-
 From: Rahkonen Jukka [mailto:jukka.rahko...@mmmtike.fi]
 Sent: Wednesday, January 05, 2011 10:07 AM
 To: David Hildebrand
 Cc: mapserver-users@lists.osgeo.org
 Subject: Re: [mapserver-users] GDAL input formats

 Hi,

 Have you already read the ENVI part of the following document?
 http://gdal.org/frmt_various.html#ENVI

 -Jukka Rahkonen-


 David Hildebrand wrote:

 Frank:

 As you are probably aware, ENVI image files are associated with a
 header
 file which has a hdr extension.  The extension of the actual image
 file can be anything but the root name of the image file and header file
 must be the same.  If I specify the HDR file on the DATA line of my map
 file there may be more than one file in the same workspace which are
 candidate image files.  If I specify the name of the image file, which
 can have any or no extension, I don't see how the system can figure out
 the format.  Is there a particular extension which is assumed by GDAL
 for the image file?

 Thanks.


 ===
 David V. Hildebrand
 Agriculture Financial Services Corporation
 (403) 782-8239

 www.afsc.ca http://www.afsc.ca
 This communication is intended for the use of the recipient to which it
 is addressed, and may contain confidential, personal and/or privileged
 information. Please contact Agriculture Financial Services Corporation
 immediately if you are not the intended recipient of this communication,
 and do not copy, distribute, or take action relying on it. Any
 communication received in error, or subsequent reply, should be deleted
 or destroyed. Please consider the environment before printing this
 email.


 -Original Message-
 From: mapserver-users-boun...@lists.osgeo.org
 [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Frank
 Warmerdam
 Sent: Tuesday, January 04, 2011 5:33 PM
 To: mapserver-users@lists.osgeo.org
 Subject: Re: [mapserver-users] GDAL input formats

 On 11-01-04 03:14 PM, David Hildebrand wrote:
 I'm wondering how to specify a particular GDAL format.  I have some
 3-band floating point images in ENVI format and I would like to retain
 that format because I have GDAL support.  Secondly, would it be better
 to convert them to GeoTiff files?  Would it also be better to scale
 them
 to, say 16-bit signed integer files?

 David,

 I searched back a bit in the archive, but I couldn't find any leadup
 discussion to the above.  It seems to lack context.

 So, you have 3band floating point images in ENVI format and you would
 like to retain that format.  Is there something holding you back?

 You said you don't know hjow to specify a particular GDAL format.  Do
 you mean when you are generating output via GDAL such as with WCS?  Or
 do you mean how you tell MapServer what format an input file is in?
 You don't have to tell MapServer (or GDAL) what format a file

[mapserver-users] GDAL input formats

2011-01-04 Thread David Hildebrand
I'm wondering how to specify a particular GDAL format.  I have some
3-band floating point images in ENVI format and I would like to retain
that format because I have GDAL support.  Secondly, would it be better
to convert them to GeoTiff files?  Would it also be better to scale them
to, say 16-bit signed integer files?

Thanks.


===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca http://www.afsc.ca
This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this
email.

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] GetFeatureInfo

2010-12-17 Thread David Hildebrand
The tolerance parameter was the trick, Jeff.  Thanks.

===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca http://www.afsc.ca
This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this
email.

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Jeff
McKenna
Sent: Thursday, December 16, 2010 1:57 PM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] GetFeatureInfo

On 10-12-16 4:41 PM, David Hildebrand wrote:
 I have several WMS layers. One is a polygon layer and the other two
are
 line and point layer. I have HTML templates for each layer which are
 very similar. All the layers are being drawn but when I run a
 REQUEST=GetFeatureInfo on a location which has features from all three
 layers I only get a return from the polygon layer. I have the
following
 debug statements in my mapfile.


Hi,

Just a quick note, that the WMS Server doc gives a working example of a 
GetFeatureInfo request on a point layer: 
http://demo.mapserver.org/cgi-bin/wms?SERVICE=WMSVERSION=1.1.1REQUEST=
GetFeatureInfoBBOX=-11.332970,24.121208,47.584718,57.965035SRS=EPSG:43
26WIDTH=1001HEIGHT=575LAYERS=citiesSTYLES=FORMAT=image/pngTRANSPAR
ENT=trueQUERY_LAYERS=citiesINFO_FORMAT=text/plainX=229Y=280

I would make sure your layers have a template set, as well as modify the

tolerance parameter possibly.

-jeff



-- 
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] GetFeatureInfo

2010-12-16 Thread David Hildebrand
I have several WMS layers.  One is a polygon layer and the other two are
line and point layer.  I have HTML templates for each layer which are
very similar.  All the layers are being drawn but when I run a
REQUEST=GetFeatureInfo on a location which has features from all three
layers I only get a return from the polygon layer.  I have the following
debug statements in my mapfile.

 

CONFIG MS_ERRORFILE stdout

DEBUG 5

CONFIG CPL_DEBUG ON

CONFIG PROJ_DEBUG ON

CONFIG ON_MISSING_DATA WARN

 

I get the following output after the polygon information output.

 

[Thu Dec 16 13:34:17 2010].658000 mapserv request processing time
(msLoadMap not incl.): 3.766s [Thu Dec 16 13:34:17 2010].658000
msFreeMap(): freeing map at 015266A8.

 

There are no errors showing up in the apache logs.  Is it possible that
the GetFeatureInfo request in MapServer is only supported for polygon
layers?  

 

 

===

David V. Hildebrand

Agriculture Financial Services Corporation

(403) 782-8239   

 

www.afsc.ca http://www.afsc.ca

This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this
email.

 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] symbolizing polygon outlines

2010-12-15 Thread David Hildebrand
Is there a way of symbolizing a polygon outline other than with
OUTLINECOLOR?  I would like to create a complex dashed line but it seems
that polygons do not support that.

Any suggestions?


===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca http://www.afsc.ca
This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this
email.

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] displaying 3-band images

2010-12-09 Thread David Hildebrand
Jukka:

 

For now I am making a simple Mapserver CGI call 
(http://localhost/cgi-bin/mapserv.exe?map=MSTESTlayer=awifsmode=map).  This 
URL works for other raster layers but I have only had single-band images so 
far.  In all cases the final map is in a projection different from the layer 
projection.  Incidentally, when I point to a data source which I know does not 
exist I get the same behavior (no image and no error) even when I use CONFIG 
ON_MISSING_DATA FAIL in my map file.

 

Thanks for your help.

 

 

 

 

===

David V. Hildebrand

Agriculture Financial Services Corporation

(403) 782-8239   

 

www.afsc.ca http://www.afsc.ca

This communication is intended for the use of the recipient to which it is 
addressed, and may contain confidential, personal and/or privileged 
information. Please contact Agriculture Financial Services Corporation 
immediately if you are not the intended recipient of this communication, and do 
not copy, distribute, or take action relying on it. Any communication received 
in error, or subsequent reply, should be deleted or destroyed. Please consider 
the environment before printing this email.

 

 

-Original Message-
From: Rahkonen Jukka [mailto:jukka.rahko...@mmmtike.fi] 
Sent: Thursday, December 09, 2010 2:21 PM
To: David Hildebrand
Subject: Re: [mapserver-users] displaying 3-band images

 

Hi,

 

I will have a closer look tomorrow. What did you use for showing the image? 
Mapserver CGI call or WMS client or what?  Could you send the request as well?

 

Regards,

 

-Jukka-

 

 

-Alkuperäinen viesti-

Lähettäjä: David Hildebrand [mailto:david.hildebr...@afsc.ca]

Lähetetty: to 9.12.2010 22:32

Vastaanottaja: Rahkonen Jukka

Aihe: RE: [mapserver-users] displaying 3-band images

 

Jukka:

 

 

 

I posted this to the mailing list but I don't think it got there because the 
body was too long so I'm sending it to you directly.

 

 

 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] displaying 3-band images

2010-12-09 Thread David Hildebrand
To all:

 

I discovered the problem which actually had a very simple solution.  My DATA 
path was incorrect.  The data resides on another file server and I had 
incorrectly specified the UNC path.

 

===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca about:www.afsc.ca  http://www.afsc.ca http://www.afsc.ca/ 
This communication is intended for the use of the recipient to which it is 
addressed, and may contain confidential, personal and/or privileged 
information. Please contact Agriculture Financial Services Corporation 
immediately if you are not the intended recipient of this communication, and do 
not copy, distribute, or take action relying on it. Any communication received 
in error, or subsequent reply, should be deleted or destroyed. Please consider 
the environment before printing this email.

  _  

From: Brent Fraser [mailto:bfra...@geoanalytic.com] 
Sent: Thursday, December 09, 2010 3:40 PM
To: David Hildebrand
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] displaying 3-band images

 

David,

   It sounds like image registration / coordinate system definition problem.  
While it is not necessary for the image to have a coordinate system defined 
(e.g as a geotiff tag) sine you can specify it in the LAYER portion of the map 
file, I think it does need image registration information, either as geotiff 
tags or in a .tfw (or .wld) file.  Specifying the EXTENT in the map file is 
only a layer hint to mapserver, it does not specify the image registration.

  I could be wrong; mayby there have been enhancements to use the EXTENT or 
METADATA information.

What are your parameters for EPSG:43001?



Best Regards,
Brent Fraser


On 12/9/2010 3:13 PM, David Hildebrand wrote: 

Jukka:

 

For now I am making a simple Mapserver CGI call 
(http://localhost/cgi-bin/mapserv.exe?map=MSTESTlayer=awifsmode=map).  This 
URL works for other raster layers but I have only had single-band images so 
far.  In all cases the final map is in a projection different from the layer 
projection.  Incidentally, when I point to a data source which I know does not 
exist I get the same behavior (no image and no error) even when I use CONFIG 
ON_MISSING_DATA FAIL in my map file.

 

Thanks for your help.

 

 

 

 

===

David V. Hildebrand

Agriculture Financial Services Corporation

(403) 782-8239   

 

www.afsc.ca http://www.afsc.ca http://www.afsc.ca 

This communication is intended for the use of the recipient to which it is 
addressed, and may contain confidential, personal and/or privileged 
information. Please contact Agriculture Financial Services Corporation 
immediately if you are not the intended recipient of this communication, and do 
not copy, distribute, or take action relying on it. Any communication received 
in error, or subsequent reply, should be deleted or destroyed. Please consider 
the environment before printing this email.

 

 

-Original Message-
From: Rahkonen Jukka [mailto:jukka.rahko...@mmmtike.fi] 
Sent: Thursday, December 09, 2010 2:21 PM
To: David Hildebrand
Subject: Re: [mapserver-users] displaying 3-band images

 

Hi,

 

I will have a closer look tomorrow. What did you use for showing the image? 
Mapserver CGI call or WMS client or what?  Could you send the request as well?

 

Regards,

 

-Jukka-

 

 

-Alkuperäinen viesti-

Lähettäjä: David Hildebrand [mailto:david.hildebr...@afsc.ca]

Lähetetty: to 9.12.2010 22:32

Vastaanottaja: Rahkonen Jukka

Aihe: RE: [mapserver-users] displaying 3-band images

 

Jukka:

 

 

 

I posted this to the mailing list but I don't think it got there because the 
body was too long so I'm sending it to you directly.

 

 

 

 
 
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] displaying 3-band images

2010-12-08 Thread David Hildebrand
Michael:

 

I inserted the following lines in my map file.

 

  CONFIG MS_ERRORFILE stdout

  DEBUG 5

  CONFIG CPL_DEBUG ON

  CONFIG PROJ_DEBUG ON

  CONFIG ON_MISSING_DATA FAIL

 

However, the behavior is the same and I get no additional messages.  However, 
the following message shows up in the apache error file.

 

  GDAL: GDALDeregister_GTiff() called.\r

 

My mapserver (ms4w) has been built with GDAL support because mapserv -v gives 
me the following.

 

  MapServer version 5.3-dev OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP 
OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE

  SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER 
SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER

  SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS 
INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE

 

I'm wondering if there is a problem in GDAL reading the projection information 
because using gdalinfo on the source file gives me the following in the output.

 

  Coordinate System is:

  LOCAL_CS[]

 

Yet, when I add the correct projection information using gdal_translate -a_srs 
... ArcView comes up with a blank image.

 

Any clues?

 

 

===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca about:www.afsc.ca  http://www.afsc.ca http://www.afsc.ca/ 
This communication is intended for the use of the recipient to which it is 
addressed, and may contain confidential, personal and/or privileged 
information. Please contact Agriculture Financial Services Corporation 
immediately if you are not the intended recipient of this communication, and do 
not copy, distribute, or take action relying on it. Any communication received 
in error, or subsequent reply, should be deleted or destroyed. Please consider 
the environment before printing this email.

  _  

From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Michael Schulz
Sent: Wednesday, December 08, 2010 1:20 AM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] displaying 3-band images

 

Hi, 

 

are you sure your raster can be read by mapserver cgi? Maybe try adding the 
ON_MISSING_DATA config option at map file level to rule out this error: CONFIG 
ON_MISSING_DATA FAIL

Also, I think IMAGEMODE is a parameter of the outputformat object not the layer 
object.

 

Cheers, Michael

 

2010/12/8 David Hildebrand david.hildebr...@afsc.ca

I have a TIFF image I want to display.  The image is a 3-band 8-bit image.  The 
server logs show no error but my display is coming out blank.  I am using ms4w 
with GDAL support so I'm not sure what is going wrong here.  A sample of the 
mapfile is shown below.  I get a parsing error if I include IMAGEMODE RGB in 
the layer definition.  Any suggestions?

 

LAYER

  NAME awifs

  PROCESSING BANDS=3,2,1

  PROCESSING SCALE=AUTO

  METADATA

wms_title awifs

wms_opaque 1

ows_resolution 56 56

wms_srs EPSG:43001

wms_extent -701344.000 -417256.000 803040.000 711368.000

wcs_srs EPSG:43001

wcs_extent -701344.000 -417256.000 803040.000 711368.000

  END

  STATUS on 

  TYPE raster

  DATA //Plcoressatsb01/AWiFS/initial_delivery/images/July.tif

  PROJECTION

init=epsg:43001

  END

  EXTENT -701344.000 -417256.000 803040.000 711368.000

  UNITS meters

END

 

 

===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca http://www.afsc.ca http://www.afsc.ca/ 
This communication is intended for the use of the recipient to which it is 
addressed, and may contain confidential, personal and/or privileged 
information. Please contact Agriculture Financial Services Corporation 
immediately if you are not the intended recipient of this communication, and do 
not copy, distribute, or take action relying on it. Any communication received 
in error, or subsequent reply, should be deleted or destroyed. Please consider 
the environment before printing this email.

  _  

From: Brent Wood [mailto:pcr...@yahoo.com] 
Sent: Monday, December 06, 2010 4:37 PM
To: David Hildebrand; Brent Fraser
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] street maps

 


Sigh,

Get the link right!!

PDF summarising Bing/Google licelice issues

http://victorianspatialcouncil.org/cms/library/attachments/VSC%20Guidance%20Note%201_TC%20Use%20of%20%20Google%20Maps%20and%20Bing%20Maps%20v1.0-May%202010.pdf


Brent Wood

--- On Tue, 12/7/10, Brent Fraser bfra...@geoanalytic.com wrote:


From: Brent Fraser bfra...@geoanalytic.com
Subject: Re: [mapserver-users] street maps
To: David Hildebrand david.hildebr...@afsc.ca
Cc: mapserver-users@lists.osgeo.org
Date: Tuesday, December 7, 2010, 10:02 AM

David,

  This thread may get you started with OpenStreetMap.  Be sure to read Google's 
and Bing's Term Of Service.

http://lists.osgeo.org/pipermail/mapserver-users/2010-July/066061.html

[mapserver-users] displaying 3-band images

2010-12-07 Thread David Hildebrand
I have a TIFF image I want to display.  The image is a 3-band 8-bit
image.  The server logs show no error but my display is coming out
blank.  I am using ms4w with GDAL support so I'm not sure what is going
wrong here.  A sample of the mapfile is shown below.  I get a parsing
error if I include IMAGEMODE RGB in the layer definition.  Any
suggestions?

 

LAYER

  NAME awifs

  PROCESSING BANDS=3,2,1

  PROCESSING SCALE=AUTO

  METADATA

wms_title awifs

wms_opaque 1

ows_resolution 56 56

wms_srs EPSG:43001

wms_extent -701344.000 -417256.000 803040.000 711368.000

wcs_srs EPSG:43001

wcs_extent -701344.000 -417256.000 803040.000 711368.000

  END

  STATUS on 

  TYPE raster

  DATA //Plcoressatsb01/AWiFS/initial_delivery/images/July.tif

  PROJECTION

init=epsg:43001

  END

  EXTENT -701344.000 -417256.000 803040.000 711368.000

  UNITS meters

END

 

 

===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca about:www.afsc.ca  http://www.afsc.ca
http://www.afsc.ca/ 
This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this
email.

  _  

From: Brent Wood [mailto:pcr...@yahoo.com] 
Sent: Monday, December 06, 2010 4:37 PM
To: David Hildebrand; Brent Fraser
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] street maps

 


Sigh,

Get the link right!!

PDF summarising Bing/Google licelice issues

http://victorianspatialcouncil.org/cms/library/attachments/VSC%20Guidanc
e%20Note%201_TC%20Use%20of%20%20Google%20Maps%20and%20Bing%20Maps%20v1.
0-May%202010.pdf


Brent Wood

--- On Tue, 12/7/10, Brent Fraser bfra...@geoanalytic.com wrote:


From: Brent Fraser bfra...@geoanalytic.com
Subject: Re: [mapserver-users] street maps
To: David Hildebrand david.hildebr...@afsc.ca
Cc: mapserver-users@lists.osgeo.org
Date: Tuesday, December 7, 2010, 10:02 AM

David,

  This thread may get you started with OpenStreetMap.  Be sure to read
Google's and Bing's Term Of Service.

http://lists.osgeo.org/pipermail/mapserver-users/2010-July/066061.html

Best Regards,

Brent Fraser


On 12/6/2010 12:18 PM, David Hildebrand wrote: 

I want to add a street map (OpenStreetMap, Google, Bing, etc.) as a WMS
layer but I'm not sure which service to use and what the URL would be to
try them out?  My AOI is only about 10 by 10 degrees wide.

 

Any suggestions?

 

===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca http://www.afsc.ca http://www.afsc.ca/ 
This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this
email.

 

 



___

mapserver-users mailing list

  mapserver-users@lists.osgeo.org

  http://lists.osgeo.org/mailman/listinfo/mapserver-users


-Inline Attachment Follows-

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] street maps

2010-12-06 Thread David Hildebrand
I want to add a street map (OpenStreetMap, Google, Bing, etc.) as a WMS
layer but I'm not sure which service to use and what the URL would be to
try them out?  My AOI is only about 10 by 10 degrees wide.

 

Any suggestions?

 

===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca about:www.afsc.ca  http://www.afsc.ca
http://www.afsc.ca/ 
This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this
email.

 

 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] MapScript Wrappers for WxS Services

2010-11-25 Thread David Hildebrand
I'm wondering how much work has been done out there with integrating WFS
calls into client-side applications?  I have an application which
displays WMS layers and I need to zoom to the extent of a particular
parcel of one of the layers.  That particular layer is also defined as a
WFS layer so I can use filter encoding to return the GML string with
respect to the particular parcel of interest.  I also have some PHP code
with MapScript calls on a client which collects parameters from a form.
What I would like to do is to construct a URL to query the particular
parcel specified in the form and then retrieve the extents of the parcel
to set the zoom parameters.

 

Any suggestions?

 

 

 

===

David V. Hildebrand

Agriculture Financial Services Corporation

(403) 782-8239   



www.afsc.ca http://www.afsc.ca http://www.afsc.ca/ 

This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this
email.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] querying to getting bounding box coordinates

2010-11-24 Thread David Hildebrand
Thanks for the tip, Jukka.  I, too, know very little about mapscript and the 
documentation is sparse in terms of learning it.  I'm curious about WFS queries 
on a WMS instance.  I believe I have my mapfile set up correctly because the 
layer in question comes up as ows_type=WFS when I do a WMS DescribeLayer.  
What else do I need?  Will WFS calls work with a WMS instance?

Thanks

===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca http://www.afsc.ca
This communication is intended for the use of the recipient to which it is 
addressed, and may contain confidential, personal and/or privileged 
information. Please contact Agriculture Financial Services Corporation 
immediately if you are not the intended recipient of this communication, and do 
not copy, distribute, or take action relying on it. Any communication received 
in error, or subsequent reply, should be deleted or destroyed. Please consider 
the environment before printing this email.

-Original Message-
From: Rahkonen Jukka [mailto:jukka.rahko...@mmmtike.fi] 
Sent: Tuesday, November 23, 2010 3:12 PM
To: David Hildebrand
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] querying to getting bounding box coordinates

Hi,

Yes, they are WFS queries but you can send them to the same Mapserver service 
if you configure the mapfile properly. If you do not want to use WFS then I 
suppose you can do whatever you want with mapscript but that is something I do 
not know anything about. With some imagination it could be possible to do 
queries and get vectors out from WMS service and search the bounding box on 
client side (by using attribute filters inside SLD, or variable substitution 
inside DATA or FILTER, and by having KML as outputformat). Does not feel like a 
right way to do even it might be fun to experiment with. I suggest to read 
about mapscript http://mapserver.org/mapscript/index.html

-Jukka-


-Alkuperäinen viesti-
Lähettäjä: David Hildebrand [mailto:david.hildebr...@afsc.ca]
Lähetetty: ti 23.11.2010 23:31
Vastaanottaja: Rahkonen Jukka
Kopio: mapserver-users@lists.osgeo.org
Aihe: RE: [mapserver-users] querying to getting bounding box coordinates
 
Jukka:

The examples you used were WFS queries.  I wasn't aware that WMS queries also 
supported filters?


===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca http://www.afsc.ca
This communication is intended for the use of the recipient to which it is 
addressed, and may contain confidential, personal and/or privileged 
information. Please contact Agriculture Financial Services Corporation 
immediately if you are not the intended recipient of this communication, and do 
not copy, distribute, or take action relying on it. Any communication received 
in error, or subsequent reply, should be deleted or destroyed. Please consider 
the environment before printing this email.


-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Rahkonen Jukka
Sent: Tuesday, November 23, 2010 2:12 PM
To: David Hildebrand; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] querying to getting bounding box coordinates

Hi,

One alternative is to make first a WFS request with attribute filter for 
finding the feature and let the client to catch the bounding box from the 
result.
These examples should work, first is Geoserver and another Mapserver. The 
latter is pointing to a point layer and therefore I queried two features for 
getting a reasonable bounding box.

http://sigma.openplans.org:8080/geoserver/wfs?service=wfsversion=1.1.0request=getfeaturetypename=statesmaxfeatures=1
http://188.64.1.61/cgi-bin/osm-mapserver_i?service=wfsversion=1.1.0request=getfeaturetypename=POI_pub_restaurantmaxfeatures=2

These are just crude examples without the property filter. Queries can be build 
also so that they do not return attributes. I hope you'll see the idea and 
think if it could make sense for your use case.

-Jukka Rahkonen-


-Alkuperäinen viesti-
Lähettäjä: mapserver-users-boun...@lists.osgeo.org puolesta: David Hildebrand
Lähetetty: ti 23.11.2010 22:48
Vastaanottaja: mapserver-users@lists.osgeo.org
Aihe: [mapserver-users] querying to getting bounding box coordinates
 
I am running a WMS service with Mapserver in a Windows environment.  I
want to be able to run a non-spatial query on a parcel layer to return
the bounding box (in re-projected coordinates) for a particular parcel.
The bounding box and projection will then be used in a WMS query to
return a map image.

I've never coded server-side functionality with Mapserver so any
suggestions would be welcome.

Thanks to all.


===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca http://www.afsc.ca
This communication is intended

RE: [mapserver-users] querying to getting bounding box coordinates

2010-11-24 Thread David Hildebrand
It's a bit clumsy but the OGC Filter Encoding protocol forks fine (but I 
wouldn't want to key it into a browser by hand).  The output is gml which needs 
to parsed.


===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca http://www.afsc.ca
This communication is intended for the use of the recipient to which it is 
addressed, and may contain confidential, personal and/or privileged 
information. Please contact Agriculture Financial Services Corporation 
immediately if you are not the intended recipient of this communication, and do 
not copy, distribute, or take action relying on it. Any communication received 
in error, or subsequent reply, should be deleted or destroyed. Please consider 
the environment before printing this email.


-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of David Hildebrand
Sent: Wednesday, November 24, 2010 12:14 PM
To: Rahkonen Jukka
Cc: mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] querying to getting bounding box coordinates

Jukka:

I have my MapServer mapfile configured for a WFS service and I can perform 
GetCapabilities and GetFeature queries.  Is there a URL syntax to specify 
filter criteria?

Thanks.

===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca http://www.afsc.ca
This communication is intended for the use of the recipient to which it is 
addressed, and may contain confidential, personal and/or privileged 
information. Please contact Agriculture Financial Services Corporation 
immediately if you are not the intended recipient of this communication, and do 
not copy, distribute, or take action relying on it. Any communication received 
in error, or subsequent reply, should be deleted or destroyed. Please consider 
the environment before printing this email.


-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of David Hildebrand
Sent: Wednesday, November 24, 2010 9:49 AM
To: Rahkonen Jukka
Cc: mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] querying to getting bounding box coordinates

Thanks for the tip, Jukka.  I, too, know very little about mapscript and the 
documentation is sparse in terms of learning it.  I'm curious about WFS queries 
on a WMS instance.  I believe I have my mapfile set up correctly because the 
layer in question comes up as ows_type=WFS when I do a WMS DescribeLayer.  
What else do I need?  Will WFS calls work with a WMS instance?

Thanks

===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca http://www.afsc.ca
This communication is intended for the use of the recipient to which it is 
addressed, and may contain confidential, personal and/or privileged 
information. Please contact Agriculture Financial Services Corporation 
immediately if you are not the intended recipient of this communication, and do 
not copy, distribute, or take action relying on it. Any communication received 
in error, or subsequent reply, should be deleted or destroyed. Please consider 
the environment before printing this email.

-Original Message-
From: Rahkonen Jukka [mailto:jukka.rahko...@mmmtike.fi] 
Sent: Tuesday, November 23, 2010 3:12 PM
To: David Hildebrand
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] querying to getting bounding box coordinates

Hi,

Yes, they are WFS queries but you can send them to the same Mapserver service 
if you configure the mapfile properly. If you do not want to use WFS then I 
suppose you can do whatever you want with mapscript but that is something I do 
not know anything about. With some imagination it could be possible to do 
queries and get vectors out from WMS service and search the bounding box on 
client side (by using attribute filters inside SLD, or variable substitution 
inside DATA or FILTER, and by having KML as outputformat). Does not feel like a 
right way to do even it might be fun to experiment with. I suggest to read 
about mapscript http://mapserver.org/mapscript/index.html

-Jukka-


-Alkuperäinen viesti-
Lähettäjä: David Hildebrand [mailto:david.hildebr...@afsc.ca]
Lähetetty: ti 23.11.2010 23:31
Vastaanottaja: Rahkonen Jukka
Kopio: mapserver-users@lists.osgeo.org
Aihe: RE: [mapserver-users] querying to getting bounding box coordinates
 
Jukka:

The examples you used were WFS queries.  I wasn't aware that WMS queries also 
supported filters?


===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca http://www.afsc.ca
This communication is intended for the use of the recipient to which it is 
addressed, and may contain confidential, personal and/or privileged 
information. Please contact Agriculture Financial

[mapserver-users] configuring WCS

2010-11-24 Thread David Hildebrand
I am trying to configure a WCS service but when I do a GetCapabilities I
get the following error.

msOWSGetLayerExtent(): WMS server error. Wrong number of arguments for
EXTENT metadata.

I have wcs_extent defined for all the layers but nowhere in the
MapServer documentation can I find that the WEBMETADATA tag requires
extent to be defined.  I have WMS and WFS services running and there
seems to be no problem with the configuration.

Any clues?


===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca http://www.afsc.ca
This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this
email.



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] querying to getting bounding box coordinates

2010-11-23 Thread David Hildebrand
I am running a WMS service with Mapserver in a Windows environment.  I
want to be able to run a non-spatial query on a parcel layer to return
the bounding box (in re-projected coordinates) for a particular parcel.
The bounding box and projection will then be used in a WMS query to
return a map image.

I've never coded server-side functionality with Mapserver so any
suggestions would be welcome.

Thanks to all.


===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca http://www.afsc.ca
This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this
email.


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] CGI wrapper scripts

2010-11-17 Thread David Hildebrand
The MapServer documentation has an example of CGI wrapper scripts for a
UNIX environment.  Would there be an equivalent Windows form I could
use?  I was thinking of using PERL.


===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca http://www.afsc.ca
This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this
email.


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] WMS identify within ArcGIS

2010-11-12 Thread David Hildebrand
Mark:

 

I did a bit of digging and discovered a couple of things with respect to
GML encoding.  The ESRI documentation states that GML is supported and,
in fact, encouraged with WFS services
(http://webhelp.esri.com/arcgisserver/9.3/dotNet/index.htm#wfs_service.h
tm).  However, because WMS services are not designed to deliver
geographic data but simply map images GML is not supported from WMS
services.  ArcGIS desktop does, indeed, support GML from WFS services
and the Data Interoperability extension extends that support to a number
of different schemas
(http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=An_overvi
ew_of_GML_support_in_ArcGIS).  I'm not sure, however, if the Data
Interoperability extension would be required.  I suspect not but I may
be wrong.  In short, if you want to use GML for attribute encoding in
ArcMap, set up your service as WFS and try it.  Otherwise, text/html
might just have to suffice.

 

Hope this helps.

===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca about:www.afsc.ca  http://www.afsc.ca
http://www.afsc.ca/ 
This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this
email.

  _  

From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of David
Hildebrand
Sent: Friday, November 12, 2010 12:02 PM
To: Mark Volz
Cc: mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] WMS identify within ArcGIS

 

Mark:

 

Apparently I was in error.  I restarted apache this morning and when I
loaded the layer in question into ArcMap and did an Identify I got the
results I wanted.  I am not an apache guru so I'm not exactly sure what
I did right.  

 

In the WEBMETADATA section of my map file I have the line
wms_feature_info_mime_type text/html.  For each layer have the lines

 

  TEMPLATE layer.html

  DUMP TRUE

 

The html template as well as the relevant map files are attached.

 

This configuration works for text/html output but I'm not sure if ESRI
supports GML.  Hope this helps.

 

 

===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca about:www.afsc.ca  http://www.afsc.ca
http://www.afsc.ca/ 
This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this
email.

  _  

From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of David
Hildebrand
Sent: Wednesday, November 10, 2010 5:02 PM
To: mapserver-users@lists.osgeo.org
Cc: Mark Volz
Subject: RE: [mapserver-users] WMS identify within ArcGIS

 

It seems that ArcMap only supports text/plain output for WMS info_format
even when requested otherwise.  To my knowledge this format does not
return attribute values but simply feature numbers (someone correct me
if I am wrong).  I have a support call into ESRI even as we speak so I
will pass that information along when I get it.

 

Till later,

 

===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca about:www.afsc.ca  http://www.afsc.ca
http://www.afsc.ca/ 
This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this
email.

  _  

From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Mark Volz
Sent: Wednesday, November 10, 2010 2:58 PM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] WMS identify within ArcGIS

 

Hello,

I am trying to set up Mapserver as a WMS server.  Currently I can draw
maps.  However, I am having trouble getting the server to support
Identify, specifically within ArcGIS.

Does anyone have an example

RE: [mapserver-users] WMS identify within ArcGIS

2010-11-10 Thread David Hildebrand
It seems that ArcMap only supports text/plain output for WMS info_format
even when requested otherwise.  To my knowledge this format does not
return attribute values but simply feature numbers (someone correct me
if I am wrong).  I have a support call into ESRI even as we speak so I
will pass that information along when I get it.

 

Till later,

 

===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca about:www.afsc.ca  http://www.afsc.ca
http://www.afsc.ca/ 
This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this
email.

  _  

From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Mark Volz
Sent: Wednesday, November 10, 2010 2:58 PM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] WMS identify within ArcGIS

 

Hello,

I am trying to set up Mapserver as a WMS server.  Currently I can draw
maps.  However, I am having trouble getting the server to support
Identify, specifically within ArcGIS.

Does anyone have an example map file and template that allows WMS
Identify in ArcGIS.

Thank You

Mark Volz

GIS Specialist

Lyon County, MN

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] testing WMS GetMap

2010-11-08 Thread David Hildebrand
I am trying to test my MapServer WMS configuration.  I can successfully
test the GetCapabilities.  However, when I test GetMap I get the typical
HTTP 404: URL not found error.  The native mapserv CGI is functioning
because I can serve maps.  However, I may need a couple of pointers on
WMS URL syntax.  Do I need an SRS parameter if this is set in the map
file?  Do I need the BBOX parameter if I want the full extent as defined
in the map file?  What about WIDTH, HEIGHT and FORMAT?

 

Thanks.

 

 

===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca about:www.afsc.ca  http://www.afsc.ca
http://www.afsc.ca/ 
This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this
email.

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] RE: DEM display

2010-11-05 Thread David Hildebrand
Actually, I want to show the DEM as a colour-coded elevation raster.
However, I also want to incorporate the hillshade model.  I think I can
do that by setting the OPACITY of the hillshade.

 

===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca about:www.afsc.ca  http://www.afsc.ca
http://www.afsc.ca/ 
This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this
email.

  _  

From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Fawcett,
David (MPCA)
Sent: Friday, November 05, 2010 7:43 AM
To: David Hildebrand; mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] RE: DEM display

 

David, 

 

You can easily set up your hillshade image as one layer and turn it on
for display.  In addition to that, you can have your DEM as a second
layer that is not displayed, but is available for query.  

 

I don't think that I have ever used the raster query functionality, but
you can find some info here:

http://trac.osgeo.org/mapserver/wiki/RasterQuery

http://mapserver.org/input/raster.html#raster-query

 

Is this what you were thinking?

 

David.

 

From: David Hildebrand [mailto:david.hildebr...@afsc.ca] 
Sent: Thursday, November 04, 2010 4:26 PM
To: mapserver-users@lists.osgeo.org
Cc: Fawcett, David (MPCA)
Subject: RE: [mapserver-users] RE: DEM display

 

How can I combine a pre-rendered hillshade model with an elevation
layer?  Can I set the transparency of a layer?  Is there a GDAL utility
for rendering a combined hillshade/elevation model which will still
retain the original elevation values for query?

 

===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca about:www.afsc.ca  http://www.afsc.ca
http://www.afsc.ca/ 
This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this
email.

  _  

From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Fawcett,
David (MPCA)
Sent: Thursday, November 04, 2010 7:32 AM
To: David Hildebrand; mapserver-users@lists.osgeo.org
Subject: [mapserver-users] RE: DEM display

 

I would pre-render all of my hillshades and then add them as simple
raster layers.

 

David. 

 

From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of David
Hildebrand
Sent: Wednesday, November 03, 2010 6:25 PM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] DEM display

 

I have an SRTM file in TIF format which I want to display in a shaded
relief but I'm not sure of the approach I should take.  Do I need to
define classes and symbols for the layer (that would not help for the
hillshade) or should I execute a script (PERL) on the server to create
the image I need on the fly?

 

Thanks for the tips.

 

===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca about:www.afsc.ca  http://www.afsc.ca
http://www.afsc.ca/ 
This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this
email.

 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] RE: DEM display

2010-11-04 Thread David Hildebrand
How can I combine a pre-rendered hillshade model with an elevation
layer?  Can I set the transparency of a layer?  Is there a GDAL utility
for rendering a combined hillshade/elevation model which will still
retain the original elevation values for query?

 

===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca about:www.afsc.ca  http://www.afsc.ca
http://www.afsc.ca/ 
This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this
email.

  _  

From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Fawcett,
David (MPCA)
Sent: Thursday, November 04, 2010 7:32 AM
To: David Hildebrand; mapserver-users@lists.osgeo.org
Subject: [mapserver-users] RE: DEM display

 

I would pre-render all of my hillshades and then add them as simple
raster layers.

 

David. 

 

From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of David
Hildebrand
Sent: Wednesday, November 03, 2010 6:25 PM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] DEM display

 

I have an SRTM file in TIF format which I want to display in a shaded
relief but I'm not sure of the approach I should take.  Do I need to
define classes and symbols for the layer (that would not help for the
hillshade) or should I execute a script (PERL) on the server to create
the image I need on the fly?

 

Thanks for the tips.

 

===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca about:www.afsc.ca  http://www.afsc.ca
http://www.afsc.ca/ 
This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this
email.

 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] map file paths

2010-11-03 Thread David Hildebrand
Is there a way of abbreviating pathnames to the map file?  For instance,
my URL to produce a map is

 

http://localhost/cgi-bin/mapserv.exe?map=//fileserver/PDP/Program_Dev/DH
ildebrand/geoprocessing_server/MapServer/sample.mapmode=map

 

In my apache configuration file I have
//fileserver/PDP/Program_Dev/DHildebrand/geoprocessing_server/ aliased
to /test/ but the alias does not seem to work with CGI.  I'm just
wondering if there is a workaround so that I don't need to specify the
whole file path in my URL.

 

Thanks.

===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca about:www.afsc.ca  http://www.afsc.ca
http://www.afsc.ca/ 
This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this
email.

 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] DEM display

2010-11-03 Thread David Hildebrand
I have an SRTM file in TIF format which I want to display in a shaded
relief but I'm not sure of the approach I should take.  Do I need to
define classes and symbols for the layer (that would not help for the
hillshade) or should I execute a script (PERL) on the server to create
the image I need on the fly?

 

Thanks for the tips.

 

===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca about:www.afsc.ca  http://www.afsc.ca
http://www.afsc.ca/ 
This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this
email.

 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] mapfile

2010-11-02 Thread David Hildebrand
I have installed ms4w on XP and am trying to display a simple map with the 
following map file.

 

MAP

  IMAGETYPE png

  SIZE 600 400

  EXTENT -120 49 -110 60

  UNITS dd

  SHAPEPATH R:/GIS/

  LAYER

NAME Elevation

TYPE raster

DATA srtm/elevation.tif

  END

END

 

I am testing mapserv from the command line with the following command

 

mapserv -nh 
QUERY_STRING=map=R:/Program_Dev/DHildebrand/geoprocessing_server/MapServer/sample.mapmode=map

 

The following output is returned, which, I presume, is a PNG stream but there 
are no errors generated.

 

ëPNG

→

IHDR  ☻X  ☺É☺♥  ☺?ⁿ╝M   ♥PLTE   º─←╚   5IDATx£φ┴ü├á∙S_ß U☺

   |♠y↑ ☺░→ä♀IEND«B`é

 

 

When but when I redirect the output to a *.png file, though, I simply get a 
blank white image.  Any clues?

 

Thanks.

 

 

===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca about:www.afsc.ca  http://www.afsc.ca http://www.afsc.ca/ 
This communication is intended for the use of the recipient to which it is 
addressed, and may contain confidential, personal and/or privileged 
information. Please contact Agriculture Financial Services Corporation 
immediately if you are not the intended recipient of this communication, and do 
not copy, distribute, or take action relying on it. Any communication received 
in error, or subsequent reply, should be deleted or destroyed. Please consider 
the environment before printing this email.

 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] ms4w installation

2010-11-02 Thread David Hildebrand
I have a problem with IMSEmu.  When I test after installation of ms4w I
get the following XML string

?xml version=1.0 ?

ARCXML version=1.0

RESPONSE

ERROR machine=IMSEmu WINNT; Apache/2.2.10 (Win32); PHP 5.2.6 cgi-fcgi
processid=0 threadid=

XMLParser: Fatal parsing error: 'Undefined variable: post'

/ERROR

/RESPONSE

/ARCXML

 

I also have a couple of general questions.  Firstly, why would I want to
run IMSEmu over a WMS service when ArcGIS will consume either one?
Secondly, what is the relationship between Chameleon and CWC2?  Does
Chameleon require CWC2?

 

 

===
David V. Hildebrand
Agriculture Financial Services Corporation
(403) 782-8239   

www.afsc.ca about:www.afsc.ca  http://www.afsc.ca
http://www.afsc.ca/ 
This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and/or privileged
information. Please contact Agriculture Financial Services Corporation
immediately if you are not the intended recipient of this communication,
and do not copy, distribute, or take action relying on it. Any
communication received in error, or subsequent reply, should be deleted
or destroyed. Please consider the environment before printing this
email.

 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users