SlideShare une entreprise Scribd logo
1  sur  10
®
                                                             Product ™
                                        SSS MapServer Server-side API
                                                               Specification
                                                                    Draft 1.0




                                                                          Page 1 of 10
© Cambridge Silicon Radio Limited 2011                               CS-nnnnnn-SPP1x
This material is subject to CSR’s non-disclosure agreement               www.csr.com
Document History
Revision               Date                    History

1                      5 MAY 11                Created in SiRF Template

2                      8 SEPT                  Created in CSR Template. Latest API updated.




Contacts




                                                                                                                                  Product SSS MapServer Server-side API Specification
General information                                                              www.csr.com

Information on this product                                                      sales@csr.com

Customer support for this product                                                www.csrsupport.com

More detail on compliance and standards                                          product.compliance@csr.com

Help with this document                                                          comments@csr.com




                                                                                                                   Page 2 of 10
© Cambridge Silicon Radio Limited 2011                                                                        CS-nnnnnn-SPP1x
This material is subject to CSR’s non-disclosure agreement                                                        www.csr.com
Trademarks, Patents and Licences
Unless otherwise stated, words and logos marked with ™ or ® are trademarks registered or owned by CSR plc and/or its
affiliates.

Select appropriate sentences based on product range from this list

Other products, services and names used in this document may have been trademarked by their respective owners.

The publication of this information does not imply that any licence is granted under any patent or other rights owned by
CSR plc or its affiliates.

CSR reserves the right to make technical changes to its products as part of its development programme.




                                                                                                                                    Product SSS MapServer Server-side API Specification
While every care has been taken to ensure the accuracy of the contents of this document, CSR cannot accept responsibility
for any errors.

No statements or representations in this document are to be construed as advertising, marketing, or offering for sale in the
United States imported covered products subject to the Cease and Desist Order issued by the U.S. International Trade
Commission in its Investigation No. 337-TA-602. Such products include SiRFstarIII™ chips that operate with SiRF software
that supports SiRFInstantFix™, and/or SiRFLoc® servers, or contains SyncFreeNav functionality.



Life Support Policy and Use in Safety-critical Compliance
CSR’s products are not authorised for use in life-support or safety-critical applications. Use in such applications is done at
the sole discretion of the customer. CSR will not warrant the use of its devices in such applications.



Performance and Conformance
Refer to www.csrsupport.com for compliance and conformance to standards information.




                                                                                                                     Page 3 of 10
© Cambridge Silicon Radio Limited 2011                                                                          CS-nnnnnn-SPP1x
This material is subject to CSR’s non-disclosure agreement                                                          www.csr.com
Contents
Document History ...................................................................................................................................................................... 2

Contacts ..................................................................................................................................................................................... 2

Trademarks, Patents and Licences ............................................................................................................................................. 3

Life Support Policy and Use in Safety-critical Compliance ......................................................................................................... 3

Performance and Conformance ................................................................................................................................................. 3

Contents .................................................................................................................................................................................... 4




                                                                                                                                                                                                   Product SSS MapServer Server-side API Specification
1.     Purpose and Scope ............................................................................................................................................................ 5

     1.1.      Purpose ...................................................................................................................................................................... 5

     1.2.      Scope.......................................................................................................................................................................... 5

2.     LMBinary APIs .................................................................................................................................................................... 5

     2.1.      Register Service Accessor for single service id ........................................................................................................... 6

     2.2.      Register Service Accessor for multiple service ids .......................................................Error! Bookmark not defined.

Document References ............................................................................................................................................................... 9

Terms and Definitions .............................................................................................................................................................. 10




                                                                                                                                                                            Page 4 of 10
© Cambridge Silicon Radio Limited 2011                                                                                                                                 CS-nnnnnn-SPP1x
This material is subject to CSR’s non-disclosure agreement                                                                                                                 www.csr.com
1.           Purpose and Scope
1.1.         Purpose
This guide briefly describes and illustrates how to use the SiRF Studio Server MapServer API by describing each API method
through method definition, parameter details and short source code snippets. It includes details of both server as well as
client-side API. In addition, this guide offers some recommended practices for the API usage. By following these practices,
the API can be utilized more efficiently and powerfully.

1.2.         Scope
The document is intended as an aid for using the SiRF Studio Server MapServer API offering.




                                                                                                                                Product SSS MapServer Server-side API Specification
1.3.         Abbreviations and Acronyms definition


Acronym                       Definition

GA                            GeoAgent

SS                            SiRF Studio

POI                           Point of Interest

SSS                           SiRF Studio Server

SE                            Standard Edition

URL                           Uniform Resource Locator

API                           Application Programming Interface

JS                            JavaScript




                                                                                                                 Page 5 of 10
© Cambridge Silicon Radio Limited 2011                                                                      CS-nnnnnn-SPP1x
This material is subject to CSR’s non-disclosure agreement                                                      www.csr.com
2.            MapServer Server-side API

Server-side API has been developed using .NET framework. The API methods are exposed through a .NET HTTP Handler. All
these methods can be called through JavaScript using the MapServer Client-side API. The API provides the following
functionalities.

     1.         Mapping API
                1.1.       Get dynamic map layers, including history layer
                1.2.       Desktop component to create and cache custom map with user-defined layer settings




                                                                                                                                 Product SSS MapServer Server-side API Specification
     2.         Routing API
                2.1.       Get pre-defined named routes
                2.2.       Get shortest route
                2.3.       Save named routes
     3.         Query API
                1.1.       Query map-layers using attribute-filter and/or geometry-filter
                3.1.       Query the bounds of map-layers based on attribute-filter and/or geometry-filter



2.1.          Directory Reference

MapServer Handler                <MapServer-Virtual-Directory/MapServerHandler.ashx
                                 This is the primary access point for all API methods.

Log files                        <MapServer-Virtual-Directory/logs/

Config-file                      <MapServer-Virtual-Directory/web.config

Map-files                        MapDotNet map-files can be accessed from MapDotNet Studio
                                 (Server URI: http://localhost/MapDotNetServerUX7.1)

                                 XML map-files can be accessed from <MapServer-Virtual-Directory/maps/




                                                                                                                  Page 6 of 10
© Cambridge Silicon Radio Limited 2011                                                                       CS-nnnnnn-SPP1x
This material is subject to CSR’s non-disclosure agreement                                                       www.csr.com
2.2.         Mapping API

2.2.1.       Get Dynamic Layer(s)


2.2.1.1.     Description
Get dynamic layer-data as an image. It queries layer-data, and returns layer-data as a binary image. Layer data-source and
display settings are read from the map. This method supports single as well as multiple layers.




                                                                                                                                    Product SSS MapServer Server-side API Specification
2.2.1.2.     Method Name/ Request Type
GetDynamicLayers/ GET



2.2.1.3.     Request Params
This API takes input in JSON format. The JSON string contains following 2 parameters.

Parameter                   Type        Description          Sample Value
OperationName               string      Operation name       GetDynamicLayers
LayerDisplayInput           string      JSON string          {
                                        containing                    MapName: ‘SiRFMap’,
                                        layer-display                 LayerNameList: [‘City_depot’, ‘City_BusStop’,
                                        parameters                    ‘City_History’],
                                                                      WhereClauseList: [ “ID>2”,”UNIQ_ID=’123’”,
                                                                      “USER_ID = ‘VT00001’”],
                                                                      ShowDirectionList: [false, false, true],
                                                                      MapExtent: {XMin: 77.22, YMin: 28.60, XMax:
                                                                      77.23, YMax: 28.61},
                                                                      ImageWidth: 1330,
                                                                      ImageHeight: 800,
                                                                      ImageDpi: 96,
                                                                      ImageFormat: PNG
                                                             }


LayerDisplayInput Params:

         Paramaters                  Type           Description
         MapName                     string         Map name containing data-source and display settings for
                                                    given layer-names. This map can either be a MapDotNet map
                                                    or an XML map-file stored in MapServer maps directory.
         LayerNameList               [string]       Array of layer-names. These layer-names are case-sensitive
                                                    and should exist in the given map.
         WhereClauseList             [string]       (Optional) Array of where-clause to be applied to each layer-
                                                    name. If where-clause is not provided, then where-clause is
                                                    picked from map-file. If map-filter contains empty where-
                                                    clause then entire layer-data is returned.
         ShowDirectionList           [bool]         (Optional) Array of ShowDirection status. ShowDirection
                                                    indicates whether points in a layer should be connected by

                                                                                                                     Page 7 of 10
© Cambridge Silicon Radio Limited 2011                                                                          CS-nnnnnn-SPP1x
This material is subject to CSR’s non-disclosure agreement                                                          www.csr.com
lines or not. This is only required for point-layers. Default
                                                    value is false.
        MapExtent                    string         (Optional) JSON string having attributes XMin, YMin, XMax,
                                                    YMax. Layer-data will only be retrieved for given mapextent.
                                                    If no mapExtent is given then it is picked from the MapServer
                                                    config file.
        ImageWidth                   string         Output image-width in pixels. Default is picked from the
                                                    MapServer config file.
        ImageHeight                  string         Output image-height in pixels. Default is picked from the
                                                    MapServer config file.
        ImageDpi                     string         (Optional) Output image-dpi. Default is picked from the
                                                    MapServer config file.




                                                                                                                                    Product SSS MapServer Server-side API Specification
        ImageFormat                  string         (Optional) Output image format. Currently supported types:
                                                    PNG, JPEG, GIF. Default is picked from the MapServer config
                                                    file.



2.2.1.4.     Response
Success: Byte array containing layer(s) image.

Error: Empty byte array




                                                                                                                     Page 8 of 10
© Cambridge Silicon Radio Limited 2011                                                                          CS-nnnnnn-SPP1x
This material is subject to CSR’s non-disclosure agreement                                                          www.csr.com
Document References
Document                                                                               Reference

SiRF Studio Product Requirements Definition, Revision 1.0 02/20/2007                   <Cognidox Ref>

SiRF Studio Server: GeoAgent Component Requirements Specification Document, Revision
0.3 02/07/2007

Please add feedback on these documents in Cognidox or by emailing comments@csr.com.




                                                                                                                       Product SSS MapServer Server-side API Specification




                                                                                                        Page 9 of 10
© Cambridge Silicon Radio Limited 2011                                                             CS-nnnnnn-SPP1x
This material is subject to CSR’s non-disclosure agreement                                             www.csr.com
Terms and Definitions
BlueCore®                Group term for CSR’s range of Bluetooth wireless technology chips

Bluetooth®               Set of technologies providing audio and data transfer over short-range radio connections

CSR                      Cambridge Silicon Radio

UniFi®                   Group term for CSR’s range of chips designed to meet IEEE 802.11 standards




                                                                                                                                 Product SSS MapServer Server-side API Specification




                                                                                                                 Page 10 of 10
© Cambridge Silicon Radio Limited 2011                                                                       CS-nnnnnn-SPP1x
This material is subject to CSR’s non-disclosure agreement                                                       www.csr.com

Contenu connexe

En vedette

№6 испания (айгуль,настя)
№6 испания (айгуль,настя)№6 испания (айгуль,настя)
№6 испания (айгуль,настя)aigulescka
 
Istoriya interneta
Istoriya internetaIstoriya interneta
Istoriya internetarap_sashok
 
Questionnaire analysis stephen
Questionnaire analysis stephenQuestionnaire analysis stephen
Questionnaire analysis stephenSHubbard1
 
ממשק- תוכנית יישום מדע בממשל
ממשק- תוכנית יישום מדע בממשלממשק- תוכנית יישום מדע בממשל
ממשק- תוכנית יישום מדע בממשלISEES
 
2 класс. lesson 35. семейный альбом
2 класс. lesson 35. семейный альбом2 класс. lesson 35. семейный альбом
2 класс. lesson 35. семейный альбомshpinat
 
2 класс. lesson 17. я люблю бабочек
2 класс. lesson 17. я люблю бабочек2 класс. lesson 17. я люблю бабочек
2 класс. lesson 17. я люблю бабочекshpinat
 
Website doanh nghiep nang cao
Website doanh nghiep nang caoWebsite doanh nghiep nang cao
Website doanh nghiep nang caoSteven Thanh
 
Reticulas pantalla
Reticulas pantallaReticulas pantalla
Reticulas pantallafsuarezd
 
E2D3 ver. 0.3 gets started
E2D3 ver. 0.3 gets startedE2D3 ver. 0.3 gets started
E2D3 ver. 0.3 gets startedE2D3.org
 
2 класс. lesson 24. я потеряла питомца
2 класс. lesson 24. я потеряла питомца2 класс. lesson 24. я потеряла питомца
2 класс. lesson 24. я потеряла питомцаshpinat
 
Practicas y Estratégias de Cooperación Internacional Para el Desarrollo Local
Practicas y Estratégias de Cooperación Internacional Para el Desarrollo LocalPracticas y Estratégias de Cooperación Internacional Para el Desarrollo Local
Practicas y Estratégias de Cooperación Internacional Para el Desarrollo LocalPedro Valadares
 
Имидж Киркорова (епт)
Имидж Киркорова (епт)Имидж Киркорова (епт)
Имидж Киркорова (епт)Sergey Manvelov
 
Enterpreneurship in Peru
Enterpreneurship in PeruEnterpreneurship in Peru
Enterpreneurship in PeruJose Luis Tapia
 
Алимжан Бисембаев. Анализ эффективности в SMM
Алимжан Бисембаев. Анализ эффективности в SMMАлимжан Бисембаев. Анализ эффективности в SMM
Алимжан Бисембаев. Анализ эффективности в SMMSocialMediaClubCA
 
Roberto hernandez sampieri_-_metodologia_de_la_investigacion_unidad_3
Roberto hernandez sampieri_-_metodologia_de_la_investigacion_unidad_3Roberto hernandez sampieri_-_metodologia_de_la_investigacion_unidad_3
Roberto hernandez sampieri_-_metodologia_de_la_investigacion_unidad_3uscovirtual
 
Recent Website Design Portfolio
Recent Website Design PortfolioRecent Website Design Portfolio
Recent Website Design PortfolioChris Post
 
презентация сантехники
презентация сантехникипрезентация сантехники
презентация сантехникиAndreykireenkov
 

En vedette (20)

№6 испания (айгуль,настя)
№6 испания (айгуль,настя)№6 испания (айгуль,настя)
№6 испания (айгуль,настя)
 
Istoriya interneta
Istoriya internetaIstoriya interneta
Istoriya interneta
 
Facebook Changes
Facebook Changes Facebook Changes
Facebook Changes
 
Questionnaire analysis stephen
Questionnaire analysis stephenQuestionnaire analysis stephen
Questionnaire analysis stephen
 
ממשק- תוכנית יישום מדע בממשל
ממשק- תוכנית יישום מדע בממשלממשק- תוכנית יישום מדע בממשל
ממשק- תוכנית יישום מדע בממשל
 
2 класс. lesson 35. семейный альбом
2 класс. lesson 35. семейный альбом2 класс. lesson 35. семейный альбом
2 класс. lesson 35. семейный альбом
 
2 класс. lesson 17. я люблю бабочек
2 класс. lesson 17. я люблю бабочек2 класс. lesson 17. я люблю бабочек
2 класс. lesson 17. я люблю бабочек
 
Website doanh nghiep nang cao
Website doanh nghiep nang caoWebsite doanh nghiep nang cao
Website doanh nghiep nang cao
 
Reticulas pantalla
Reticulas pantallaReticulas pantalla
Reticulas pantalla
 
E2D3 ver. 0.3 gets started
E2D3 ver. 0.3 gets startedE2D3 ver. 0.3 gets started
E2D3 ver. 0.3 gets started
 
473 Cosburn Ave
473 Cosburn Ave473 Cosburn Ave
473 Cosburn Ave
 
Infectious // April // 2011
Infectious // April // 2011Infectious // April // 2011
Infectious // April // 2011
 
2 класс. lesson 24. я потеряла питомца
2 класс. lesson 24. я потеряла питомца2 класс. lesson 24. я потеряла питомца
2 класс. lesson 24. я потеряла питомца
 
Practicas y Estratégias de Cooperación Internacional Para el Desarrollo Local
Practicas y Estratégias de Cooperación Internacional Para el Desarrollo LocalPracticas y Estratégias de Cooperación Internacional Para el Desarrollo Local
Practicas y Estratégias de Cooperación Internacional Para el Desarrollo Local
 
Имидж Киркорова (епт)
Имидж Киркорова (епт)Имидж Киркорова (епт)
Имидж Киркорова (епт)
 
Enterpreneurship in Peru
Enterpreneurship in PeruEnterpreneurship in Peru
Enterpreneurship in Peru
 
Алимжан Бисембаев. Анализ эффективности в SMM
Алимжан Бисембаев. Анализ эффективности в SMMАлимжан Бисембаев. Анализ эффективности в SMM
Алимжан Бисембаев. Анализ эффективности в SMM
 
Roberto hernandez sampieri_-_metodologia_de_la_investigacion_unidad_3
Roberto hernandez sampieri_-_metodologia_de_la_investigacion_unidad_3Roberto hernandez sampieri_-_metodologia_de_la_investigacion_unidad_3
Roberto hernandez sampieri_-_metodologia_de_la_investigacion_unidad_3
 
Recent Website Design Portfolio
Recent Website Design PortfolioRecent Website Design Portfolio
Recent Website Design Portfolio
 
презентация сантехники
презентация сантехникипрезентация сантехники
презентация сантехники
 

Similaire à Csr template

Map serverinstallation1.5.1
Map serverinstallation1.5.1Map serverinstallation1.5.1
Map serverinstallation1.5.1Neelima Kapoor
 
Harnessing Configuration for Web GIS Application Development
Harnessing Configuration for Web GIS Application DevelopmentHarnessing Configuration for Web GIS Application Development
Harnessing Configuration for Web GIS Application DevelopmentGeCo in the Rockies
 
Enterprise Application to Infrastructure Integration -- SDN Apps
Enterprise Application to Infrastructure Integration  -- SDN AppsEnterprise Application to Infrastructure Integration  -- SDN Apps
Enterprise Application to Infrastructure Integration -- SDN AppsCisco DevNet
 
Sun Internet Mail Server 4.0 Concepts Guide
Sun Internet Mail Server 4.0 Concepts GuideSun Internet Mail Server 4.0 Concepts Guide
Sun Internet Mail Server 4.0 Concepts GuideSholeh Gregory
 
Technology Primer: Software-Defined Networking and Its Impact on Infrastructu...
Technology Primer: Software-Defined Networking and Its Impact on Infrastructu...Technology Primer: Software-Defined Networking and Its Impact on Infrastructu...
Technology Primer: Software-Defined Networking and Its Impact on Infrastructu...CA Technologies
 
We don’t need no stinkin app server! Building a Two-Tier Mobile App
We don’t need no stinkin app server! Building a Two-Tier Mobile AppWe don’t need no stinkin app server! Building a Two-Tier Mobile App
We don’t need no stinkin app server! Building a Two-Tier Mobile AppPat Patterson
 
apidays LIVE Hong Kong - Orchestrating APIs at Scale by Hieu Nguyen Nhu
apidays LIVE Hong Kong - Orchestrating APIs at Scale by Hieu Nguyen Nhuapidays LIVE Hong Kong - Orchestrating APIs at Scale by Hieu Nguyen Nhu
apidays LIVE Hong Kong - Orchestrating APIs at Scale by Hieu Nguyen Nhuapidays
 
MMS Profile for Web Services
MMS Profile for Web ServicesMMS Profile for Web Services
MMS Profile for Web ServicesAbhijeet Ranadive
 
Rebaca DPI and PCRF Expertie Overview
Rebaca DPI and PCRF Expertie OverviewRebaca DPI and PCRF Expertie Overview
Rebaca DPI and PCRF Expertie OverviewArshad Mahmood
 
Service Provider Architectures for Tomorrow by Chow Khay Kid
Service Provider Architectures for Tomorrow by Chow Khay KidService Provider Architectures for Tomorrow by Chow Khay Kid
Service Provider Architectures for Tomorrow by Chow Khay KidMyNOG
 

Similaire à Csr template (20)

DevGuide.pdf
DevGuide.pdfDevGuide.pdf
DevGuide.pdf
 
Tc Management Srs
Tc Management SrsTc Management Srs
Tc Management Srs
 
Tc Management Srs
Tc Management SrsTc Management Srs
Tc Management Srs
 
Tc Management Srs
Tc Management SrsTc Management Srs
Tc Management Srs
 
Tc Management Srs
Tc Management SrsTc Management Srs
Tc Management Srs
 
Tc Management Srs
Tc Management SrsTc Management Srs
Tc Management Srs
 
Tc Management Srs
Tc Management SrsTc Management Srs
Tc Management Srs
 
Map serverinstallation1.5.1
Map serverinstallation1.5.1Map serverinstallation1.5.1
Map serverinstallation1.5.1
 
Harnessing Configuration for Web GIS Application Development
Harnessing Configuration for Web GIS Application DevelopmentHarnessing Configuration for Web GIS Application Development
Harnessing Configuration for Web GIS Application Development
 
Enterprise Application to Infrastructure Integration -- SDN Apps
Enterprise Application to Infrastructure Integration  -- SDN AppsEnterprise Application to Infrastructure Integration  -- SDN Apps
Enterprise Application to Infrastructure Integration -- SDN Apps
 
Sun Internet Mail Server 4.0 Concepts Guide
Sun Internet Mail Server 4.0 Concepts GuideSun Internet Mail Server 4.0 Concepts Guide
Sun Internet Mail Server 4.0 Concepts Guide
 
Dinesh Wp Siebel Crm To Fusion Crm
Dinesh Wp  Siebel Crm To Fusion CrmDinesh Wp  Siebel Crm To Fusion Crm
Dinesh Wp Siebel Crm To Fusion Crm
 
Technology Primer: Software-Defined Networking and Its Impact on Infrastructu...
Technology Primer: Software-Defined Networking and Its Impact on Infrastructu...Technology Primer: Software-Defined Networking and Its Impact on Infrastructu...
Technology Primer: Software-Defined Networking and Its Impact on Infrastructu...
 
We don’t need no stinkin app server! Building a Two-Tier Mobile App
We don’t need no stinkin app server! Building a Two-Tier Mobile AppWe don’t need no stinkin app server! Building a Two-Tier Mobile App
We don’t need no stinkin app server! Building a Two-Tier Mobile App
 
apidays LIVE Hong Kong - Orchestrating APIs at Scale by Hieu Nguyen Nhu
apidays LIVE Hong Kong - Orchestrating APIs at Scale by Hieu Nguyen Nhuapidays LIVE Hong Kong - Orchestrating APIs at Scale by Hieu Nguyen Nhu
apidays LIVE Hong Kong - Orchestrating APIs at Scale by Hieu Nguyen Nhu
 
MMS Profile for Web Services
MMS Profile for Web ServicesMMS Profile for Web Services
MMS Profile for Web Services
 
Rebaca DPI and PCRF Expertie Overview
Rebaca DPI and PCRF Expertie OverviewRebaca DPI and PCRF Expertie Overview
Rebaca DPI and PCRF Expertie Overview
 
An Introduction to Lightning Web Components
An Introduction to Lightning Web ComponentsAn Introduction to Lightning Web Components
An Introduction to Lightning Web Components
 
Microservices
MicroservicesMicroservices
Microservices
 
Service Provider Architectures for Tomorrow by Chow Khay Kid
Service Provider Architectures for Tomorrow by Chow Khay KidService Provider Architectures for Tomorrow by Chow Khay Kid
Service Provider Architectures for Tomorrow by Chow Khay Kid
 

Dernier

Organizational Structure Running A Successful Business
Organizational Structure Running A Successful BusinessOrganizational Structure Running A Successful Business
Organizational Structure Running A Successful BusinessSeta Wicaksana
 
Darshan Hiranandani [News About Next CEO].pdf
Darshan Hiranandani [News About Next CEO].pdfDarshan Hiranandani [News About Next CEO].pdf
Darshan Hiranandani [News About Next CEO].pdfShashank Mehta
 
Annual General Meeting Presentation Slides
Annual General Meeting Presentation SlidesAnnual General Meeting Presentation Slides
Annual General Meeting Presentation SlidesKeppelCorporation
 
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607dollysharma2066
 
Marketplace and Quality Assurance Presentation - Vincent Chirchir
Marketplace and Quality Assurance Presentation - Vincent ChirchirMarketplace and Quality Assurance Presentation - Vincent Chirchir
Marketplace and Quality Assurance Presentation - Vincent Chirchirictsugar
 
Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03DallasHaselhorst
 
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...ictsugar
 
Traction part 2 - EOS Model JAX Bridges.
Traction part 2 - EOS Model JAX Bridges.Traction part 2 - EOS Model JAX Bridges.
Traction part 2 - EOS Model JAX Bridges.Anamaria Contreras
 
The-Ethical-issues-ghhhhhhhhjof-Byjus.pptx
The-Ethical-issues-ghhhhhhhhjof-Byjus.pptxThe-Ethical-issues-ghhhhhhhhjof-Byjus.pptx
The-Ethical-issues-ghhhhhhhhjof-Byjus.pptxmbikashkanyari
 
Digital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdfDigital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdfJos Voskuil
 
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdfNewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdfKhaled Al Awadi
 
Buy gmail accounts.pdf Buy Old Gmail Accounts
Buy gmail accounts.pdf Buy Old Gmail AccountsBuy gmail accounts.pdf Buy Old Gmail Accounts
Buy gmail accounts.pdf Buy Old Gmail AccountsBuy Verified Accounts
 
8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCR8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCRashishs7044
 
Market Sizes Sample Report - 2024 Edition
Market Sizes Sample Report - 2024 EditionMarket Sizes Sample Report - 2024 Edition
Market Sizes Sample Report - 2024 EditionMintel Group
 
Kenya’s Coconut Value Chain by Gatsby Africa
Kenya’s Coconut Value Chain by Gatsby AfricaKenya’s Coconut Value Chain by Gatsby Africa
Kenya’s Coconut Value Chain by Gatsby Africaictsugar
 
Innovation Conference 5th March 2024.pdf
Innovation Conference 5th March 2024.pdfInnovation Conference 5th March 2024.pdf
Innovation Conference 5th March 2024.pdfrichard876048
 
Kenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith PereraKenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith Pereraictsugar
 
MAHA Global and IPR: Do Actions Speak Louder Than Words?
MAHA Global and IPR: Do Actions Speak Louder Than Words?MAHA Global and IPR: Do Actions Speak Louder Than Words?
MAHA Global and IPR: Do Actions Speak Louder Than Words?Olivia Kresic
 

Dernier (20)

Organizational Structure Running A Successful Business
Organizational Structure Running A Successful BusinessOrganizational Structure Running A Successful Business
Organizational Structure Running A Successful Business
 
Darshan Hiranandani [News About Next CEO].pdf
Darshan Hiranandani [News About Next CEO].pdfDarshan Hiranandani [News About Next CEO].pdf
Darshan Hiranandani [News About Next CEO].pdf
 
Annual General Meeting Presentation Slides
Annual General Meeting Presentation SlidesAnnual General Meeting Presentation Slides
Annual General Meeting Presentation Slides
 
Enjoy ➥8448380779▻ Call Girls In Sector 18 Noida Escorts Delhi NCR
Enjoy ➥8448380779▻ Call Girls In Sector 18 Noida Escorts Delhi NCREnjoy ➥8448380779▻ Call Girls In Sector 18 Noida Escorts Delhi NCR
Enjoy ➥8448380779▻ Call Girls In Sector 18 Noida Escorts Delhi NCR
 
Corporate Profile 47Billion Information Technology
Corporate Profile 47Billion Information TechnologyCorporate Profile 47Billion Information Technology
Corporate Profile 47Billion Information Technology
 
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
 
Marketplace and Quality Assurance Presentation - Vincent Chirchir
Marketplace and Quality Assurance Presentation - Vincent ChirchirMarketplace and Quality Assurance Presentation - Vincent Chirchir
Marketplace and Quality Assurance Presentation - Vincent Chirchir
 
Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03
 
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...
 
Traction part 2 - EOS Model JAX Bridges.
Traction part 2 - EOS Model JAX Bridges.Traction part 2 - EOS Model JAX Bridges.
Traction part 2 - EOS Model JAX Bridges.
 
The-Ethical-issues-ghhhhhhhhjof-Byjus.pptx
The-Ethical-issues-ghhhhhhhhjof-Byjus.pptxThe-Ethical-issues-ghhhhhhhhjof-Byjus.pptx
The-Ethical-issues-ghhhhhhhhjof-Byjus.pptx
 
Digital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdfDigital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdf
 
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdfNewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdf
 
Buy gmail accounts.pdf Buy Old Gmail Accounts
Buy gmail accounts.pdf Buy Old Gmail AccountsBuy gmail accounts.pdf Buy Old Gmail Accounts
Buy gmail accounts.pdf Buy Old Gmail Accounts
 
8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCR8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCR
 
Market Sizes Sample Report - 2024 Edition
Market Sizes Sample Report - 2024 EditionMarket Sizes Sample Report - 2024 Edition
Market Sizes Sample Report - 2024 Edition
 
Kenya’s Coconut Value Chain by Gatsby Africa
Kenya’s Coconut Value Chain by Gatsby AfricaKenya’s Coconut Value Chain by Gatsby Africa
Kenya’s Coconut Value Chain by Gatsby Africa
 
Innovation Conference 5th March 2024.pdf
Innovation Conference 5th March 2024.pdfInnovation Conference 5th March 2024.pdf
Innovation Conference 5th March 2024.pdf
 
Kenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith PereraKenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith Perera
 
MAHA Global and IPR: Do Actions Speak Louder Than Words?
MAHA Global and IPR: Do Actions Speak Louder Than Words?MAHA Global and IPR: Do Actions Speak Louder Than Words?
MAHA Global and IPR: Do Actions Speak Louder Than Words?
 

Csr template

  • 1. ® Product ™ SSS MapServer Server-side API Specification Draft 1.0 Page 1 of 10 © Cambridge Silicon Radio Limited 2011 CS-nnnnnn-SPP1x This material is subject to CSR’s non-disclosure agreement www.csr.com
  • 2. Document History Revision Date History 1 5 MAY 11 Created in SiRF Template 2 8 SEPT Created in CSR Template. Latest API updated. Contacts Product SSS MapServer Server-side API Specification General information www.csr.com Information on this product sales@csr.com Customer support for this product www.csrsupport.com More detail on compliance and standards product.compliance@csr.com Help with this document comments@csr.com Page 2 of 10 © Cambridge Silicon Radio Limited 2011 CS-nnnnnn-SPP1x This material is subject to CSR’s non-disclosure agreement www.csr.com
  • 3. Trademarks, Patents and Licences Unless otherwise stated, words and logos marked with ™ or ® are trademarks registered or owned by CSR plc and/or its affiliates. Select appropriate sentences based on product range from this list Other products, services and names used in this document may have been trademarked by their respective owners. The publication of this information does not imply that any licence is granted under any patent or other rights owned by CSR plc or its affiliates. CSR reserves the right to make technical changes to its products as part of its development programme. Product SSS MapServer Server-side API Specification While every care has been taken to ensure the accuracy of the contents of this document, CSR cannot accept responsibility for any errors. No statements or representations in this document are to be construed as advertising, marketing, or offering for sale in the United States imported covered products subject to the Cease and Desist Order issued by the U.S. International Trade Commission in its Investigation No. 337-TA-602. Such products include SiRFstarIII™ chips that operate with SiRF software that supports SiRFInstantFix™, and/or SiRFLoc® servers, or contains SyncFreeNav functionality. Life Support Policy and Use in Safety-critical Compliance CSR’s products are not authorised for use in life-support or safety-critical applications. Use in such applications is done at the sole discretion of the customer. CSR will not warrant the use of its devices in such applications. Performance and Conformance Refer to www.csrsupport.com for compliance and conformance to standards information. Page 3 of 10 © Cambridge Silicon Radio Limited 2011 CS-nnnnnn-SPP1x This material is subject to CSR’s non-disclosure agreement www.csr.com
  • 4. Contents Document History ...................................................................................................................................................................... 2 Contacts ..................................................................................................................................................................................... 2 Trademarks, Patents and Licences ............................................................................................................................................. 3 Life Support Policy and Use in Safety-critical Compliance ......................................................................................................... 3 Performance and Conformance ................................................................................................................................................. 3 Contents .................................................................................................................................................................................... 4 Product SSS MapServer Server-side API Specification 1. Purpose and Scope ............................................................................................................................................................ 5 1.1. Purpose ...................................................................................................................................................................... 5 1.2. Scope.......................................................................................................................................................................... 5 2. LMBinary APIs .................................................................................................................................................................... 5 2.1. Register Service Accessor for single service id ........................................................................................................... 6 2.2. Register Service Accessor for multiple service ids .......................................................Error! Bookmark not defined. Document References ............................................................................................................................................................... 9 Terms and Definitions .............................................................................................................................................................. 10 Page 4 of 10 © Cambridge Silicon Radio Limited 2011 CS-nnnnnn-SPP1x This material is subject to CSR’s non-disclosure agreement www.csr.com
  • 5. 1. Purpose and Scope 1.1. Purpose This guide briefly describes and illustrates how to use the SiRF Studio Server MapServer API by describing each API method through method definition, parameter details and short source code snippets. It includes details of both server as well as client-side API. In addition, this guide offers some recommended practices for the API usage. By following these practices, the API can be utilized more efficiently and powerfully. 1.2. Scope The document is intended as an aid for using the SiRF Studio Server MapServer API offering. Product SSS MapServer Server-side API Specification 1.3. Abbreviations and Acronyms definition Acronym Definition GA GeoAgent SS SiRF Studio POI Point of Interest SSS SiRF Studio Server SE Standard Edition URL Uniform Resource Locator API Application Programming Interface JS JavaScript Page 5 of 10 © Cambridge Silicon Radio Limited 2011 CS-nnnnnn-SPP1x This material is subject to CSR’s non-disclosure agreement www.csr.com
  • 6. 2. MapServer Server-side API Server-side API has been developed using .NET framework. The API methods are exposed through a .NET HTTP Handler. All these methods can be called through JavaScript using the MapServer Client-side API. The API provides the following functionalities. 1. Mapping API 1.1. Get dynamic map layers, including history layer 1.2. Desktop component to create and cache custom map with user-defined layer settings Product SSS MapServer Server-side API Specification 2. Routing API 2.1. Get pre-defined named routes 2.2. Get shortest route 2.3. Save named routes 3. Query API 1.1. Query map-layers using attribute-filter and/or geometry-filter 3.1. Query the bounds of map-layers based on attribute-filter and/or geometry-filter 2.1. Directory Reference MapServer Handler <MapServer-Virtual-Directory/MapServerHandler.ashx This is the primary access point for all API methods. Log files <MapServer-Virtual-Directory/logs/ Config-file <MapServer-Virtual-Directory/web.config Map-files MapDotNet map-files can be accessed from MapDotNet Studio (Server URI: http://localhost/MapDotNetServerUX7.1) XML map-files can be accessed from <MapServer-Virtual-Directory/maps/ Page 6 of 10 © Cambridge Silicon Radio Limited 2011 CS-nnnnnn-SPP1x This material is subject to CSR’s non-disclosure agreement www.csr.com
  • 7. 2.2. Mapping API 2.2.1. Get Dynamic Layer(s) 2.2.1.1. Description Get dynamic layer-data as an image. It queries layer-data, and returns layer-data as a binary image. Layer data-source and display settings are read from the map. This method supports single as well as multiple layers. Product SSS MapServer Server-side API Specification 2.2.1.2. Method Name/ Request Type GetDynamicLayers/ GET 2.2.1.3. Request Params This API takes input in JSON format. The JSON string contains following 2 parameters. Parameter Type Description Sample Value OperationName string Operation name GetDynamicLayers LayerDisplayInput string JSON string { containing MapName: ‘SiRFMap’, layer-display LayerNameList: [‘City_depot’, ‘City_BusStop’, parameters ‘City_History’], WhereClauseList: [ “ID>2”,”UNIQ_ID=’123’”, “USER_ID = ‘VT00001’”], ShowDirectionList: [false, false, true], MapExtent: {XMin: 77.22, YMin: 28.60, XMax: 77.23, YMax: 28.61}, ImageWidth: 1330, ImageHeight: 800, ImageDpi: 96, ImageFormat: PNG } LayerDisplayInput Params: Paramaters Type Description MapName string Map name containing data-source and display settings for given layer-names. This map can either be a MapDotNet map or an XML map-file stored in MapServer maps directory. LayerNameList [string] Array of layer-names. These layer-names are case-sensitive and should exist in the given map. WhereClauseList [string] (Optional) Array of where-clause to be applied to each layer- name. If where-clause is not provided, then where-clause is picked from map-file. If map-filter contains empty where- clause then entire layer-data is returned. ShowDirectionList [bool] (Optional) Array of ShowDirection status. ShowDirection indicates whether points in a layer should be connected by Page 7 of 10 © Cambridge Silicon Radio Limited 2011 CS-nnnnnn-SPP1x This material is subject to CSR’s non-disclosure agreement www.csr.com
  • 8. lines or not. This is only required for point-layers. Default value is false. MapExtent string (Optional) JSON string having attributes XMin, YMin, XMax, YMax. Layer-data will only be retrieved for given mapextent. If no mapExtent is given then it is picked from the MapServer config file. ImageWidth string Output image-width in pixels. Default is picked from the MapServer config file. ImageHeight string Output image-height in pixels. Default is picked from the MapServer config file. ImageDpi string (Optional) Output image-dpi. Default is picked from the MapServer config file. Product SSS MapServer Server-side API Specification ImageFormat string (Optional) Output image format. Currently supported types: PNG, JPEG, GIF. Default is picked from the MapServer config file. 2.2.1.4. Response Success: Byte array containing layer(s) image. Error: Empty byte array Page 8 of 10 © Cambridge Silicon Radio Limited 2011 CS-nnnnnn-SPP1x This material is subject to CSR’s non-disclosure agreement www.csr.com
  • 9. Document References Document Reference SiRF Studio Product Requirements Definition, Revision 1.0 02/20/2007 <Cognidox Ref> SiRF Studio Server: GeoAgent Component Requirements Specification Document, Revision 0.3 02/07/2007 Please add feedback on these documents in Cognidox or by emailing comments@csr.com. Product SSS MapServer Server-side API Specification Page 9 of 10 © Cambridge Silicon Radio Limited 2011 CS-nnnnnn-SPP1x This material is subject to CSR’s non-disclosure agreement www.csr.com
  • 10. Terms and Definitions BlueCore® Group term for CSR’s range of Bluetooth wireless technology chips Bluetooth® Set of technologies providing audio and data transfer over short-range radio connections CSR Cambridge Silicon Radio UniFi® Group term for CSR’s range of chips designed to meet IEEE 802.11 standards Product SSS MapServer Server-side API Specification Page 10 of 10 © Cambridge Silicon Radio Limited 2011 CS-nnnnnn-SPP1x This material is subject to CSR’s non-disclosure agreement www.csr.com