[mapserver-users] FW: GetCapabilities always returning version 1.3.0

2013-11-15 Thread Sowmya Tiramdasu
Hi Rahkonen, 

Thank you very much for your explanation. I know understand how it is working. 
But, I am still confused about why it is not working when I make a call with 
1.3.0 specifications. 

I am getting this error : msBuildWMSLayerURL(): WMS connection error. Map 
Server supports only WMS 1.0.0 to 1.1.1 (please verify the VERSION parameter in 
the connection string).

But the GetCapabilities returns the default supported version as 1.3.0. Any 
more suggestions on ideas on why this is happening will be greatly appreciated. 

Thanks, 
Sowmya. 
-Original Message-
From: Rahkonen Jukka [mailto:jukka.rahko...@mmmtike.fi] 
Sent: Thursday, November 14, 2013 5:23 PM
To: Sowmya Tiramdasu; mapserver-users@lists.osgeo.org
Subject: VS: GetCapabilities always returning version 1.3.0

WMS standard says about version number negotiation

A WMS client may negotiate with a server to determine a mutually agreeable 
protocol version. Negotiation isperformed using the GetCapabilities operation 
(described in 7.2) according to the following rules.
All service metadata shall include a protocol version number and shall comply 
with the XML DTD or Schema defined for that version. In response to a 
GetCapabilities request (for which the VERSION parameter is optional)that does 
not specify a version number, the server shall respond with the highest version 
it supports.
In responseto a GetCapabilities request containing a version number that the 
server implements, the server shall send that version. If the server does not 
support the requested version, the server shall respond with output that 
conforms to a version it does support, as determined by the following rules:


- If a version unknown to the server and higher than the lowest supported 
version is requested, the server shallsend the highest version it supports that 
is less than the requested version.
- If a version lower than any of those known to the server is requested, then 
the server shall send the lowest version it supports.
- If the client does not support the version sent by theserver, it may either 
cease communicating with the server or send a new request with a different 
version number that the client does support

Thus, you ask GetCapabilities without version and you get the highest supported 
(1.3) and so far everything is all right. But I wonder why people want to drop 
version out of the request because it really tends to make more trouble thatn 
good.

Next thing is that you have misunderstood the meaning of wmw_server_version. 
It is used when Mapserver reads data from another WMS server (cascading WMS).  
There is another metadata item for controlling the version that Mapserver 
writes into the GetCapabilities and it is wms_getcapabilities_version as you 
can read from http://mapserver.org/ogc/wms_server.html

But I do not understand one thing: why doesn't your GetMap in WMS 1.3.0 work. 
It should, and it does work for me with MS 6.2.1 even I added that faulty 
metadata item wms_server_version 1.1.1 just like you.

-Jukka Rahkonen-



Sowmya Tiramdasu wrote:

Hi,

I have mapserver configured on my IIS server. I configured a project on it . My 
mapfile looks like this :

MAP
IMAGETYPEPNG
EXTENT-87.041564905451 34.41840442792049 
85.87371108337896 35.01821204159302 # extents in GoogleEarth 4326 projection.
SIZE   1000 800
SHAPEPATH  C:\data
SYMBOLSET  ../symbols/symbols35.sym
TRANSPARENT ON
CONFIG PROJ_LIB ../proj/nad
IMAGECOLOR 0 0 0
FONTSET../fonts/fonts.list
PROJECTION
init=epsg:4326
END
WEB
IMAGEPATH C:/inetpub/wwwroot/Images/
IMAGEURL http://localhost/Images/;
METADATA
wms_enable_request *
wms_title WMS Lidar Server
wms_onlineresource 
http://SOWMYAPC/Mapserver/mapserv.exe?map=Map/Madison.map;
wms_srs epsg:4326
END
END

CONFIG CPL_DEBUG ON
CONFIG PROJ_DEBUG ON

LAYER
NAME MadisonBoundariesDefault
TYPE RASTER
STATUS ON
CONNECTION 
http://localhost/Sheridan/Default.aspx?PROJECT=Madison;
CONNECTIONTYPE WMS
#OPACITY 50
METADATA
wms_srs EPSG:4326 EPSG:26916 

wms_name Boundaries

Re: [mapserver-users] FW: GetCapabilities always returning version 1.3.0

2013-11-15 Thread Sowmya Tiramdasu
Hi Daniel, 

Thank you very much. You are a life saver. I was breaking my head all day not 
understanding what's happening. I just changed the axis order and it worked!!

Thanks again, appreciate all the help.

Sowmya.

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Daniel Morissette
Sent: Friday, November 15, 2013 3:03 PM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] FW: GetCapabilities always returning version 
1.3.0

Hi Sowmya,

You're almost there. The last issue you're having (i.e. WMS 1.3.0 returning an 
empty map) is probably related to the coordinate order in the BBOX param of 
your WMS 1.3.0 request.

You're not the first to be hit by this feature of WMS 1.3.0. Welcome to the 
club!  :-)

A more complete explanation is available here:

http://dmorissette.blogspot.ca/2012/12/dont-upgrade-to-wms-130-unless-you.html


Daniel


On 13-11-15 2:18 PM, Sowmya Tiramdasu wrote:
 Hi Daniel,

 Thanks for your reply. Now , I understand the difference.

 I kept the version number as 1.1.1 for the WMS layers ( i.e Mapserver 
 is acting like a client here and it is making a 1.1.1 version WMS 
 call)

 - Now , I am making a WMS call to my mapserver which is acting like a server 
 with 1.3.0 specification : It does not throw any error , but I also do not 
 see any output. If I go in to the log file and look, I see that it has not 
 made any WMS call to retrieve the WMS layer I was requesting for.
 http://localhost/Mapserver/mapserv.exe?map=Map/Madison.maplayers=Madi
 sonTINAllElevationSERVICE=WMSVERSION=1.3.0REQUEST=GetMapCRS=EPSG:4
 326WIDTH=1024HEIGHT=1024FORMAT=image/pngBBOX=-88.12389834102549,33
 .87450079156257,-84.72000992109749,35.62513193645572
 LOGFILE :
 [Fri Nov 15 13:19:25 2013].513000 CGI Request 3 on process 13972 [Fri 
 Nov 15 13:19:25 2013].513000 msWMSLoadGetMapParams(): enabling non-square 
 pixels.
 [Fri Nov 15 13:19:25 2013].516000 msDrawMap(): kicking into non-square pixel 
 preserving mode.
 [Fri Nov 15 13:19:25 2013].516000 msDrawMap(): rendering using outputformat 
 named png (AGG/PNG).
 [Fri Nov 15 13:19:25 2013].516000 msDrawMap(): WMS/WFS set-up and 
 query, 0.000s [Fri Nov 15 13:19:25 2013].516000 msDrawMap(): Layer 1 
 (MadisonTinAllElevation), 0.000s [Fri Nov 15 13:19:25 2013].516000 
 msDrawMap(): Drawing Label Cache, 0.000s [Fri Nov 15 13:19:25 
 2013].516000 msDrawMap() total time: 0.003s [Fri Nov 15 13:19:25 
 2013].578000 msSaveImage(stdout) total time: 0.062s [Fri Nov 15 
 13:19:25 2013].578000 mapserv request processing time (msLoadMap not 
 incl.): 0.065s


 -But if I do the same call with 1.1.1 specification, I get the result back.
 http://localhost/Mapserver/mapserv.exe?map=Map/Madison.maplayers=Madi
 sonTINAllElevationSERVICE=WMSVERSION=1.1.1REQUEST=GetMapSRS=EPSG:4
 326WIDTH=1024HEIGHT=1024FORMAT=image/pngBBOX=-88.12389834102549,33
 .87450079156257,-84.72000992109749,35.62513193645572

 LOGFILE :
 [Fri Nov 15 13:16:36 2013].276000 CGI Request 1 on process 13972 [Fri 
 Nov 15 13:16:36 2013].276000 msWMSLoadGetMapParams(): enabling non-square 
 pixels.
 [Fri Nov 15 13:16:36 2013].278000 msDrawMap(): kicking into non-square pixel 
 preserving mode.
 [Fri Nov 15 13:16:36 2013].279000 msDrawMap(): rendering using outputformat 
 named png (AGG/PNG).
 [Fri Nov 15 13:16:36 2013].281000 HTTP: Starting to prepare HTTP requests.
 [Fri Nov 15 13:16:36 2013].281000 HTTP request: id=1, 
 http://localhost/Sheridan/Default.aspx?PROJECT=MadisonLAYERS=TINREQU
 EST=GetMapSERVICE=WMSFORMAT=image/pngSTYLES=AllElevationHEIGHT=102
 4VERSION=1.1.1SRS=EPSG:4326WIDTH=1024BBOX=-88.125560395918,33.8736
 459911988,-84.7183478662049,35.6259867368194TRANSPARENT=TRUEEXCEPTIO
 NS=application/vnd.ogc.se_xml [Fri Nov 15 13:16:36 2013].281000 HTTP: 
 Before download loop [Fri Nov 15 13:16:39 2013].454000 
 msHTTPWriteFct(id=1, 16177 bytes) [Fri Nov 15 13:16:39 2013].454000 
 msHTTPWriteFct(id=1, 16384 bytes) [Fri Nov 15 13:16:39 2013].454000 
 msHTTPWriteFct(id=1, 16384 bytes) [Fri Nov 15 13:16:39 2013].454000 
 msHTTPWriteFct(id=1, 16384 bytes) [Fri Nov 15 13:16:39 2013].454000 
 msHTTPWriteFct(id=1, 10273 bytes) [Fri Nov 15 13:16:39 2013].454000 
 HTTP: After download loop [Fri Nov 15 13:16:39 2013].454000 
 msHTTPExecuteRequests() timing summary per layer (connect_time + 
 time_to_first_packet + download_time = total_time in seconds) [Fri Nov 
 15 13:16:39 2013].454000 Layer 1: 0.016 + 3.167 + 0.016 = 3.199s [Fri 
 Nov 15 13:16:39 2013].454000 msDrawMap(): WMS/WFS set-up and query, 3.175s 
 [Fri Nov 15 13:16:39 2013].456000 
 msDrawRasterLayerLow(MadisonTinAllElevation): entering.
 [Fri Nov 15 13:16:39 2013].456000 msResampleGDALToMap(): LOAD_WHOLE_IMAGE 
 set, loading whole image.
 [Fri Nov 15 13:16:39 2013].456000 msResampleGDALToMap in effect: 
 cellsize = 0.003331 [Fri Nov 15 13:16:39 2013].458000 
 msDrawGDAL(MadisonTinAllElevation): using RAW_WINDOW=0 0 1024 1024, 
 dst=0,0,1024,1024 [Fri

[mapserver-users] GetCapabilities always returning version 1.3.0

2013-11-14 Thread Sowmya Tiramdasu
=OPENGL SUPPORTS=ICONV SUPPORTS=FRIBIDI 
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=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE --

I am confused what is my actual WMS version. Any help would be greatly 
appreciated.

PS: when I do a getMap request in 1.1.1 version specifications , it works fine. 
But when I try to do a call in 1.3.0 specification  I get the following error : 
msBuildWMSLayerURL(): WMS connection error. MapServer supports only WMS 1.0.0 
to 1.1.1 (please verify the VERSION parameter in the connection string).

Thanks,
___
Sowmya Tiramdasu
QCoherent Software
9668 Madison Blvd., Suite 202
Madison, AL 35758
(256) 461-8289 Telephone
(256) 461-8249 Fax
www.geocue.comhttp://www.geocue.com/


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

[mapserver-users] mapserver Projection

2013-06-24 Thread Sowmya Tiramdasu
Hi,

  I am trying to make mapserver read a shape file, which has 
WGS_1984_Web_mercator_Auxillary_sphere as its projection. This is the ARCGIS 
Explorer standard projection. I wrote code to make a shape file out of the 
Notes drawn on the ARC GIS Explorer. So that's the projection of it.

   Now, when I am creating a layer in the mapfile, what should I give under the 
projection information for the layer. I checked on the 
www.spatialreference.orghttp://www.spatialreference.org site that this 
particular projection does not have any proj 4 format. Any help would be 
greatly appreciated.

Thanks,
___
Sowmya Tiramdasu
QCoherent Software
9668 Madison Blvd., Suite 202
Madison, AL 35758
(256) 461-8289 Telephone
(256) 461-8249 Fax
www.geocue.comhttp://www.geocue.com/


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


[mapserver-users] Access network share drive for data in mapfile throwing error

2013-03-07 Thread Sowmya Tiramdasu
Hi, 

 

  I am trying to access data directly from a network share folder in my
mapfile. But it is not working . It is throwing the following error. 

 

msDrawMap(): Image handling error. Failed to draw layer named
#39;ControlPoints#39;.

msShapefileOpen(): Unable to access file.
(\DISKSTATION1\data\SheridanData\Keeneland\Vector Data\Geographic Control
Points\Geographic Control Points.shp)

msShapefileOpen(): Unable to access file.
(\DISKSTATION1\data\SheridanData\Keeneland\Vector Data\Geographic Control
Points\Geographic Control Points.shp)

msSHPLayerGetItems(): Shapefile error. Shapefile layer has not been opened.

KmlRenderer::startNewLayer: General error message. msLayerOpen failed

msShapefileOpen(): Unable to access file.
(\DISKSTATION1\data\SheridanData\Keeneland\Vector Data\Geographic Control
Points\Geographic Control Points.shp)

msShapefileOpen(): Unable to access file.
(\DISKSTATION1\data\SheridanData\Keeneland\Vector Data\Geographic Control
Points\Geographic Control Points.shp)

 

 

I tried to search in the old email archives. In one of the email chains they
suggested me to check if gdal/ogr can actually open the files. I did gdal
info for tiff files and they are giving the right information. Similarly
ogrinfo for shp files and they too are fine. 

 

Can anyone please suggest what is the problem and give me solution to fix
this. Find below snapshot of my mapfile for your reference. 

 

LAYER

NAME KeenelandStatePlane38

DATA
\\DISKSTATION1\data\SheridanData\Keeneland\Imagery\StatePlane\SPSPSPO-00039
.tif

STATUS   OFF

TYPE RASTER

OPACITY 75 

PROJECTION

init=EPSG:102679

END

DEBUG 5

END   



LAYER

NAME ControlPoints #Photogrammetric
points

DATA
\\DISKSTATION1\data\SheridanData\Keeneland\Vector Data\Geographic Control
Points\Geographic Control Points.shp

STATUS   OFF

TYPE POINT

CLASS

STYLE

# Symbol to
be used (reference)

SYMBOL
circle

# Size of
the symbol in pixels

SIZE 8

COLOR 190 20
190

# Outline
colour (RGB) - black

OUTLINECOLOR
0 0 0

END 

END

PROJECTION

init=epsg:102679

END

END

 

Thanks in advance, 

Sowmya.

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


Re: [mapserver-users] Access network share drive for data in mapfile throwing error

2013-03-07 Thread Sowmya Tiramdasu
Hi Andy, 

 Thanks for your suggestion. Giving an extra slash worked :) 

Stephen : I think the windows path doesn't give any problem. So the slashes
are not the issue here. Anyways thanks for your suggestion. 

Thanks, 
Sowmya. 

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Andy Colson
Sent: Thursday, March 07, 2013 10:00 AM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Access network share drive for data in
mapfile throwing error

On 3/7/2013 9:48 AM, Sowmya Tiramdasu wrote:
 Hi,

I am trying to access data directly from a network share folder in my
 mapfile. But it is not working . It is throwing the following error.

 msDrawMap(): Image handling error. Failed to draw layer named
 #39;ControlPoints#39;.

 msShapefileOpen(): Unable to access file.
 (\DISKSTATION1\data\SheridanData\Keeneland\Vector Data\Geographic
 Control Points\Geographic Control Points.shp)

 msShapefileOpen(): Unable to access file.
 (\DISKSTATION1\data\SheridanData\Keeneland\Vector Data\Geographic
 Control Points\Geographic Control Points.shp)

 msSHPLayerGetItems(): Shapefile error. Shapefile layer has not been
opened.

 KmlRenderer::startNewLayer: General error message. msLayerOpen failed

 msShapefileOpen(): Unable to access file.
 (\DISKSTATION1\data\SheridanData\Keeneland\Vector Data\Geographic
 Control Points\Geographic Control Points.shp)

 msShapefileOpen(): Unable to access file.
 (\DISKSTATION1\data\SheridanData\Keeneland\Vector Data\Geographic
 Control Points\Geographic Control Points.shp)

 I tried to search in the old email archives. In one of the email chains
 they suggested me to check if gdal/ogr can actually open the files. I
 did gdal info for tiff files and they are giving the right information.
 Similarly ogrinfo for shp files and they too are fine.

 Can anyone please suggest what is the problem and give me solution to
 fix this. Find below snapshot of my mapfile for your reference.

 LAYER

  NAME KeenelandStatePlane38

  DATA

\\DISKSTATION1\data\SheridanData\Keeneland\Imagery\StatePlane\SPSPSPO-00039
.tif

  STATUS   OFF

  TYPE RASTER

  OPACITY 75

  PROJECTION

  init=EPSG:102679

  END

  DEBUG 5

  END

  LAYER

  NAME ControlPoints
 #Photogrammetric points

  DATA
 \\DISKSTATION1\data\SheridanData\Keeneland\Vector Data\Geographic
 Control Points\Geographic Control Points.shp

  STATUS   OFF

  TYPE POINT

  CLASS

  STYLE

  #
 Symbol to be used (reference)

  SYMBOL
 circle

  # Size
 of the symbol in pixels

  SIZE 8

  COLOR
 190 20 190

  #
 Outline colour (RGB) - black


 OUTLINECOLOR 0 0 0

  END

  END

  PROJECTION

  init=epsg:102679

  END

  END

 Thanks in advance,

 Sowmya.

The error: Unable to access file. (\DISKSTATION1\..

Is missing a slash on front.  Maybe in your mapfile, try three slashes 
up front:

 DATA \\\DISKSTATION1\data...


-Andy
___
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] gdal20dev.dll not found

2012-10-26 Thread Sowmya Tiramdasu
Hi, 

 

  I am trying to compile mapserver from the sources using the Build kits. I
could get the required exes and libs generated but when I do 

 mapserv -v  operation it is looking for gdal20dev.dll which is not
available on my machine. 

 

Can anyone please tell me where I can find this dll or how I can make the
mapserver to look for other flavours of gdal dlls which I have ( liek
gdal19.dll etc)

 

Thanks in advance, 
Sowmya Tiramdasu. 

___

Sowmya Tiramdasu

GeoCue Corporation

9668 Madison Blvd., Suite 202

Madison, AL 35758

(256) 461-8289 Telephone 

(256) 461-8249 Fax

 http://www.geocue.com www.geocue.com

 

Integrating the Geospatial Workplace...

 

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


Re: [mapserver-users] gdal20dev.dll not found - Solved

2012-10-26 Thread Sowmya Tiramdasu
I got this one solved. Just wanted to post the solution . It could be
helpful to anyone else. 

 

I compiled gdal library again from the sources. There is a visual studio
solution available for gdal so I compiled it using visual studio and it
generated the gdal20dev.dll and my problem got solved. 

 

Now I could successfully get the mapserver compiled from the sources on a
64bit Windows 7 Machine. 

 

Thanks , 

Sowmya. 

___

Sowmya Tiramdasu

GeoCue Corporation

9668 Madison Blvd., Suite 202

Madison, AL 35758

(256) 461-8289 Telephone 

(256) 461-8249 Fax

 http://www.geocue.com www.geocue.com

 

Integrating the Geospatial Workplace...

 

From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Sowmya
Tiramdasu
Sent: Friday, October 26, 2012 7:58 AM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] gdal20dev.dll not found

 

Hi, 

 

  I am trying to compile mapserver from the sources using the Build kits. I
could get the required exes and libs generated but when I do 

 mapserv -v  operation it is looking for gdal20dev.dll which is not
available on my machine. 

 

Can anyone please tell me where I can find this dll or how I can make the
mapserver to look for other flavours of gdal dlls which I have ( liek
gdal19.dll etc)

 

Thanks in advance, 
Sowmya Tiramdasu. 

___

Sowmya Tiramdasu

GeoCue Corporation

9668 Madison Blvd., Suite 202

Madison, AL 35758

(256) 461-8289 Telephone 

(256) 461-8249 Fax

 http://www.geocue.com www.geocue.com

 

Integrating the Geospatial Workplace...

 

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


[mapserver-users] Building mapserver from sources

2012-10-25 Thread Sowmya Tiramdasu
Hi, 

 

  I am trying to build mapserver from sources. I am following the
instructions given in this article.  I am trying to build on a windows 7 ,64
bit machine. 

 

http://geographika.co.uk/building-mapserver-mapscript-on-windows 

 

I am getting fatal error ads follows:

 

Could Not Find D:\MapServer\mapserver-6-0\mapscriptvars

NMAKE : fatal error U1077: 'ms\apps\mapserv' : return code '0xc135'

Stop.

 

When I try to run mapserv -v command, it is complaining that libmap.dll is
not present.  Can anyone please help me in this issue. 

 

Thanks in advance, 

Sowmya. 

___

Sowmya Tiramdasu

GeoCue Corporation

9668 Madison Blvd., Suite 202

Madison, AL 35758

(256) 461-8289 Telephone 

(256) 461-8249 Fax

 http://www.geocue.com www.geocue.com

 

Integrating the Geospatial Workplace...

 

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


Re: [mapserver-users] Building mapserver from sources

2012-10-25 Thread Sowmya Tiramdasu
Hi, 

 

Here is the exact log entries while trying to build my mapserver.

 





xcopy /Y *.exe D:\MapServer\release-1600\bin\ms\apps

D:legend.exe

D:mapserv.exe

D:msencrypt.exe

D:scalebar.exe

D:shp2img.exe

D:shptree.exe

D:shptreevis.exe

D:sortshp.exe

D:tile4ms.exe

9 File(s) copied

cd ..

cd D:\MapServer\release-1600\bin

ms\apps\mapserv -v  D:\MapServer\release-1600\doc\ms_version.txt

NMAKE : fatal error U1077: 'ms\apps\mapserv' : return code '0xc135'

Stop.

 

Thanks, 

Sowmya

___

Sowmya Tiramdasu

GeoCue Corporation

9668 Madison Blvd., Suite 202

Madison, AL 35758

(256) 461-8289 Telephone 

(256) 461-8249 Fax

 http://www.geocue.com www.geocue.com

 

Integrating the Geospatial Workplace...

 

From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Sowmya
Tiramdasu
Sent: Thursday, October 25, 2012 8:24 AM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Building mapserver from sources

 

Hi, 

 

  I am trying to build mapserver from sources. I am following the
instructions given in this article.  I am trying to build on a windows 7 ,64
bit machine. 

 

http://geographika.co.uk/building-mapserver-mapscript-on-windows 

 

I am getting fatal error ads follows:

 

Could Not Find D:\MapServer\mapserver-6-0\mapscriptvars

NMAKE : fatal error U1077: 'ms\apps\mapserv' : return code '0xc135'

Stop.

 

When I try to run mapserv -v command, it is complaining that libmap.dll is
not present.  Can anyone please help me in this issue. 

 

Thanks in advance, 

Sowmya. 

___

Sowmya Tiramdasu

GeoCue Corporation

9668 Madison Blvd., Suite 202

Madison, AL 35758

(256) 461-8289 Telephone 

(256) 461-8249 Fax

 http://www.geocue.com www.geocue.com

 

Integrating the Geospatial Workplace...

 

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


[mapserver-users] Style paramter of WMS request

2012-10-19 Thread Sowmya Tiramdasu
Hi, 

 

  I have a mapfile in which one layer is a wms layer. I need to provide
style information of WMS getmap request in the WMS Layer. 

 

Under the Metadata i gave wms_style AllIntensity  but it is just giving
back the default style. Can anyone please throw some light on this topic.
How to achieve the required style output through the WMS layer in the
mapfile ?

 

Any help is greatly appreciated. Thanks in advance, 

 

Regards, 
Sowmya. 

___

Sowmya Tiramdasu

GeoCue Corporation

9668 Madison Blvd., Suite 202

Madison, AL 35758

(256) 461-8289 Telephone 

(256) 461-8249 Fax

 http://www.geocue.com www.geocue.com

 

Integrating the Geospatial Workplace...

 

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


[mapserver-users] compiling mapserver error : can not find gd.lib

2012-08-31 Thread Sowmya Tiramdasu
Hi, 

 

  I am trying to compile mapserver from sources on windows 7 computer. I am
facing the following problem. Can anyone please guide me. 

 

I used the link given in the Mapserver manual to download the GD library
package (http://www.boutell.com/gd/http/gdwin32.zip.)

 

When I am trying to compile mapserver this is the error I am getting. When I
try to look for gd.lib I do not have it :(


-

LINK : fatal error LNK1181: cannot open input file
'C:\Projects\gdwin32\gd.lib'

NMAKE : fatal error U1077: 'C:\Program Files (x86)\Microsoft Visual Studio
10.0

\VC\BIN\link.EXE' : return code '0x49d'

Stop.




Where can I get gd.lib?

 

Thanks , 

Sowmya. 

___

Sowmya Tiramdasu

QCoherent Software

9668 Madison Blvd., Suite 202

Madison, AL 35758

(256) 461-8289 Telephone 

(256) 461-8249 Fax

 http://www.geocue.com/ www.geocue.com

 

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


Re: [mapserver-users] KML generation-partially working

2012-08-15 Thread Sowmya Tiramdasu
Hi Michael,

 

  I see your point. But, the images itself are blank. So making the paths
absolute has no difference. When the output format is png, I get all the
layers rendered correctly. But when the Output format is set to KML only,
the image outputs from each layer are coming blank :(.

 

So any inputs regarding this? Has anyone else ran in to the same situation?

 

Thanks, 
Sowmya. 

___

Sowmya Tiramdasu

QCoherent Software

9668 Madison Blvd., Suite 202

Madison, AL 35758

(256) 461-8289 Telephone 

(256) 461-8249 Fax

www.geocue.com http://www.geocue.com/ 

 

From: Smith, Michael ERDC-RDE-CRREL-NH [mailto:michael.sm...@erdc.dren.mil] 
Sent: Tuesday, August 14, 2012 4:26 PM
To: Sowmya Tiramdasu; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] KML generation-partially working

 

You probably have to set your WEB / IMAGEURL to an absolute path since
otherwise the kml references are relative and not picked up.

 

And please, reply to the list, there are others that can learn and respond
that way.

 

Mike

 

-- 

Michael Smith

US Army Corps

Remote Sensing GIS/Center

 

From: Sowmya Tiramdasu stiramd...@qcoherent.com
Date: Tuesday, August 14, 2012 3:26 PM
To: Michael Smith michael.sm...@erdc.dren.mil
Subject: RE: [mapserver-users] KML generation-partially working

 

Hi Michael, 

 

  I looked in to the KML file. It looks fine. But the Images which have been
generated in the ms_tmp files are blank. There was an image for each layer,
which came out to be blank and for my layer 'ControlPoints' I gave under
class -Symbol- Circle. So I have an image corresponding to this symbol in
ms_tmp which is being used as the styleUrl in the KML. yet I am seeing a
cross mark for that place mark in the Google earth. 

 

For the layer 'sbet' - it is a line, so there is no image generated at all
and this layer is being displayed good on the Google earth. 

 

LAYER

NAME ControlPoints #Photogrammetric
points

DATA Photogrammetric_Point

STATUS   OFF

TYPE POINT

CLASS

STYLE

# Symbol to
be used (reference)

SYMBOL
circle

# Size of
the symbol in pixels

SIZE 8

COLOR 190 20
190

# Outline
colour (RGB) - black

OUTLINECOLOR
0 0 0

END 

END

PROJECTION

init=epsg:2246

END

END 

 

KML :

 

Style id=style_symbol_circle_8.0_ffbe14be

  IconStyle

Icon

  href/ms_tmp/502a9927_2bc4_10.png/href

/Icon

  /IconStyle

/Style

Folder

  nameControlPoints/name

  visibility1/visibility

  styleUrl#LayerFolder_check/styleUrl

  Placemark

nameControlPoints.0/name

styleUrl#style_symbol_circle_8.0_ffbe14be/styleUrl

Point

  coordinates

-84.61444330,38.04278949

/coordinates

/Point

  /Placemark

 

-Thanks, 

Sowmya. 

___

Sowmya Tiramdasu

QCoherent Software

9668 Madison Blvd., Suite 202

Madison, AL 35758

(256) 461-8289 Telephone 

(256) 461-8249 Fax

www.geocue.com http://www.geocue.com/ 

 

From: Smith, Michael ERDC-RDE-CRREL-NH [mailto:michael.sm...@erdc.dren.mil] 
Sent: Tuesday, August 14, 2012 10:37 AM
To: Sowmya Tiramdasu
Subject: Re: [mapserver-users] KML generation-partially working

 

Have you looked inside the KML file?

 

You can also set a DEBUG value on your layer (and mapfile) and look for
anything that might be interrupting your KML write.

 

Mike

 

 

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


Re: [mapserver-users] KML generation-partially working

2012-08-15 Thread Sowmya Tiramdasu
Hi Michael, 

 

Sorry for the confusion. I think it was the problem with the
projections. I had the output projections set to 3578- which was for Google
maps. Now, I changed it to espg:4326 and my KML came out exactly as
expected.  Thank you very much for all your help. If not for you , I am sure
I couldn't have got this working. 

 

  Thanks again and appreciate your help and patience. 

 

Thanks, 
Sowmya. 

___

Sowmya Tiramdasu

QCoherent Software

9668 Madison Blvd., Suite 202

Madison, AL 35758

(256) 461-8289 Telephone 

(256) 461-8249 Fax

 http://www.geocue.com/ www.geocue.com

 

From: Smith, Michael ERDC-RDE-CRREL-NH [mailto:michael.sm...@erdc.dren.mil] 
Sent: Wednesday, August 15, 2012 8:19 AM
To: Sowmya Tiramdasu; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] KML generation-partially working

 

Sorry, I'm getting a little confused. Are you generating ground overlay
layers (eg one raster output for a number of layers) or actual KML features
(eg, Placemarks with a geometry and an style marker)?

 

If you are posting the KML to google maps, then the KML is public. Can you
post the link to the KML so the list can actually see it and see what might
be wrong. As for why your lidar layer might be blank, remember that KML
output is always in epsg:4326. Perhaps you don't have a projection defined
for your lidar layer and do for others.

 

 

Mike

 

-- 

Michael Smith

Remote Sensing/GIS Center

US Army Corps of Engineers

 

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


[mapserver-users] KML generation

2012-08-14 Thread Sowmya Tiramdasu
Hi, 

 

  I know this would be a very basic question. I tried to look around on the
web and in the previous lists emails. But, somehow  I could not get a
solution. Sorry for bothering evryone with this basic question.

 

  I am trying get a KML output from my mapserver. I was succesfull in
getting a png output which means all my layers are being rendered correctly.
Now I modified my mapfile . I removed the IMAGETYPE = png from the MAP
Section and added the following:

 

OUTPUTFORMAT

NAME kml

DRIVER KML

MIMETYPE
application/vnd.google-earth.kml+xml

IMAGEMODE RGB

EXTENSION kml

FORMATOPTION 'ATTACHMENT=lidar.kml' #name of
kml file returned - This is my line 308

FORMATOPTION maxfeaturestodraw=100

END

  Now when I try to query the mapserver in mode=map, I am getting a parsing
error. 

 

getString(): Symbol definition error. Parsing error near ('):(line 308).

 

Any help will be greatly appreciated. Thanks in advance!

 

Sowmya. 

 

___

Sowmya Tiramdasu

QCoherent Software

9668 Madison Blvd., Suite 202

Madison, AL 35758

(256) 461-8289 Telephone 

(256) 461-8249 Fax

 http://www.geocue.com/ www.geocue.com

 

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


Re: [mapserver-users] KML generation

2012-08-14 Thread Sowmya Tiramdasu
Thanks Michael, 

 

That was indeed the error ! Thanks a ton!

 

-Sowmya.

___

Sowmya Tiramdasu

QCoherent Software

9668 Madison Blvd., Suite 202

Madison, AL 35758

(256) 461-8289 Telephone 

(256) 461-8249 Fax

www.geocue.com http://www.geocue.com/ 

 

From: Smith, Michael ERDC-RDE-CRREL-NH [mailto:michael.sm...@erdc.dren.mil] 
Sent: Tuesday, August 14, 2012 8:09 AM
To: Sowmya Tiramdasu; 'Mapserver-users'
Subject: Re: [mapserver-users] KML generation

 

Sowmya,

 

Looks like you might have a smart-quote there.

 

Try

 

OUTPUTFORMAT

NAME kml

DRIVER KML

MIMETYPE
application/vnd.google-earth.kml+xml

IMAGEMODE RGB

EXTENSION kml

FORMATOPTION ATTACHMENT=lidar.kml #name of
kml file returned - This is my line 308

FORMATOPTION maxfeaturestodraw=100

END

 

 

Mike

 

-- 

Michael Smith

US Army Corps

Remote Sensing GIS/Center

From: Sowmya Tiramdasu stiramd...@qcoherent.com
Date: Tuesday, August 14, 2012 8:47 AM
To: 'Mapserver-users' mapserver-users@lists.osgeo.org
Subject: [mapserver-users] KML generation
Resent-From: Michael Smith michael.sm...@usace.army.mil

 

Hi, 

 

  I know this would be a very basic question. I tried to look around on the
web and in the previous lists emails. But, somehow  I could not get a
solution. Sorry for bothering evryone with this basic question.

 

  I am trying get a KML output from my mapserver. I was succesfull in
getting a png output which means all my layers are being rendered correctly.
Now I modified my mapfile . I removed the IMAGETYPE = png from the MAP
Section and added the following:

 

OUTPUTFORMAT

NAME kml

DRIVER KML

MIMETYPE
application/vnd.google-earth.kml+xml

IMAGEMODE RGB

EXTENSION kml

FORMATOPTION 'ATTACHMENT=lidar.kml' #name of
kml file returned - This is my line 308

FORMATOPTION maxfeaturestodraw=100

END

  Now when I try to query the mapserver in mode=map, I am getting a parsing
error. 

 

getString(): Symbol definition error. Parsing error near ('):(line 308).

 

Any help will be greatly appreciated. Thanks in advance!

 

Sowmya. 

 

___

Sowmya Tiramdasu

QCoherent Software

9668 Madison Blvd., Suite 202

Madison, AL 35758

(256) 461-8289 Telephone 

(256) 461-8249 Fax

www.geocue.com http://www.geocue.com/ 

 

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


Re: [mapserver-users] KML generation-partially working

2012-08-14 Thread Sowmya Tiramdasu
Hi, 

 

  After changing the quotes. I got the kml working but only partially. Only
one among my 4 layers is being displayed. The remaining are shown as a red
cross mark on the Google earth.  Only my 'sbet' layer is being displayed.
All the remaining 'image','ControlPoints' and 'lidar' layers are not coming
up. While when I render them as an image output , I can see all the layers
perfectly. Can anyone please help me out with this?

 

Find below a snapshot of the layers in my map file for your reference.  

 

LAYER

NAME image

TYPE RASTER

STATUS OFF

DATA raster/lo-0002.tif

#OPACITY 50

...

END # LAYER



LAYER

NAME lidar

TYPE RASTER

STATUS ON

CONNECTION http://localhost:8080/keenland?;

CONNECTIONTYPE WMS

#OPACITY 50

METADATA

...

END

END   



LAYER

NAME ControlPoints #Photogrammetric
points

DATA Photogrammetric_Point

STATUS   OFF

TYPE POINT

CLASS

STYLE

# Symbol to
be used (reference)

SYMBOL
circle

# Size of
the symbol in pixels

SIZE 8

COLOR 190 20
190

# Outline
colour (RGB) - black

OUTLINECOLOR
0 0 0

END 

END

...

END 

 

LAYER

NAME sbet

DATA SBET_Trajectory_Source

STATUS   OFF

TYPE LINE

EXTENT   -84.760205 37.880771 -84.333587
38.208327

...

END   



-Sowmya. 

___

Sowmya Tiramdasu

QCoherent Software

9668 Madison Blvd., Suite 202

Madison, AL 35758

(256) 461-8289 Telephone 

(256) 461-8249 Fax

www.geocue.com http://www.geocue.com/ 

 

From: Smith, Michael ERDC-RDE-CRREL-NH [mailto:michael.sm...@erdc.dren.mil] 
Sent: Tuesday, August 14, 2012 8:09 AM
To: Sowmya Tiramdasu; 'Mapserver-users'
Subject: Re: [mapserver-users] KML generation

 

Sowmya,

 

Looks like you might have a smart-quote there.

 

Try

 

OUTPUTFORMAT

NAME kml

DRIVER KML

MIMETYPE
application/vnd.google-earth.kml+xml

IMAGEMODE RGB

EXTENSION kml

FORMATOPTION ATTACHMENT=lidar.kml #name of
kml file returned - This is my line 308

FORMATOPTION maxfeaturestodraw=100

END

 

 

Mike

 

-- 

Michael Smith

US Army Corps

Remote Sensing GIS/Center

From: Sowmya Tiramdasu stiramd...@qcoherent.com
Date: Tuesday, August 14, 2012 8:47 AM
To: 'Mapserver-users' mapserver-users@lists.osgeo.org
Subject: [mapserver-users] KML generation
Resent-From: Michael Smith michael.sm...@usace.army.mil

 

Hi, 

 

  I know this would be a very basic question. I tried to look around on the
web and in the previous lists emails. But, somehow  I could not get a
solution. Sorry for bothering evryone with this basic question.

 

  I am trying get a KML output from my mapserver. I was succesfull in
getting a png output which means all my layers are being rendered correctly.
Now I modified my mapfile . I removed the IMAGETYPE = png from the MAP
Section and added the following:

 

OUTPUTFORMAT

NAME kml

DRIVER KML

MIMETYPE
application/vnd.google-earth.kml+xml

IMAGEMODE RGB

EXTENSION kml

[mapserver-users] mapscript example

2012-08-08 Thread Sowmya Tiramdasu
Hi, 

 

  I am trying to run the gmap tutorial for map server which uses mapscript.
I am getting the following error. Can anyone please suggest me , where I am
going wrong . I made sure the .map file is present at the location it is
referring. 

 

Warning: ms_newMapObj(): [MapServer Error]: msLoadMap(): (gmap75.map) in
C:\ms4w\apps\tutorial\htdocs\gmap75.phtml on line 66

Fatal error: Uncaught exception 'MapScriptException' with message 'Failed to
open map file gmap75.map' in C:\ms4w\apps\tutorial\htdocs\gmap75.phtml:66
Stack trace: #0 C:\ms4w\apps\tutorial\htdocs\gmap75.phtml(66):
ms_newMapObj('gmap75.map') #1 {main} thrown in
C:\ms4w\apps\tutorial\htdocs\gmap75.phtml on line 66

 

Thanks , 

Sowmya. 

___

Sowmya Tiramdasu

QCoherent Software

9668 Madison Blvd., Suite 202

Madison, AL 35758

(256) 461-8289 Telephone 

(256) 461-8249 Fax

 http://www.geocue.com/ www.geocue.com

 

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


[mapserver-users] Basic Templating

2012-08-02 Thread Sowmya Tiramdasu
Hi , 

 

  I am trying to implement templating taking the help of the mapserver
tutorial. I created my own map file, which works fine. I get the output as
desired when I use mode=map. Now I am trying to include a template for my
example. I created a new template file 'gmapNew.html' . I added the
reference to this template file in my map file. Yet When I am submitting a
query, the template values are not being substituted correctly and so not
getting my required result. 


--

The snippet of my map file where I am referencing my template file. 

 

MAP

IMAGETYPE  PNG

EXTENT-9423052.40 4582638.15  -9414491.41
4589289.39 # extents of las file for 3875 using cs2cs

#EXTENT1525556.83 190608.70 1547770.63 207656.82
#las files

#EXTENT -9435462.86 4562596.42  -9387971.96
4608897.38 # sbet lat lon to extent using cs2cs

SIZE   1020 980

SHAPEPATH  ../data

SYMBOLSET  ../symbols/symbols35.sym

#TRANSPARENT ON

IMAGECOLOR 0 0 0

FONTSET../fonts/fonts.list

PROJECTION

#init=epsg:2246

init=epsg:3857

END



WEB

TEMPLATE  gmapNew.html

IMAGEPATH /ms4w/tmp/ms_tmp/

IMAGEURL /ms_tmp/

METADATA

wms_enable_request *

wms_title WMS Lidar
Server

wms_onlineresource
http://localhost:8080/keenland?;

wms_srs espg:32617

END

 END



.

.

END

 


-

My template file. 

 

!-- MapServer Template --

!DOCTYPE html

  PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN

  http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;

html xmlns=http://www.w3.org/1999/xhtml;

head

meta http-equiv=content-type content=text/html; charset=utf-8/

titleGoogle/MapServer Tile Example/title

link type=text/css rel=stylesheet href=[root]/ms35.css /

/head

body 

!-- The central form the application is based on. --

form name=mapserv method=GET action=[program]

input type=hidden name=root value=[root] /

input type=hidden name=program
value=[program] /

input type=hidden name=map_web
value=[map_web] /

input type=hidden name=map
value=[map] /

input type=hidden name=imgext
value=[mapext] /

input type=hidden name=imgxy
value=[center] /

input type=hidden name=layers
value=[layers] /

input type=hidden name=zoom
value=[zoom] /

table border=0 cellpadding=5

tr

!-- First
column: Map and scale bar --

td
align=center

 
!-- The map --

 
input type=image name=img src=[img]
style=border:0;width:300;height:400

 
br

 


/td

td

 
div align=center

 
input type=submit name=submit value=Refresh

 
/div

/td

!-- Second
column: Zoom direction, Legend and Reference --

td
valign=top

 
!-- Zoom direction --

 
bMap Controls/bbr Set your zoom option:br

 
select name=zoom size=1

 
option value=2 [ z o o m _ 2 _ s e l e c t ]  Zoom in 2 times

 
option value=1 [ z o o m _ 1 _ s e l e c t ]  Recenter Map

 
option value=-2 [ z o o m _ - 2 _ s e l e c t ]  Zoom out 2 times

 
/select

 
br

 

 


/td

/tr

/table



/form

/body

/html

 

Can anyone please help me . Any help is greatly appreciated. Thanks in
advance!

 

-Sowmya. 

___

Sowmya Tiramdasu

QCoherent Software

9668 Madison Blvd., Suite

[mapserver-users] changing opacity of a layer for a single client using map server

2012-08-02 Thread Sowmya Tiramdasu
Hi All, 

 

I have a question relating to opacity of a layer. My requirement is to
change the opacity of a layer for a particular client. I thought, I can
achieve this using map script. But, one thing which is not clear to me is :
If I change the opacity of a layer through the map script , will the changes
get reflected back in to the map file and then to any other clients
accessing that map file?

 

If I make changes to the existing map object using mapscript , will those
changes be reflected back on to the map file? Please someone clarify me this
point. 

 

Thanks in advance!

 

-Sowmya. 

___

Sowmya Tiramdasu

QCoherent Software

9668 Madison Blvd., Suite 202

Madison, AL 35758

(256) 461-8289 Telephone 

(256) 461-8249 Fax

 http://www.geocue.com/ www.geocue.com

 

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


Re: [mapserver-users] changing opacity of a layer for a single client using map server

2012-08-02 Thread Sowmya Tiramdasu
Thank you very much Steve for clarifying me question. 

 

-Sowmya. 

___

Sowmya Tiramdasu

QCoherent Software

9668 Madison Blvd., Suite 202

Madison, AL 35758

(256) 461-8289 Telephone 

(256) 461-8249 Fax

www.geocue.com http://www.geocue.com/ 

 

From: Lime, Steve D (DNR) [mailto:steve.l...@state.mn.us] 
Sent: Thursday, August 02, 2012 4:45 PM
To: Sowmya Tiramdasu; 'Mapserver-users'
Subject: RE: [mapserver-users] changing opacity of a layer for a single
client using map server

 

The mapfile is loaded into memory and then MapScript acts upon those
structures. The original is unchanged.

 

Steve

 

From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Sowmya
Tiramdasu
Sent: Thursday, August 02, 2012 4:10 PM
To: 'Mapserver-users'
Subject: [mapserver-users] changing opacity of a layer for a single client
using map server

 

Hi All, 

 

I have a question relating to opacity of a layer. My requirement is to
change the opacity of a layer for a particular client. I thought, I can
achieve this using map script. But, one thing which is not clear to me is :
If I change the opacity of a layer through the map script , will the changes
get reflected back in to the map file and then to any other clients
accessing that map file?

 

If I make changes to the existing map object using mapscript , will those
changes be reflected back on to the map file? Please someone clarify me this
point. 

 

Thanks in advance!

 

-Sowmya. 

___

Sowmya Tiramdasu

QCoherent Software

9668 Madison Blvd., Suite 202

Madison, AL 35758

(256) 461-8289 Telephone 

(256) 461-8249 Fax

www.geocue.com http://www.geocue.com/ 

 

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


[mapserver-users] Re-Projections

2012-07-30 Thread Sowmya Tiramdasu
Hi All, 

  I have a scenario for re-projections. Can anyone let me know if the
following scenario works in MapServer?

  Below is a sample map file ( A,B,C are three different projections. LAYER
1, 2, 3 are three different layers in the map file)

  MAP 

PROJECTION  : A

LAYER 1
PROJECTION : B
LAYER 2
PROJECTION : B
LAYER 3
PROJECTION : C
 END

 Any help is greatly appreciated. Thanks in advance!

Thanks, 
Sowmya. 

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


Re: [mapserver-users] Re-Projections

2012-07-30 Thread Sowmya Tiramdasu
Hi Jeff,Rahkonen

  Thanks for your feedback. Yes, it really worked. Cool. It was my bad,
first time I gave wrong extent values and it did not work. Now it is working
perfectly fine. 

Thanks ,
Sowmya. 

___
Sowmya Tiramdasu
QCoherent Software
9668 Madison Blvd., Suite 202
Madison, AL 35758
(256) 461-8289 Telephone 
(256) 461-8249 Fax
www.geocue.com


-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Rahkonen Jukka
Sent: Monday, July 30, 2012 2:13 PM
To: 'Mapserver-users'
Subject: Re: [mapserver-users] Re-Projections

Hi,

Of course it works and you should be able to make configurations by
following this document
http://mapserver.org/ogc/wms_server.html#setting-up-a-wms-server-using-mapse
rver

-Jukka Rahkonen-

Sowmya Tiramdasu wrote:

 Hi All,

   I have a scenario for re-projections. Can anyone let me know if the
 following scenario works in MapServer?

   Below is a sample map file ( A,B,C are three different projections.
LAYER
 1, 2, 3 are three different layers in the map file)

  MAP

PROJECTION  : A

LAYER 1
PROJECTION : B
LAYER 2
PROJECTION : B
LAYER 3
PROJECTION : C
 END

 Any help is greatly appreciated. Thanks in advance!

Thanks,
Sowmya.

___
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] On the fly Projection

2012-07-27 Thread Sowmya Tiramdasu
Hi Richard, 

  Good Morning! Thank you very much. It worked :) .I struggled whole of
yesterday with this. Seems like I need to learn more basics about projection
first before I get in to this stuff. 

Thanks again very much. Appreciate your help! Have a good day!

Sowmya. 

___
Sowmya Tiramdasu
QCoherent Software
9668 Madison Blvd., Suite 202
Madison, AL 35758
(256) 461-8289 Telephone 
(256) 461-8249 Fax
www.geocue.com


-Original Message-
From: Richard Greenwood [mailto:richard.greenw...@gmail.com] 
Sent: Thursday, July 26, 2012 3:47 PM
To: Sowmya Tiramdasu
Cc: Jeff McKenna; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] On the fly Projection

It looks like your imagery is EPSG:2246 and your
SBET_Trajectory_Source is EPSG:4269
So keep it simple to start with:
1. Set your map to EPSG:2246
2. Set your map extents to the ones for the imagery 1532496.038000,
197080.59 1543965.215000, 203467.824241
3. Set your SBET_Trajectory_Source to EPSG:4269
See if you get acceptable results.

Rich


On Thu, Jul 26, 2012 at 1:51 PM, Sowmya Tiramdasu
stiramd...@qcoherent.com wrote:
 Hi Jeff,

   Thanks for the references you provided . I gave the output projections
 under the MAP section and the LAYER Projection under the layer section.
But
 I am not sure what is the error. The projection is not happening
correctly.
 I do not see any specific errors in the log file also.

 Below are the details of my two different shape files. I want the
 SBET_Trajectory_source to be projected in to the Photogrammetric_point's
 projection.



 ---
 Layer name: Photogrammetric_Point
 Geometry: 3D Point
 Feature Count: 33
 Extent: (1532496.038000, 197080.59) - (1543965.215000, 203467.824241)
 Layer SRS WKT:
 PROJCS[NAD_1983_StatePlane_Kentucky_North_FIPS_1601_Feet,
 GEOGCS[GCS_North_American_1983,
 DATUM[North_American_Datum_1983,
 SPHEROID[GRS_1980,6378137,298.257222101004]],
 PRIMEM[Greenwich,0],
 UNIT[Degree,0.0174532925199433]],
 PROJECTION[Lambert_Conformal_Conic_2SP],
 PARAMETER[False_Easting,1640416.6667],
 PARAMETER[False_Northing,0],
 PARAMETER[Central_Meridian,-84.25],
 PARAMETER[Standard_Parallel_1,37.96667],
 PARAMETER[Standard_Parallel_2,38.96667],
 PARAMETER[Latitude_Of_Origin,37.5],
 UNIT[Foot_US,0.304800609601219]]
 Name: String (254.0)
 Desc: String (254.0)
 EntityType: String (254.0)
 EntTypDesc: String (254.0)
 ID: Real (11.0)
 GUID: String (254.0)
 LyrName: String (254.0)
 LyrDesc: String (254.0)
 CentroidX: Real (18.9)
 CentroidY: Real (18.9)
 CentroidZ: Real (18.9)

 C:\ms4w\tools\gdal-ogrogrinfo
 C:\ms4w\apps\tutorial\data\SBET_Trajectory_Source
 .shp SBET_Trajectory_Source -summary
 INFO: Open of `C:\ms4w\apps\tutorial\data\SBET_Trajectory_Source.shp'
   using driver `ESRI Shapefile' successful.

 Layer name: SBET_Trajectory_Source
 Geometry: 3D Line String
 Feature Count: 1
 Extent: (-84.760205, 37.880771) - (-84.333587, 38.208327)
 Layer SRS WKT:
 GEOGCS[GCS_North_American_1983,
 DATUM[North_American_Datum_1983,
 SPHEROID[GRS_1980,6378137,298.257222101004]],
 PRIMEM[Greenwich,0],
 UNIT[Degree,0.0174532925199433]]
 Name: String (254.0)
 Desc: String (254.0)
 EntityType: String (254.0)
 EntTypDesc: String (254.0)
 ID: Real (11.0)
 GUID: String (254.0)
 LyrName: String (254.0)
 LyrDesc: String (254.0)
 NumVerts: Real (11.0)
 EntLength: Real (18.9)
 LengthUnit: String (254.0)


 
 The projections I mentioned in my mapfile are :

 The output projection : PROJECTION
 proj=utm
 zone=17
 ellps=WGS84
 datum=WGS84
 units=m
 no_defs
 END

 SBET_Trajectory_Source projection : PROJECTION
 proj=longlat
 ellps=GRS80
 datum=NAD83
 no_defs
 END

 --

 Can you identify where I am going wrong ?  I am kind of stuck , don't have
 any clues why it is not working. Thanks again for all your time and
patience
 in helping me.

 Thanks,
 Sowmya.
 ___
 Sowmya Tiramdasu
 QCoherent Software
 9668 Madison Blvd., Suite 202
 Madison, AL 35758
 (256) 461-8289 Telephone
 (256) 461-8249 Fax
 www.geocue.com


 -Original Message-
 From: mapserver-users-boun...@lists.osgeo.org
 [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Jeff McKenna
 Sent: Thursday, July 26, 2012 10:03 AM
 To: mapserver-users@lists.osgeo.org
 Subject: Re: [mapserver-users] On the fly Projection

 Hello Sowmya,

 A really helpful site for searching for projections and then different
 syntax examples for them is: http://spatialreference.org

 Yours might be here: http

[mapserver-users] On the fly Projection

2012-07-26 Thread Sowmya Tiramdasu
Hi, 

 

  I have a projection given as follows :

 

GEOGCS[GCS_North_American_1983,DATUM[D_North_American_1983,SPHEROID[GRS
_1980,6378137,298.257222101004]],PRIMEM[Greenwich,0],UNIT[Degree,0.0174
532925199433]]

 

How can I specify this under the PROJECTION in mapfile and also I would like
to project this on to  epsg : 32617. How can I achieve this.

 

Any help will be appreciated. Thanks in advance!

 

Thanks, 

Sowmya.

___

Sowmya Tiramdasu

QCoherent Software

9668 Madison Blvd., Suite 202

Madison, AL 35758

(256) 461-8289 Telephone 

(256) 461-8249 Fax

 http://www.geocue.com/ www.geocue.com

 

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


Re: [mapserver-users] On the fly Projection

2012-07-26 Thread Sowmya Tiramdasu
Hi Jeff, 

  Thanks for the references you provided . I gave the output projections
under the MAP section and the LAYER Projection under the layer section. But
I am not sure what is the error. The projection is not happening correctly.
I do not see any specific errors in the log file also. 

Below are the details of my two different shape files. I want the
SBET_Trajectory_source to be projected in to the Photogrammetric_point's
projection. 


---
Layer name: Photogrammetric_Point
Geometry: 3D Point
Feature Count: 33
Extent: (1532496.038000, 197080.59) - (1543965.215000, 203467.824241)
Layer SRS WKT:
PROJCS[NAD_1983_StatePlane_Kentucky_North_FIPS_1601_Feet,
GEOGCS[GCS_North_American_1983,
DATUM[North_American_Datum_1983,
SPHEROID[GRS_1980,6378137,298.257222101004]],
PRIMEM[Greenwich,0],
UNIT[Degree,0.0174532925199433]],
PROJECTION[Lambert_Conformal_Conic_2SP],
PARAMETER[False_Easting,1640416.6667],
PARAMETER[False_Northing,0],
PARAMETER[Central_Meridian,-84.25],
PARAMETER[Standard_Parallel_1,37.96667],
PARAMETER[Standard_Parallel_2,38.96667],
PARAMETER[Latitude_Of_Origin,37.5],
UNIT[Foot_US,0.304800609601219]]
Name: String (254.0)
Desc: String (254.0)
EntityType: String (254.0)
EntTypDesc: String (254.0)
ID: Real (11.0)
GUID: String (254.0)
LyrName: String (254.0)
LyrDesc: String (254.0)
CentroidX: Real (18.9)
CentroidY: Real (18.9)
CentroidZ: Real (18.9)

C:\ms4w\tools\gdal-ogrogrinfo
C:\ms4w\apps\tutorial\data\SBET_Trajectory_Source
.shp SBET_Trajectory_Source -summary
INFO: Open of `C:\ms4w\apps\tutorial\data\SBET_Trajectory_Source.shp'
  using driver `ESRI Shapefile' successful.

Layer name: SBET_Trajectory_Source
Geometry: 3D Line String
Feature Count: 1
Extent: (-84.760205, 37.880771) - (-84.333587, 38.208327)
Layer SRS WKT:
GEOGCS[GCS_North_American_1983,
DATUM[North_American_Datum_1983,
SPHEROID[GRS_1980,6378137,298.257222101004]],
PRIMEM[Greenwich,0],
UNIT[Degree,0.0174532925199433]]
Name: String (254.0)
Desc: String (254.0)
EntityType: String (254.0)
EntTypDesc: String (254.0)
ID: Real (11.0)
GUID: String (254.0)
LyrName: String (254.0)
LyrDesc: String (254.0)
NumVerts: Real (11.0)
EntLength: Real (18.9)
LengthUnit: String (254.0)


The projections I mentioned in my mapfile are : 

The output projection : PROJECTION
proj=utm
zone=17
ellps=WGS84
datum=WGS84
units=m
no_defs
END

SBET_Trajectory_Source projection : PROJECTION
proj=longlat
ellps=GRS80
datum=NAD83
no_defs
END

--

Can you identify where I am going wrong ?  I am kind of stuck , don't have
any clues why it is not working. Thanks again for all your time and patience
in helping me. 

Thanks, 
Sowmya. 
___
Sowmya Tiramdasu
QCoherent Software
9668 Madison Blvd., Suite 202
Madison, AL 35758
(256) 461-8289 Telephone 
(256) 461-8249 Fax
www.geocue.com


-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Jeff McKenna
Sent: Thursday, July 26, 2012 10:03 AM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] On the fly Projection

Hello Sowmya,

A really helpful site for searching for projections and then different
syntax examples for them is: http://spatialreference.org

Yours might be here: http://spatialreference.org/ref/sr-org/15/

Have fun!

-jeff



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



On 12-07-26 11:22 AM, Sowmya Tiramdasu wrote:
 Hi,
 
  
 
   I have a projection given as follows :
 
  
 

GEOGCS[GCS_North_American_1983,DATUM[D_North_American_1983,SPHEROID[GRS
_1980,6378137,298.257222101004]],PRIMEM[Greenwich,0],UNIT[Degree,0.0174
532925199433]]
 
  
 
 How can I specify this under the PROJECTION in mapfile and also I would
 like to project this on to  epsg : 32617. How can I achieve this.
 
  
 
 Any help will be appreciated. Thanks in advance!
 
  
 
 Thanks,
 
 Sowmya.
 
 *___*
 
 Sowmya Tiramdasu
 
 *QCoherent Software*
 
 9668 Madison Blvd., Suite 202
 
 Madison, AL 35758
 
 (256) 461-8289 Telephone
 
 (256) 461-8249 Fax
 
 www.geocue.com http://www.geocue.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


Re: [mapserver-users] Mapserver as wms client

2012-07-25 Thread Sowmya Tiramdasu
Hi Jeff, 

Thanks for the reply. I think that should work. But, I am having a problem
running the utility. The error is : The program can not start because
libmap.dll is missing from your computer. Try reinstalling the program to
fix the problem. 

I went and checked in my C:\ms4w\Apache\cgi-bin folder and libmap.dll is
present. I also ran the setenv.bat before running the utility. Can you
please guide me how to get this utility running? 

Thanks in advance!

Sowmya. 

___
Sowmya Tiramdasu
QCoherent Software
9668 Madison Blvd., Suite 202
Madison, AL 35758
(256) 461-8289 Telephone 
(256) 461-8249 Fax
www.geocue.com

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Jeff McKenna
Sent: Wednesday, July 25, 2012 9:31 AM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Mapserver as wms client

On 12-07-24 7:13 PM, Sowmya Tiramdasu wrote:
 Hi,
 
  
 
   I configures map server to act as a WMS Client. But it doesn't work as
 expected. When i make a getMap request to my WMS server I get the right
 image back but when I try to make it a layer through my map server it is
 not working.
 
  
 
 I am using fiddler to see all the calls made to the server. I see the
 request I am sending to the map server but do not see a request to my
 WMS Server( I thought when Map server tries to consume the WMS server,
 it sends a request to the WMS Server- which should be shown in fiddler)

A very easy way to see all of the WMS requests, is to use the included
shp2img commandline utility with the -all_debug 5 option
(http://www.mapserver.org/utilities/shp2img.html), MS4W users can call
this utility after executing 'setenv.bat' in the same command window.

For example, the command could be:

   shp2img -m demo_wms.map -o ttt.png -all_debug 5

and the results would be:

   msLoadMap(): 0.003s
   msDrawMap(): rendering using outputformat named jpeg (AGG/JPEG).
   HTTP: Starting to prepare HTTP requests.
   Using CURL_CA_BUNDLE=\ms4w\Apache\conf\ca-bundle\cacert.pem
   HTTP request: id=0, http://demo.mapserver.org/cgi-bin
/wms?LAYERS=country_boundsREQUEST=Ge
tMapSERVICE=WMSFORMAT=image/gifSTYLES=HEIGHT=300VERSION=1.1.1SRS=EPSG:
4326WIDTH=400
BBOX=-180.451127819549,-135.338345864662,180.451127819549,135.338345864662
TRANSPARENT=TRUEEXCEPTIONS=application/vnd.ogc.se_inimage
   HTTP: Before download loop
   msHTTPWriteFct(id=0, 1306 bytes)
   msHTTPWriteFct(id=0, 2748 bytes)
   HTTP: After download loop
   msHTTPExecuteRequests() timing summary per layer (connect_time +
time_to_first_packet + download_time = total_time in seconds)
   Layer 0: 0.109 + 0.624 + 0.203 = 0.936s
   msDrawMap(): WMS/WFS set-up and query, 0.857s
   msDrawRasterLayerLow(country_bounds): entering.
   msDrawRasterLayerGDAL(): red,green,blue,alpha bands = 1,0,0,0
   msDrawMap(): Layer 0 (country_bounds), 0.007s
   msDrawMap(): Drawing Label Cache, 0.000s
   msDrawMap() total time: 0.869s
   msSaveImage(ttt.png) total time: 0.009s
   msFreeMap(): freeing map at 026ED540.
   freeLayer(): freeing layer at 036C3850.
   shp2img total time: 0.886s

I hope that helps.

-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


Re: [mapserver-users] Mapserver as wms client

2012-07-25 Thread Sowmya Tiramdasu
Hi Jeff, 

Sorry for the previous email. I got the Utility running now. I am checking
where the problem is . Will let you know if I have further questions. 

Thank you very much for your help!

Thanks, 
Sowmya. 
___
Sowmya Tiramdasu
QCoherent Software
9668 Madison Blvd., Suite 202
Madison, AL 35758
(256) 461-8289 Telephone 
(256) 461-8249 Fax
www.geocue.com


-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Sowmya
Tiramdasu
Sent: Wednesday, July 25, 2012 11:47 AM
To: 'Jeff McKenna'; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Mapserver as wms client

Hi Jeff, 

Thanks for the reply. I think that should work. But, I am having a problem
running the utility. The error is : The program can not start because
libmap.dll is missing from your computer. Try reinstalling the program to
fix the problem. 

I went and checked in my C:\ms4w\Apache\cgi-bin folder and libmap.dll is
present. I also ran the setenv.bat before running the utility. Can you
please guide me how to get this utility running? 

Thanks in advance!

Sowmya. 

___
Sowmya Tiramdasu
QCoherent Software
9668 Madison Blvd., Suite 202
Madison, AL 35758
(256) 461-8289 Telephone 
(256) 461-8249 Fax
www.geocue.com

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Jeff McKenna
Sent: Wednesday, July 25, 2012 9:31 AM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Mapserver as wms client

On 12-07-24 7:13 PM, Sowmya Tiramdasu wrote:
 Hi,
 
  
 
   I configures map server to act as a WMS Client. But it doesn't work as
 expected. When i make a getMap request to my WMS server I get the right
 image back but when I try to make it a layer through my map server it is
 not working.
 
  
 
 I am using fiddler to see all the calls made to the server. I see the
 request I am sending to the map server but do not see a request to my
 WMS Server( I thought when Map server tries to consume the WMS server,
 it sends a request to the WMS Server- which should be shown in fiddler)

A very easy way to see all of the WMS requests, is to use the included
shp2img commandline utility with the -all_debug 5 option
(http://www.mapserver.org/utilities/shp2img.html), MS4W users can call
this utility after executing 'setenv.bat' in the same command window.

For example, the command could be:

   shp2img -m demo_wms.map -o ttt.png -all_debug 5

and the results would be:

   msLoadMap(): 0.003s
   msDrawMap(): rendering using outputformat named jpeg (AGG/JPEG).
   HTTP: Starting to prepare HTTP requests.
   Using CURL_CA_BUNDLE=\ms4w\Apache\conf\ca-bundle\cacert.pem
   HTTP request: id=0, http://demo.mapserver.org/cgi-bin
/wms?LAYERS=country_boundsREQUEST=Ge
tMapSERVICE=WMSFORMAT=image/gifSTYLES=HEIGHT=300VERSION=1.1.1SRS=EPSG:
4326WIDTH=400
BBOX=-180.451127819549,-135.338345864662,180.451127819549,135.338345864662
TRANSPARENT=TRUEEXCEPTIONS=application/vnd.ogc.se_inimage
   HTTP: Before download loop
   msHTTPWriteFct(id=0, 1306 bytes)
   msHTTPWriteFct(id=0, 2748 bytes)
   HTTP: After download loop
   msHTTPExecuteRequests() timing summary per layer (connect_time +
time_to_first_packet + download_time = total_time in seconds)
   Layer 0: 0.109 + 0.624 + 0.203 = 0.936s
   msDrawMap(): WMS/WFS set-up and query, 0.857s
   msDrawRasterLayerLow(country_bounds): entering.
   msDrawRasterLayerGDAL(): red,green,blue,alpha bands = 1,0,0,0
   msDrawMap(): Layer 0 (country_bounds), 0.007s
   msDrawMap(): Drawing Label Cache, 0.000s
   msDrawMap() total time: 0.869s
   msSaveImage(ttt.png) total time: 0.009s
   msFreeMap(): freeing map at 026ED540.
   freeLayer(): freeing layer at 036C3850.
   shp2img total time: 0.886s

I hope that helps.

-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 mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Mapserver as wms client error trace

2012-07-25 Thread Sowmya Tiramdasu
 time: 0.277s

I hope someone can please help me with this. 

Thanks, 
Sowmya. 
___
Sowmya Tiramdasu
QCoherent Software
9668 Madison Blvd., Suite 202
Madison, AL 35758
(256) 461-8289 Telephone 
(256) 461-8249 Fax
www.geocue.com


-Original Message-
From: Sowmya Tiramdasu [mailto:stiramd...@qcoherent.com] 
Sent: Wednesday, July 25, 2012 12:05 PM
To: 'Sowmya Tiramdasu'; 'Jeff McKenna'; mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] Mapserver as wms client

Hi Jeff, 

Sorry for the previous email. I got the Utility running now. I am checking
where the problem is . Will let you know if I have further questions. 

Thank you very much for your help!

Thanks, 
Sowmya. 
___
Sowmya Tiramdasu
QCoherent Software
9668 Madison Blvd., Suite 202
Madison, AL 35758
(256) 461-8289 Telephone 
(256) 461-8249 Fax
www.geocue.com


-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Sowmya
Tiramdasu
Sent: Wednesday, July 25, 2012 11:47 AM
To: 'Jeff McKenna'; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Mapserver as wms client

Hi Jeff, 

Thanks for the reply. I think that should work. But, I am having a problem
running the utility. The error is : The program can not start because
libmap.dll is missing from your computer. Try reinstalling the program to
fix the problem. 

I went and checked in my C:\ms4w\Apache\cgi-bin folder and libmap.dll is
present. I also ran the setenv.bat before running the utility. Can you
please guide me how to get this utility running? 

Thanks in advance!

Sowmya. 

___
Sowmya Tiramdasu
QCoherent Software
9668 Madison Blvd., Suite 202
Madison, AL 35758
(256) 461-8289 Telephone 
(256) 461-8249 Fax
www.geocue.com

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Jeff McKenna
Sent: Wednesday, July 25, 2012 9:31 AM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Mapserver as wms client

On 12-07-24 7:13 PM, Sowmya Tiramdasu wrote:
 Hi,
 
  
 
   I configures map server to act as a WMS Client. But it doesn't work as
 expected. When i make a getMap request to my WMS server I get the right
 image back but when I try to make it a layer through my map server it is
 not working.
 
  
 
 I am using fiddler to see all the calls made to the server. I see the
 request I am sending to the map server but do not see a request to my
 WMS Server( I thought when Map server tries to consume the WMS server,
 it sends a request to the WMS Server- which should be shown in fiddler)

A very easy way to see all of the WMS requests, is to use the included
shp2img commandline utility with the -all_debug 5 option
(http://www.mapserver.org/utilities/shp2img.html), MS4W users can call
this utility after executing 'setenv.bat' in the same command window.

For example, the command could be:

   shp2img -m demo_wms.map -o ttt.png -all_debug 5

and the results would be:

   msLoadMap(): 0.003s
   msDrawMap(): rendering using outputformat named jpeg (AGG/JPEG).
   HTTP: Starting to prepare HTTP requests.
   Using CURL_CA_BUNDLE=\ms4w\Apache\conf\ca-bundle\cacert.pem
   HTTP request: id=0, http://demo.mapserver.org/cgi-bin
/wms?LAYERS=country_boundsREQUEST=Ge
tMapSERVICE=WMSFORMAT=image/gifSTYLES=HEIGHT=300VERSION=1.1.1SRS=EPSG:
4326WIDTH=400
BBOX=-180.451127819549,-135.338345864662,180.451127819549,135.338345864662
TRANSPARENT=TRUEEXCEPTIONS=application/vnd.ogc.se_inimage
   HTTP: Before download loop
   msHTTPWriteFct(id=0, 1306 bytes)
   msHTTPWriteFct(id=0, 2748 bytes)
   HTTP: After download loop
   msHTTPExecuteRequests() timing summary per layer (connect_time +
time_to_first_packet + download_time = total_time in seconds)
   Layer 0: 0.109 + 0.624 + 0.203 = 0.936s
   msDrawMap(): WMS/WFS set-up and query, 0.857s
   msDrawRasterLayerLow(country_bounds): entering.
   msDrawRasterLayerGDAL(): red,green,blue,alpha bands = 1,0,0,0
   msDrawMap(): Layer 0 (country_bounds), 0.007s
   msDrawMap(): Drawing Label Cache, 0.000s
   msDrawMap() total time: 0.869s
   msSaveImage(ttt.png) total time: 0.009s
   msFreeMap(): freeing map at 026ED540.
   freeLayer(): freeing layer at 036C3850.
   shp2img total time: 0.886s

I hope that helps.

-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 mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Mapserver as wms client error trace

2012-07-25 Thread Sowmya Tiramdasu
Hi Jeff, 

 Thanks for your reply. Yes, I tried the example ones and it works fine. The
problem is only with my WMS Server. The data I have( shape files, ortho
images and the Las file[This is being rendered by my WMS Server]) are all in
the same projection and I gave the extents of the map also accordingly. With
the same projection and extents I am able to render the ortho images and
shape files using map server, but not able to render the image from my WMS
Server. 

How can I check if my extents are right and the projection information I
provided is right ? Are there any Tips or best practices to achieve this?
Also, can you guide me to a good tutorial where I can understand all this
projection stuff. I am fairly new to GIS domain. 

Thanks again for your patience in trying to help me. Appreciate your help. 

Regards, 
Sowmya.
___
Sowmya Tiramdasu
QCoherent Software
9668 Madison Blvd., Suite 202
Madison, AL 35758
(256) 461-8289 Telephone 
(256) 461-8249 Fax
www.geocue.com


-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Jeff McKenna
Sent: Wednesday, July 25, 2012 3:18 PM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Mapserver as wms client error trace

Hello Sowmya,

Next I would probably test by adding a known working WMS server into
your mapfile: you can use the exact example from the docs here (just add
a projection object)
http://www.mapserver.org/ogc/wms_client.html#adding-a-wms-layer If
shp2img shows a GetMap for that new layer, then you know it's a problem
with your WMS Server (or a problem regarding coordinates).

If all else fails, make a copy of your mapfile, then remove all other
layers from it, and any projection objects, and make sure your EXTENT
and UNITS match the coordinates of your WMS layer.

(yes projections are the hardest part of web mapping)

Good luck,

-jeff



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


On 12-07-25 2:35 PM, Sowmya Tiramdasu wrote:
 Hi, 
 
   I checked the trace after running the shp2img.exe. I see that there is
no
 call made to my wms server. There is a re-projection error seems like. All
 the ortho images and output from shape files is coming good.Only the layer
 from my WMS server is not being rendered. Here is my mapfile and the error
 log. 



___
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] Mapserver as wms client error trace

2012-07-25 Thread Sowmya Tiramdasu
Hi Jeff, 

  Just to let you know. I got it working :)

The problem was with an entry in the shape file. Under the WMS meta data , I
gave wms_latlonboundingbox value as my extent. Ideally it should have been
wms_extent feature. So was this projection problem. 

Thanks again for all your guidance, I learnt many things!

Thanks, 
Sowmya.
___
Sowmya Tiramdasu
QCoherent Software
9668 Madison Blvd., Suite 202
Madison, AL 35758
(256) 461-8289 Telephone 
(256) 461-8249 Fax
www.geocue.com


-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Sowmya
Tiramdasu
Sent: Wednesday, July 25, 2012 3:50 PM
To: 'Jeff McKenna'; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Mapserver as wms client error trace

Hi Jeff, 

 Thanks for your reply. Yes, I tried the example ones and it works fine. The
problem is only with my WMS Server. The data I have( shape files, ortho
images and the Las file[This is being rendered by my WMS Server]) are all in
the same projection and I gave the extents of the map also accordingly. With
the same projection and extents I am able to render the ortho images and
shape files using map server, but not able to render the image from my WMS
Server. 

How can I check if my extents are right and the projection information I
provided is right ? Are there any Tips or best practices to achieve this?
Also, can you guide me to a good tutorial where I can understand all this
projection stuff. I am fairly new to GIS domain. 

Thanks again for your patience in trying to help me. Appreciate your help. 

Regards, 
Sowmya.
___
Sowmya Tiramdasu
QCoherent Software
9668 Madison Blvd., Suite 202
Madison, AL 35758
(256) 461-8289 Telephone 
(256) 461-8249 Fax
www.geocue.com


-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Jeff McKenna
Sent: Wednesday, July 25, 2012 3:18 PM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Mapserver as wms client error trace

Hello Sowmya,

Next I would probably test by adding a known working WMS server into
your mapfile: you can use the exact example from the docs here (just add
a projection object)
http://www.mapserver.org/ogc/wms_client.html#adding-a-wms-layer If
shp2img shows a GetMap for that new layer, then you know it's a problem
with your WMS Server (or a problem regarding coordinates).

If all else fails, make a copy of your mapfile, then remove all other
layers from it, and any projection objects, and make sure your EXTENT
and UNITS match the coordinates of your WMS layer.

(yes projections are the hardest part of web mapping)

Good luck,

-jeff



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


On 12-07-25 2:35 PM, Sowmya Tiramdasu wrote:
 Hi, 
 
   I checked the trace after running the shp2img.exe. I see that there is
no
 call made to my wms server. There is a re-projection error seems like. All
 the ortho images and output from shape files is coming good.Only the layer
 from my WMS server is not being rendered. Here is my mapfile and the error
 log. 



___
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


[mapserver-users] Mapserver as wms client

2012-07-24 Thread Sowmya Tiramdasu
Hi, 

 

  I configures map server to act as a WMS Client. But it doesn't work as
expected. When i make a getMap request to my WMS server I get the right
image back but when I try to make it a layer through my map server it is not
working. 

 

I am using fiddler to see all the calls made to the server. I see the
request I am sending to the map server but do not see a request to my WMS
Server( I thought when Map server tries to consume the WMS server, it sends
a request to the WMS Server- which should be shown in fiddler)

 

find below my map file: 

 

MAP

   IMAGETYPE  PNG

   EXTENT1525556.83 190608.70 1547770.63 207656.82 # LAEA

   SIZE   984 660

   SHAPEPATH  ../data

   SYMBOLSET  ../symbols/symbols35.sym

   #IMAGECOLOR 32 32 32

  FONTSET../fonts/fonts.list

   WEB

IMAGEPATH /ms4w/tmp/ms_tmp/

IMAGEURL /ms_tmp/

METADATA

 wms_enable_request *

 wms_title WMS Lidar Server

 wms_onlineresource http://localhost:8080/keenland?;

 wms_srs EPSG:32617

END

  

  END

LAYER

NAME Photogrammetric_Point #Photogrammetric points

DATA Photogrammetric_Point

STATUS   OFF

TYPE POINT

PROJECTION

  init=epsg:32617

END

   

CLASS

  NAME   Photogrammetric points

  STYLE

COLOR220 32 32

  END

  

END

  END 



  LAYER

NAME lidar

TYPE RASTER

STATUS ON

CONNECTION http://localhost:8080/keenland?;

CONNECTIONTYPE WMS



METADATA

  wms_srs EPSG:32617

  wms_name
Contours,Points,Boundaries

  wms_server_version
1.1.1

  wms_format image/png

  wms_exceptions_format
application/vnd.ogc.se_xml

  wms_latlonboundingbox
1517852.6794090855 186462.90718181827 1555978.4750454489
212035.08718181826

  wms_width 984

  wms_height 660

END

END

DEBUG 0 

 

 CONFIG MS_ERRORFILE /ms4w/tmp/ms_error.txt

 

END # Map File

 

Any help is greatly appreciated. 

 

Thanks, 

Sowmya. 

___

Sowmya Tiramdasu

QCoherent Software

9668 Madison Blvd., Suite 202

Madison, AL 35758

(256) 461-8289 Telephone 

(256) 461-8249 Fax

 http://www.geocue.com/ www.geocue.com

 

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


[mapserver-users] Can Map Server serve non WMS services?

2012-07-20 Thread Sowmya Tiramdasu
Hi, 

 We have a wms server. It also has some extensions . There are three extra 
calls( like GetProfileView etc) other than getCapabilities, GetMap and 
GetFeatureInfo calls. Can I use map server to serve up my none wms calls? Any 
help would be greatly appreciated. 

Thanks, 
Sowmya. 
___
Sowmya Tiramdasu
QCoherent Software
9668 Madison Blvd., Suite 202
Madison, AL 35758
(256) 461-8289 Telephone 
(256) 461-8249 Fax
www.geocue.com


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


Re: [mapserver-users] Can Map Server serve non WMS services?

2012-07-20 Thread Sowmya Tiramdasu
Hi Steve, 

 Thanks for the prompt reply. The request url for my service function is as
follows :

http://localhost:8080/sample?FORMAT=image/jpegEXCEPTIONS=INIMAGEBGCOLOR=0x
00LAYERS=Points,BoundariesSTYLES=GroundElevation,RedSERVICE=WMSVERSI
ON=1.1.1REQUEST=GetProfileViewSRS=EPSG:26910LEFT_XY=491646.2272727273,545
8251.454545454RIGHT_XY=492102.95454545453,5458268.909090909DEPTH=20SHOW_D
RAPELINE=FALSESHOW_GRATICULE=TRUEWIDTH=833HEIGHT=222COLORIZATION=Classif
icationFILTER=All 

I guess this should give you some idea. Let me know if you want to know any
additional details. 

So can you please give me an outline how I can use Map server to consume the
image coming from my above service? Also can you provide sample map file
entries to get this served up.

Thanks in advance, 
Sowmya. 
___
Sowmya Tiramdasu
QCoherent Software
9668 Madison Blvd., Suite 202
Madison, AL 35758
(256) 461-8289 Telephone 
(256) 461-8249 Fax
www.geocue.com


-Original Message-
From: Lime, Steve D (DNR) [mailto:steve.l...@state.mn.us] 
Sent: Friday, July 20, 2012 10:16 AM
To: Sowmya Tiramdasu; mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] Can Map Server serve non WMS services?

We would have to know more about what the extensions do and how they are
implemented to comment more in detail. There are certainly options. For
example, you could use MapScript OWS support and develop a custom service
that way. Another option would be to use GetFeatureInfo request paired with
different responses (via template perhaps) to change the nature of the
information returned.

Depending on how the extensions are implemented you might also be able to
support the different response types using mod-rewrite or something like
that.

Steve


-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Sowmya
Tiramdasu
Sent: Friday, July 20, 2012 9:32 AM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Can Map Server serve non WMS services?

Hi, 

 We have a wms server. It also has some extensions . There are three extra
calls( like GetProfileView etc) other than getCapabilities, GetMap and
GetFeatureInfo calls. Can I use map server to serve up my none wms calls?
Any help would be greatly appreciated. 

Thanks, 
Sowmya. 
___
Sowmya Tiramdasu
QCoherent Software
9668 Madison Blvd., Suite 202
Madison, AL 35758
(256) 461-8289 Telephone 
(256) 461-8249 Fax
www.geocue.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


Re: [mapserver-users] Can Map Server serve non WMS services?

2012-07-20 Thread Sowmya Tiramdasu
Hi Steve, 

 Even I am new to the company. So do not have much details. But I think ,
The GetProfileView operation returns a profile view of LIDAR data. Upon
receiving a GetProfileView request, a WMS shall either satisfy the request
or issue a service exception.

The WMS Server we have deals with LIDAR DATA (LAS Files). So when we draw a
line on the display lidar data and send a request for the getProfileView, we
get an image back as response if everything happened good. Else we get a
service exception. 

The key value pairs ( parameters) passed along with getProfileView operation
are mentioned in the URL I specified in my previous email. I hope this
information  may give you some additional understanding. 

Do you think I can use mapscript to make calls to any service ( NOT WMS) and
render the response image as a layer along with other shape file data
layers?

Thanks a lot for trying to help me. I am extremely sorry for giving you
limited info, I myself do not know much about all this . Sorry!

Thanks, 
Sowmya.  

___
Sowmya Tiramdasu
QCoherent Software
9668 Madison Blvd., Suite 202
Madison, AL 35758
(256) 461-8289 Telephone 
(256) 461-8249 Fax
www.geocue.com


-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Stephen
Woodbridge
Sent: Friday, July 20, 2012 12:35 PM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Can Map Server serve non WMS services?

Hi Sowmya,

Since you are making a non-standard WMS request GetProfileView, i doubt 
that anyone here knows what that does, and as such, is probably not 
going to be able to help you. You need to provide a detailed description 
of what GetProfileView does, like what are the inputs, what is the 
expect output, and how is it generated.

That said, someone programmed that up on your side and it is likely that 
they would have to program support for that using mapserver as a tools 
set and maybe using something like mapscript. In general, mapserver is a 
map rendering and querying engine that has some additional 
geo-processing tools and access to most core features for programming 
using mapscript.

Hope this helps,
   Steve W

On 7/20/2012 1:00 PM, Sowmya Tiramdasu wrote:
 Hi Steve,

   Thanks for the prompt reply. The request url for my service function is
as
 follows :


http://localhost:8080/sample?FORMAT=image/jpegEXCEPTIONS=INIMAGEBGCOLOR=0x

00LAYERS=Points,BoundariesSTYLES=GroundElevation,RedSERVICE=WMSVERSI

ON=1.1.1REQUEST=GetProfileViewSRS=EPSG:26910LEFT_XY=491646.2272727273,545

8251.454545454RIGHT_XY=492102.95454545453,5458268.909090909DEPTH=20SHOW_D

RAPELINE=FALSESHOW_GRATICULE=TRUEWIDTH=833HEIGHT=222COLORIZATION=Classif
 icationFILTER=All

 I guess this should give you some idea. Let me know if you want to know
any
 additional details.

 So can you please give me an outline how I can use Map server to consume
the
 image coming from my above service? Also can you provide sample map file
 entries to get this served up.

 Thanks in advance,
 Sowmya.
 ___
 Sowmya Tiramdasu
 QCoherent Software
 9668 Madison Blvd., Suite 202
 Madison, AL 35758
 (256) 461-8289 Telephone
 (256) 461-8249 Fax
 www.geocue.com


 -Original Message-
 From: Lime, Steve D (DNR) [mailto:steve.l...@state.mn.us]
 Sent: Friday, July 20, 2012 10:16 AM
 To: Sowmya Tiramdasu; mapserver-users@lists.osgeo.org
 Subject: RE: [mapserver-users] Can Map Server serve non WMS services?

 We would have to know more about what the extensions do and how they are
 implemented to comment more in detail. There are certainly options. For
 example, you could use MapScript OWS support and develop a custom service
 that way. Another option would be to use GetFeatureInfo request paired
with
 different responses (via template perhaps) to change the nature of the
 information returned.

 Depending on how the extensions are implemented you might also be able to
 support the different response types using mod-rewrite or something like
 that.

 Steve


 -Original Message-
 From: mapserver-users-boun...@lists.osgeo.org
 [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Sowmya
 Tiramdasu
 Sent: Friday, July 20, 2012 9:32 AM
 To: mapserver-users@lists.osgeo.org
 Subject: [mapserver-users] Can Map Server serve non WMS services?

 Hi,

   We have a wms server. It also has some extensions . There are three
extra
 calls( like GetProfileView etc) other than getCapabilities, GetMap and
 GetFeatureInfo calls. Can I use map server to serve up my none wms calls?
 Any help would be greatly appreciated.

 Thanks,
 Sowmya.
 ___
 Sowmya Tiramdasu
 QCoherent Software
 9668 Madison Blvd., Suite 202
 Madison, AL 35758
 (256) 461-8289 Telephone
 (256) 461-8249 Fax
 www.geocue.com


 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http