Changes between Version 1 and Version 2 of FdoOGCVersionHandling


Ignore:
Timestamp:
10/18/07 12:57:11 (17 years ago)
Author:
gregboone
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FdoOGCVersionHandling

    v1 v2  
    2020==== WMS Version Connection Property ====
    2121
    22 Property Value[[br]]
    23 - - - - - - - - - - - - - - - - - - - - - - [[br]]
    24 Name --------------- Version[[br]]
    25 !LocalizedName ------ Version (English)[[br]]
    26 !DefaultValue -------- 1.3.0[[br]]
    27 !IsRequired ---------- No[[br]]
    28 !IsProtected --------- No[[br]]
    29 !IsEnumerable -------- No[[br]]
    30 !IsFileName ---------- No[[br]]
    31 !IsFilePath ----------- No[[br]]
    32 !IsDatastoreName ---- No[[br]]
     22||'''Property'''||'''Value'''||
     23||Name||Version||
     24||!LocalizedName||Version (English)||
     25||!DefaultValue||1.3.0||
     26||!IsRequired||No||
     27||!IsProtected||No||
     28||!IsEnumerable||No||
     29||!IsFileName||No||
     30||!IsFilePath||No||
     31||!IsDatastoreName||No||
     32
     33=== WMS Version Example Usage ===
     34
     35The following is an example of how the Version property would be used if included as a part of a user-defined value passed to FdoIConnection::!SetConnectionString.
    3336
    3437
     38{{{
     39FdoPtr<FdoIConnection> connection = GetConnection ();
     40FdoStringP connString =
     41    L"FeatureServer=http://www.myserver.com/wms;
     42      Username=guest;
     43      Password=guest;
     44      DefaultImageHeight=400;
     45      Version=1.1.1");
     46connection->SetConnectionString(connString);
     47FdoConnectionState state = connection->Open ();
     48}}}
     49
     50The following is an example of how the Version property would be used if specified using the FdoIConnectionPropertyDictionary.
     51
     52{{{
     53FdoPtr<FdoIConnection> conn = GetConnection ();
     54FdoPtr<FdoIConnectionInfo> info = conn->GetConnectionInfo();
     55FdoPtr<FdoIConnectionPropertyDictionary> props = info->GetConnectionProperties();
     56props->SetProperty(L"FeatureServer", L"http://www.myserver.com/wms");
     57props->SetProperty(L"Username", L"guest");
     58props->SetProperty(L"Password", L"guest");
     59props->SetProperty(L"DefaultImageHeight", L"400");
     60props->SetProperty(L"Version", L"1.1.0");
     61FdoConnectionState state = connection->Open ();
     62}}}
     63
     64==== WFS Version Connection Property ====
     65
     66||'''Property'''||'''Value'''||
     67||Name||Version||
     68||!LocalizedName||Version (English)||
     69||!DefaultValue||1.1.0||
     70||!IsRequired||No||
     71||!IsProtected||No||
     72||!IsEnumerable||No||
     73||!IsFileName||No||
     74||!IsFilePath||No||
     75||!IsDatastoreName||No||
     76
     77==== WFS Version Example Usage ====
     78
     79The following is an example of how the Version property would be used if included as a part of a user-defined value passed to FdoIConnection::!SetConnectionString.
     80
     81{{{
     82FdoPtr<FdoIConnection> connection = GetConnection ();
     83FdoStringP connString =
     84    L"FeatureServer=http://www.myserver.com/wfs;
     85      Username=guest;
     86      Password=guest;
     87      Version=1.1.1");
     88connection->SetConnectionString(connString);
     89FdoConnectionState state = connection->Open ();
     90}}}
     91
     92The following is an example of how the Version property would be used if specified using the FdoIConnectionPropertyDictionary.
     93
     94{{{
     95FdoPtr<FdoIConnection> conn = GetConnection ();
     96FdoPtr<FdoIConnectionInfo> info = conn->GetConnectionInfo();
     97FdoPtr<FdoIConnectionPropertyDictionary> props = info->GetConnectionProperties();
     98props->SetProperty(L"FeatureServer", L"http://www.myserver.com/wfs");
     99props->SetProperty(L"Username", L"guest");
     100props->SetProperty(L"Password", L"guest");
     101props->SetProperty(L"Version", L"1.1.0");
     102FdoConnectionState state = connection->Open ();
     103}}}
     104