Quantcast
Channel: OpenCities Map Wiki
Viewing all 1284 articles
Browse latest View live

- Dealing with space issues

$
0
0
Current Revision posted to Bentley Map | OpenCities Map Wiki by Inga Morozoff on 4/4/2019 7:19:37 PM

Installing OpenCities Map requires a minimum of 12GB free space on your C:\ drive to download the package cache, otherwise known as the installation files.  This is true even if you're installing on another drive such as your D:\ drive. 

By default the location of the package cache is defined by the environment variable TEMP which is typically set to %USERPROFILE%\AppData\Local\Temp.

A quick workaround is to temporarily redirect the variable to another drive.

However, a solution that does not require editing your environment variables, is to redirect the package cache during the installation process.  

To do that, run the installer exe with the following command line argument: IsPackageCacheButtonAvailable=1

Example:  msa10020018en_updt2.exe IsPackageCacheButtonAvailable=1

Doing so will provide the installer dialog with an option button to redirect the cache location:

For more information, please refer to Redirecting the Package Cache

Tags: installation, no space

- Making changes or repairing the installation

$
0
0
Revision 1 posted to Bentley Map | OpenCities Map Wiki by Inga Morozoff on 4/4/2019 7:36:24 PM

In previous versions, Map V8i could be repaired or modified via the Programs and Features dialog accessed from Windows Control Panel:

With CONNECT Edition products, you need to locate and run the installer file. 

- OpenCities Map, CONNECT Edition compared to V8i

$
0
0
Revision 5 posted to Bentley Map | OpenCities Map Wiki by Inga Morozoff on 4/5/2019 2:30:18 PM

The following table illustrates the current differences between the OpenCities Map CONNECT Edition and Bentley Map V8i and is subject to change without notice.

ThemeOpenCities Map Enterprise CONNECT EditionBentley Map Enterprise V8i
Reality Mesh ProcessingY-
Reality Mesh ClassifiersY-
Importing, Querying and Posting in PostGISY-
Publishing to iModel 2.0Y-
Alternate Coordinate SystemComing SoonY
Grids and GraticulesComing SoonY
FME IntegrationYY
Cartographic StylesComing SoonY
Topology Creation and Topology CleanupYY
Export Map Manager features to MicroStation ElementsComing SoonY
Advanced Map Finishing-Y
Bentley Cadastre-Y
Reference File Index (Seamless Mapping)-Y
Tags: CONNECT Edition, comparison, v8i

- OpenCities Map products

$
0
0
Current Revision posted to Bentley Map | OpenCities Map Wiki by Inga Morozoff on 4/5/2019 2:31:58 PM

Important Note:  Beginning with the CONNECT Edition,  OpenCities Map is now a standalone product and is not available as a layered application for MicroStation.  For further information, please refer to the question How can I upgrade from Bentlehy Map V8i to OpenCitis Map CONNECT Edition? in the CONNECT Edition FAQ

---

The OpenCities Map CONNECT Edition product line includes the following:

OpenCities Map PowerView -  For users that primarily need to view and perform light 2D feature acquisition and editing. OpenCities Map PowerView can query from spatial databases.

OpenCities Map - Designed for users that need to create, edit, manage, and analyze spatial databases. OpenCities Map can query, edit and post to spatial databases.

OpenCities Map Enterprise - Is designed for users that need all the functionality of OpenCities Map as well as the ability to execute advanced reality data processing with Bentley Descartes, and/or long transactions with a two-tier connection to Oracle Spatial.  Bentley Descartes  is included with OpenCities Map Enterprise. OpenCities Map Enterprise also supports full 3D editing.

ThemeOpenCities Map EnterpriseOpenCities MapOpenCities Map PowerView
Reality Data Processing (Raster, STM, Point Cloud and Reality Meshes)Y--
3D Placement and Editing ToolsY--
Animation CreationY--
XFM 3D Smart Editing (End of 2018)Y--
XFM Textures Editing (End of 2018)Y--
Posting to Spatial Data Sources (Oracle, SQLServer, FGDB)YY-
Importing, Querying and Posting in PostGISYY-
Exporting Geospatial Data (SHP, MIF, TAB, GML, FGDB)YY-
Publishing to iModelYY-
Geographic Coordinate System Management and EditingYY-
Buffers and Overlays AnalysisYY-
Free support of Bing MapYY-
Display of Reality Meshes, Point Clouds, TexturesYYY
Querying from Spatial Data Sources (Oracle, SQLServer, WFS, FGDB)YYY
Importing from Spatial Data Sources (Oracle, SQLServer, WFS, FGDB)YYY
Importing Geospatial Files (SHP, MIF, TAB, GML)YYY
Publishing to Map MobileYYY
Data BrowserYYY
Data Capture and MaintenanceYYY
Tags: OpenCities Map PowerView, OpenCities Map, Bentley Map Enterprise, Bentley Map, OpenCities Map Enterprise, Bentley Map PowerView

- ReadMe information

$
0
0
Current Revision posted to Bentley Map | OpenCities Map Wiki by Inga Morozoff on 4/5/2019 2:33:09 PM

CONNECT Edition:

The OpenCities Map CONNECT Edition ReadMe can be found in the on-line product documentation.   Alternatively, you can access a local HTML copy of the ReadMe in your installation folder:   ... /Documentation/htm/Readme.html. 

You can access this HTML content by unchecking Settings > User > Preferences > Help Settings > Use Online Help

Bentley Map V8i:

Bentley Map V8i ReadMe files are installed locally.  Look for readme_Map*.chm in your installation folder which is typically .../program files (x86)/Bentley/

Tags: readme

- Product Names: OpenCities Map vs Bentley Map

$
0
0
Revision 3 posted to Bentley Map | OpenCities Map Wiki by Inga Morozoff on 4/5/2019 2:34:35 PM

Moving forward, several of the CONNECT edition product lines are branded as Open_____. For example, OpenRoads, OpenRail, OpenBuildings and OpenCities.  

Therefore, with respect to product names, Bentley Map is used for the V8i product line and OpenCities Map is for the CONNECT Edition product line.

Tags: OpenCities Map, Bentley Map

Version Information

$
0
0
Revision 55 posted to Bentley Map | OpenCities Map Wiki by Inga Morozoff on 4/5/2019 2:40:37 PM

This page contains information about V8i and CONNECT Editions: version numbers, release dates, CONNECT Licensing, V8i dependencies and V8i prerequisites.  The CONNECT Editions of Bentley Map are being renamed as OpenCities Map.

CONNECT Edition generation:

The following table lists OpenCities Map CONNECT Editions which are built with the PowerPlatform. PowerPlatform is the MicroStation core application that underlies the CONNECT Edition products that are based on MicroStation.  Once a feature or fix is added to the Power Platform, it's available to all the applications based on PowerPlatform.  This has increased consistency between applications, is fundamental to Bentley's update strategy and is part of an ongoing plan to unify similar tools and functions across Bentley applications.

Important note regarding OpenCities Map for MicroStation:  Beginning with the CONNECT Edition,  OpenCities Map is now a standalone product and is not available as a layered application for MicroStation.  For further information, please refer to the question How can I upgrade from V8i to CONNECT Edition? in the CONNECT Edition FAQ

Important note regarding licensing:  Beginning with OpenCities Map CONNECT Edition x64 10.02.00.xx, licensing will be handled with CONNECT Licensing which does not use activation keys. Product with CONNECT Licensing is indicated with (CL). To enhance security, the licensing requires that you become registered in User Management and then sign in with those credentials to access the application. Click here for more information on CONNECT Licensing. For detailed instructions on the user registration and sign-in process, click here.

Dates are in month/day/year format. 

DateReleaseNotes
25/03/2019OpenCities Map CONNECT Edition x64 (CL) 10.03.00.23 Update 3Resolved Issues
11/22/2018OpenCities Map CONNECT Edition x64 (CL) 10.02.00.18 Update 2Resolved Issues
07/31/2018OpenCities Map CONNECT Edition x64 10.01.00.22 Update 1Resolved Issues
03/16/2018OpenCities Map CONNECT Edition x64 10.00.00.30

V8i generation:

The following tables lists the Bentley Map V8i versions with their corresponding MicroStation versions they were released with.  

It's important to combine the Bentley Map V8i (SELECTseries) "For MicroStation" edition with its corresponding MicroStation version.  This allows you to take advantage of changes that were introduced into each product during the update cycle.  V8i (SELECTseries) generation products should be installed together.  However, within (SELECTseries) product release, newer versions of Bentley Map are compatible with older versions of MicroStation.  In some cases, older versions of Bentley Map are compatible with newer versions of MicroStation.  To maintain the integrity and supported functionality, the corresponding version of MicroStation should be installed at the same time.

Dates are in month/day/year format. 

Date

ReleaseNotesDependenciesPrerequisites
04/13/2018Bentley Map V8i (SELECTseries 4) 08.11.09.882 Update 10Resolved IssuesMicroStation 08.11.09.867Included
08/18/2017Bentley Map V8i (SELECTseries 4) 08.11.09.862 Update 8Resolved IssuesMicroStation 08.11.09.862Included
04/21/2017Bentley Map V8i (SELECTseries 4) 08.11.09.836 Update 7Resolved IssuesMicroStation 08.11.09.862Included
03/07/2017Bentley Map V8i (SELECTseries 4) 08.11.09.834 Update 6Resolved IssuesMicroStation 08.11.09.862Included
12/01/2016Bentley Map V8i (SELECTseries 4) 08.11.09.805 Update 5Resolved IssuesMicroStation 08.11.09.862Included
07/18/2016Bentley Map V8i (SELECTseries 4) 08.11.09.763 Update 4Resolved IssuesMicroStation 08.11.09.838Included
03/24/2016Bentley Map V8i (SELECTseries 4) 08.11.09.713 Update 3Resolved IssuesMicroStation 08.11.09.829Included
12/11/2015Bentley Map V8i (SELECTseries 4) 08.11.09.666 Update 2Resolved IssuesMicroStation 08.11.09.752Included
05/04/2015Bentley Map V8i (SELECTseries 4) 08.11.09.615 Update 1Resolved IssuesMicroStation 08.11.09.714Included
11/13/2014Bentley Map V8i (SELECTseries 4) 08.11.09.503MicroStation 08.11.09.614Included
09/17/2012Bentley Map V8i (SELECTseries 3) 08.11.09.107MicroStation 08.11.09.357Prerequisites 08.11.09.03
05/31/2012Bentley Map V8i (SELECTseries 3) 08.11.09.91MicroStation 08.11.09.357Prerequisites 08.11.09.03
Product ID's Changed
04/13/2011Bentley Map V8i (SELECTseries 2) 08.11.07.434MicroStation 08.11.07.443Prerequisites 08.11.07.03
05/25/2010Bentley Map V8i (SELECTseries 1) 08.11.07.113MicroStation 08.11.07.171Prerequisites 08.11.07.03
12/18/2009Bentley Map V8i (SELECTseries 1) 08.11.07.87MicroStation 08.11.07.171Prerequisites 08.11.07.03
03/16/2009Bentley Map V8i 08.11.05.49MicroStation 08.11.05.17Prerequisites 08.11.05.05
Tags: Edition, MicroStation, version, Bentley Map

Resolved Issues

$
0
0
Current Revision posted to Bentley Map | OpenCities Map Wiki by Inga Morozoff on 4/5/2019 2:41:11 PM

This section contains information pertaining to resolved issues in:

  • Bentley Map (SELECTseries 4) Update x (Version Number)
  • OpenCities Map CONNECT Edition Update x (Version Number)

[[- CONNECT Edition Update 3 (10.03.00.23)]]

[[- CONNECT Edition Update 2 (10.02.00.18)]]

- CONNECT Edition Update 1 (10.01.00.22)

- V8i Update 1 (08.11.09.614)

- V8i Update 2 (08.11.09.666)

- V8i Update 3 (08.11.09.713)

- V8i Update 4 (08.11.09.763)

- V8i Update 5 (08.11.09.805)

- V8i Update 6 (08.11.09.834)

- V8i Update 7 (08.11.09.836)

- V8i Update 8 (08.11.09.862)

- V8i Update 9 (08.11.09.864)

- V8i Update 10 (08.11.09.882)

Tags: Defects, Resolved Issues

Release Information

$
0
0
Revision 21 posted to Bentley Map | OpenCities Map Wiki by Inga Morozoff on 4/5/2019 2:42:20 PM

Browse these pages for information related to your version of software.

- CONNECT Edition FAQ

- OpenCities Map products

[[- OpenCities Map vs Bentley Map]]

[[- ReadMe information]]

- Supported operating systems

- Version Information

     - Resolved Issues

         - CONNECT Edition Update 2 (10.02.00.18)

         - CONNECT Edition Update 1 (10.01.00.22)

         - V8i Update 10 (08.11.09.882)

         - V8i Update 9 (08.11.09.864)

         - V8i Update 8 (08.11.09.862)

         - V8i Update 7 (08.11.09.836)

         - V8i Update 6 (08.11.09.834)

         - V8i Update 5 (08.11.09.805)

         - V8i Update 4 (08.11.09.763)

         - V8i Update 3 (08.11.09.713)

         - V8i Update 2 (08.11.09.666)

         - V8i Update 1 (08.11.09.614)

 

  

      

Tags: Enhancements, version, release, Bentley Map, fixes

Getting Started

Administration

$
0
0
Current Revision posted to Bentley Map | OpenCities Map Wiki by Inga Morozoff on 4/5/2019 3:17:48 PM

The articles in this section relate to managing your Bentley Map projects.  Emphasis includes general articles for Workspace management and the overall operating environment, as-well as the XML Feature Modeling (XFM) engine.

[[- Bentley Geospatial Desktop Platform Extranet]]

[[- CONNECT Edition Configuration Migration tool]]

- Connecting OpenCities Map 64-bit to Microsoft Access (mdb) 32-bit

[[- Decimal Precision in GML Storage]]

[[- Dynamic Feature Scoring]]

[[- Hide Command Manager upon startup]]

[[- How Bentley Map usage is reported in SELECTserver]]

[[- Installing two versions of Bentley Map]]

[[- Introduction to Dynamic Feature Scoring]]

[[- Locating default cartographic styles]]

[[- Migrate from Intergraph’s MGE system to Bentley Map]]

[[- Mobile Mapping Tool, software for AT&T Communications Networks]]

[[- Print Preparation configuration variables]]

[[- Print Preparation Viewport Scales]]

[[- Remove display of geometric properties]]

[[- Reregister features when upgrading]]

[[- Silent Installation]]

[[- Using Map Finishing in a Map workspace]]

[[- XFM API basic concepts]]

[[- XFMize tool and example for the developer]]

Tags: XFM, Geospatial, administration, Bentley Map, Problem Solving

Spatial Analysis

$
0
0
Current Revision posted to Bentley Map | OpenCities Map Wiki by Inga Morozoff on 4/5/2019 3:23:10 PM

This section contains articles specific to spatial analysis.

[[- Using Filters for Creating Buffer]]

[[- Use of Buffer Tolerance in Map Manager]]

[[- Area to Area Overlay Analysis]]

[[- Point/Line‐to‐Area Overlay Analysis]]

Tags: Spatial Analysis

Bentley Map | OpenCities Map

$
0
0
Revision 110 posted to Bentley Map | OpenCities Map Wiki by Inga Morozoff on 4/5/2019 7:35:33 PM

 

As announced at the 2018 Year in Infrastructure conference,  all of the Comprehensive Modeling Environment MicroStation products will be branded as Open... products.  This means that V8i products will remain as Bentley Map, but in moving forward, the CONNECT Edition will be known as OpenCities Map.

The collateral that you see on the Bentley Communities and in software downloads pages are being modified to reflect the change.

Bentley Map | OpenCities Map Articles

Wiki articles have been organized into topical categories.  Select the appropriate category on the left-hand side to review the solutions related to that topic.  Use the search option at the top of this page if you don't see what you are looking for.  If you would like to see an article about a topic that is not listed, please let us know on the forum.

In addition to the wiki articles, the following short video discusses other resources that may be of interest. 

communities.bentley.com/.../Bentley-Map-Resources-1280x720.mp4

Links to other Map resources:

docs.bentley.com

learn.bentley.com

pages.info.bentley.com/videos

communities.bentley.com

select.bentley.com/fulfillmentcenter

Introduction to OpenCities Map CONNECT Edition

Tags: OpenCities Map PowerView, OpenCities Map, Bentley Map Enterprise, Bentley Map, OpenCities Map Enterprise, Bentley Map PowerView

- Hide Command Manager upon startup

$
0
0
Current Revision posted to Bentley Map | OpenCities Map Wiki by Inga Morozoff on 4/8/2019 2:13:14 PM

By default, the Command Manager panel is opened when Bentley Map is started.  To avoid this, edit  MS_GEOXFM_LOAD_METHODS = $(MS_GEOXFM_MENUNAME)|Open to MS_GEOXFM_LOAD_METHODS = $(MS_GEOXFM_MENUNAME)|Closed

 

Tags: Command Manager

- How Bentley Map usage is reported in SELECTserver

$
0
0
Current Revision posted to Bentley Map | OpenCities Map Wiki by Inga Morozoff on 4/8/2019 2:14:32 PM

Since the release of Bentley Map V8i (SELECTseries 2) and later in the Bentley Map CONNECT Edition, Bentley Map has been offered in three different editions:

  1. Bentley Map PowerView
  2. Bentley Map
    1. For MicroStation
    2. Standalone
  3. Bentley Map Enterprise

Bentley Map PowerView and Enterprise are standalone editions; all of the MicroStation commands are built-in.  When you initialize it, a Usage Log is reported. It might be a little different when you have Bentley Map for MicroStation installed.

Here are some clues that tell you what product has been activated:

  • Product title bar on the top (typically a blue bar, but might be different if you have tweaked your Windows design)
  • If you see a Geospatial entry under the Tools menu, it means that Bentley Map is loaded, therefore, a usage reported
  • Under the Help menu, see if you can load Map Contents & Map Tool Index & About Bentley Map..., if so, Bentley Map is loaded, therefore, a usage reported

When you activate Bentley Map from within a Civil Engineering product, a Bentley Map license is not used.  If you use the msgeo.ucf workspace on startup of MicroStation or PowerInroads (for example), or if you use any workspace generated by the Bentley Map Geospatial Administrator, a Bentley Map license usage will be reported.

If you want to double check which workspace user you have loaded and are in, open the Workspace menu item, then Configuration. The User/Workspace is listed in the brackets > Configuration : User [msgeo]. 

See the SELECTserver TechNotes & FAQs page for more details about license logging, product activation, and product usage: SELECTserver Technotes and FAQs 

Tags: For MicroStation, Bentley Map license, Bentley Map

- Feature names, groups and aliases

$
0
0
Current Revision posted to Bentley Map | OpenCities Map Wiki by Inga Morozoff on 4/8/2019 2:16:35 PM

In this article, we will explain some basic concepts of the XFM API. You need to have an understanding of programming with XFM before you will find it useful. All code references are in MicroStation VBA but you can easily find the equivalents in MDL.

The feature object is at the center of the XFM API. We will focus on this object and some of its properties. A feature has a name, can be included in a group, and can have an alias. We will describe how names, groups and aliases are useful to manipulate a feature in the XFM API. Using the key-in mdl command showfeatureinfo, you can inspect the name and the alias of a feature.

For the users of our application, a feature has a geometry and properties, but for the developers, mastering the supplemental information in a feature definition like its name, group and alias can help you build better applications.

The Feature Name

Each XFM feature in a DGN file has a name. This is mandatory as the name allows linking this object to its description in the active schema. The feature name is case-sensitive and must exactly match the feature definition name of the schema. For example, when you create a feature with the following code:

Dim oFeature As New xft.feature

or:

Set oFeature = xft.FeatureMgr.CreateFeature (MicrostationElement)

You have to associate a name to this feature with something like the following:

oFeature.Name = "Lake"

The active schema will be used to associate all the characteristics of the lake feature to this new object. You can also use the feature name to inform a LocateOp object that you only need to locate a particular feature type:

oLocateOp.IncludeFeatureName "Lake"

The feature name can also be useful to identify a feature the user selects in your application.

In addition, you can use oLocateOp.GetLocatedFeatures to get an enumerator of located features. For each feature in the enumerator, you can get its feature name.

The Feature Group

You can set the feature group using its group property:

oFeature.Group = "Placement"

Once the feature group is set, a reference to this feature is added to the global feature list. A feature is commonly added to the global feature list for XFM placement and manipulation operations, and for access to this feature by the XFM Dialog Manager.

Since feature object instances are counted reference by reference, the feature instance will not be deleted until the reference count goes to zero.

Note: The global feature list is always cleared at the start of an XFM command.

If an XFM command must work with multiple features during many operations, it is convenient to use the global feature list to hold the feature instance references. By using different group names, a programmer can store different instances for different purposes. For example, a placement operation has to locate existing features with different names, so you store them in a group named "locate". A feature placement operation has to use the located features as start and end points of a new linear feature which will be stored in the "placement" group. When the placement operation is complete, the application can write all features in the "placement" group.

Note: A feature group is not the same as a method group. A method group is a set of methods associated to a feature definition using the Geospatial Administrator in the Methods section of the workspace definition. As an example, you can use the Command Manager method "MethodExists" to check if a method exists in the XFM Methods Cache using the method group. You can also start a specific method using its name and its group with the method ActivateMethod of the Command Manager.

The Feature Alias

If you do not set an alias for a feature, the XFM API will use the feature name in place of the alias for all the methods using an alias. The alias can be useful to distinguish two features with the same name. For example, look in the code for the placement of a two gas valves on a gas main in the Developer Guide and in the examples provided with Bentley Map. You need to get two gas valves, but you also need to distinguish the first valve from the second one selected. We could use the UUID of the selected features, but it is better to use the alias method. First, set the locate operator object to retrieve gas valve features using the feature name:

oLocateOp.IncludeFeatureName "GasValve"

When the first gas valve is retrieved, set its alias to "gasvalve1" in the clsGasValve1Events class. oCurrentFeature.Alias = "gasvalve1"

When the second gas valve is retrieved, set its alias to "gasvalve2" in the clsGasValve2Events class.

oCurrentFeature.Alias = "gasvalve2"

This procedure allows distinguishing the first gas valve from the second one.

The methods RemoveFromTheFeatureList and LoadFeatureFromList of the Feature Manager (FeatureMgr) can use the feature alias to manage a feature from the global feature list in the feature manager. Here are some examples:

FeatureMgr.RemoveFromFeatureList "", "gasvalve1"
FeatureMgr.LoadFeatureFromList "", "gasvalve2"

Note: As seen in the previous description of the group name, you must first set the group name of a feature in order to add a reference to the feature in the feature list.

Storing and retrieving Names, Aliases and Groups with the Command Manager

The Command Manager can use the SetProperty method to store the name, alias and group values:

xft.CmdMgr.SetProperty "placementFeature", "GasMain"
xft.CmdMgr.SetProperty "placementAlias", "GasMain"
xft.CmdMgr.SetProperty "placementGroup", "placement"

You can retrieve these values anywhere in your application. You do not have to use global variables to keep information between the call of your multiple events handlers, so your code will be cleaner.

oCurrentFeature.Feature = xft.CmdMgr.GetProperty("placementFeature ")
oCurrentFeature.Alias = xft.CmdMgr.GetProperty("placementAlias")
oCurrentFeature.Group = xft.CmdMgr.GetProperty("placementGroup")

Conclusion

In this article, we explained the concepts of feature names, groups and aliases:

  • A feature always has a case-sensitive name.
  • You can group different features with different names in a feature group for a common process.
  • You can differentiate many occurrences of a feature named with the same feature name using their aliases.

We recommend that you look at the examples delivered with MicroStation GeoGraphics and follow the code to ensure that these notions are used consistently.

Any comments or questions regarding this article should be directed to jeff.bielefeld@bentley.com.

Tags: XFM, API, BDNzine

- Creating clickable links on Feature Properties (xslt)

$
0
0
Current Revision posted to Bentley Map | OpenCities Map Wiki by Inga Morozoff on 4/8/2019 2:20:32 PM

This tutorial discusses how you can create hyper-linked properties on Bentley Map features.  This will allow you to link to any document that can be opened in a browser and includes images, documents, spreadsheets, PDFs and more.

 
Introduction
When Analyze Element is used, the results are displayed in an HTML dialog that’s is generated from Default.xslt.  As noted in the following graphic, the value of the Link  property is valid, but is not  hyper-linked to the associated image. 
 
 

The remainder of this tutorial will walk you through the steps to turn a property called Link into a clickable hyperlink in the results dialog.

Default.xslt
The stylesheet used to generate the results dialog will be customized to accommodate hyperlinks. This file is found in the .../XML/XSLT folder in the installation directory and can be moved to shared location defined by the configuration variable MS_GEOXFM_COMMONXML_DIR.  For simplicity,  copy the delivered XML folder and it’s subfolder to a your standards folder and add the following line to standards.cfg. 
MS_GEOXFM_COMMONXML_DIR = $(_USTN_SITE)xml/
.

Tip:  Default.xslt can be customized to change the presentation of the Analyze Results dialog.  This will require knowledge of CSS which is a style sheet language used to describe the presentation of HTML elements. 
 
 
 

 
To make feature property called Link a hyperlink, copy the following lines of code and paste it above the last line in copied default.xslt:
 
<!-- Template to make feature property called LINK a hyperlink --><xsl:template match="*"><xsl:param name="tag"/><xsl:element name="tr"><xsl:attribute name="{$tag}">yes</xsl:attribute><xsl:attribute name="class">r<xsl:value-of select="position() mod 2"/></xsl:attribute><xsl:attribute name="style">display:block;</xsl:attribute><xsl:choose><xsl:when test="name()='Link'"><td><xsl:value-of select="name()"/></td><td><a target="_blank"><xsl:attribute name="href"><xsl:value-of select="."/></xsl:attribute><xsl:value-of select="."/></a></td></xsl:when><xsl:otherwise><td><xsl:value-of select="name()"/></td><td><xsl:value-of select="."/></td></xsl:otherwise></xsl:choose></xsl:element></xsl:template>
 

 
 
 

The results of this additional code is seen immediately in the Results dialog.
 
 

While this is valid link, the physical location of the JPG is not included in the property value. A quick and easy solution is to load the features into the Data Browser and use the Find and Replace function to append the shared folder to the value.

 

 

Once saved, the link opens the correct document in the browser.
 
 
 
An alternate solution to using a property value called Link, is to convert any property that contains http:// in the value to a hyperlink.  In this case, the code to add to Default.xslt is as follows:
 
<!-- Template to make feature property with http in value a hyperlink --><xsl:template match="*"><xsl:param name="tag"/><xsl:variable name="PropName"><xsl:choose><xsl:when test="@displayName"><xsl:value-of select="@displayName"/></xsl:when><xsl:otherwise><xsl:value-of select="name()"/></xsl:otherwise></xsl:choose></xsl:variable>         <xsl:variable name="PropValue"><xsl:value-of select="."/></xsl:variable><xsl:element name="tr"><xsl:attribute name="{$tag}">yes</xsl:attribute><xsl:attribute name="class">r<xsl:value-of select="position() mod 2"/></xsl:attribute><xsl:attribute name="style">display:block;</xsl:attribute><xsl:choose><xsl:when test="contains ($PropValue, 'http')"><td><xsl:value-of select="name()"/></td><td><a target="_blank"><xsl:attribute name="href"><xsl:value-of select="."/></xsl:attribute><xsl:value-of select="."/></a></td></xsl:when><xsl:otherwise><td><xsl:value-of select="$PropName"/></td><td><xsl:value-of select="."/></td>  </xsl:otherwise></xsl:choose></xsl:element></xsl:template>
 
 
  
 
Conclusion:
 In conclusion, it’s a simple process to add clickable properties to your features.   While this article illustrated dealing with XFM attributes, the same concept applies to features and attributes stored in Oracle Spatial. Likewise, creating hyperlinks is not restricted to JPG images as shown in this tutorial.  If the document can be viewed in a browser, these modifications to default.xslt are applicable.
Tags: hyperlink, Analyze Results, XSLT, Bentley Map

- Transform elements using Warp

$
0
0
Current Revision posted to Bentley Map | OpenCities Map Wiki by Inga Morozoff on 4/8/2019 2:21:32 PM

To transform (move, scale and rotate) elements based on a pair of control points, use the Warp tool located in the Utilities toolbox. This tool is only available with Bentley Map V8i.

Tags: transform, Warp, GeoGraphics

- Use Color Table preference not working

$
0
0
Current Revision posted to Bentley Map | OpenCities Map Wiki by Inga Morozoff on 4/8/2019 2:22:42 PM

Note:  This article is specific to Bentley Map V8i.

Bentley Map V8i (SELECTseries 4) doesn't appear to honor the Use color table preference for references. This can be resolved by adding the following variable to your UCF:

MS_REFCOLORTABLE = 1

An alternate solution is to locate and open  ...\config\appl\msgeo.cfg. Navigate to Line 386 and comment outMS_REFCOLORTABLE = 2.  This is done by preceding the line with a #.  This ensures the variable is not read and is therefore undefined.  When undefined, Bentley Map will honour the Use Color Table preference. 

Additional Information:

MS_REFCOLORTABLE determines how the Use Color Table preference is used.

MS_REFCOLORTABLE = 1  MicroStation always uses the reference's color table. 
MS_REFCOLORTABLE is defined and set to any value other than 1 - MicroStation never uses the reference's color table. 
MS_REFCOLORTABLE is not defined -  MicroStation uses the user preference to determine whether or not to use the reference's color table.

Tags: workspace preferences, Color Table, Reference, Bentley Map

Installation Information

$
0
0
Current Revision posted to Bentley Map | OpenCities Map Wiki by Inga Morozoff on 4/8/2019 2:55:12 PM

This section contains articles specific to the installation of OpenCities Map products.

[[- CONNECT Edition installation requirements]]

[[- Installing CONNECT Edition]]

- Creating a deployment image

[[- Installing from a deployment image]]

[[- Custom configuration guides]]

- Dealing with space issues

[[- Making changes or repairing the installation]]

Viewing all 1284 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>