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

Stephen Woodbridge woodbri at swoodbridge.com
Fri Jul 20 12:15:23 PDT 2012


There was a discussion a while back on the list for doing something 
similar. search the list archives for "elevation profile"

-Steve W

On 7/20/2012 2:23 PM, Sowmya Tiramdasu wrote:
> 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-bounces at lists.osgeo.org
> [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Stephen
> Woodbridge
> Sent: Friday, July 20, 2012 12:35 PM
> To: mapserver-users at 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/jpeg&EXCEPTIONS=INIMAGE&BGCOLOR=0x
>>
> 000000&LAYERS=Points,Boundaries&STYLES=GroundElevation,Red&SERVICE=WMS&VERSI
>>
> ON=1.1.1&REQUEST=GetProfileView&SRS=EPSG:26910&LEFT_XY=491646.2272727273,545
>>
> 8251.454545454&RIGHT_XY=492102.95454545453,5458268.909090909&DEPTH=20&SHOW_D
>>
> RAPELINE=FALSE&SHOW_GRATICULE=TRUE&WIDTH=833&HEIGHT=222&COLORIZATION=Classif
>> ication&FILTER=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.Lime at state.mn.us]
>> Sent: Friday, July 20, 2012 10:16 AM
>> To: Sowmya Tiramdasu; mapserver-users at 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-bounces at lists.osgeo.org
>> [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Sowmya
>> Tiramdasu
>> Sent: Friday, July 20, 2012 9:32 AM
>> To: mapserver-users at 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 at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
>>
>>
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>



More information about the mapserver-users mailing list