交通技术。
设为首页
收藏本页
联系我们
首页 >> 软件技术 >> 规划软件 >> 正文
推荐新闻
APTA Online Publications and S
美国BRT资源
2005年中国物流行业的五大特点和
我国应加大对物流新技术进行基础
2005年中国物流行业的五大特点和
我国应加大对物流新技术进行基础
GIS based Road Information and
Evaluation of Accident Black S
Representing ride check survey
Optimization of GIS Informatio
新闻搜索
专题文章导航

拥挤收费 十一五规划
PTV EMME2
TRANSCAD TOD
交通白皮书 交通影响分析
停车换乘P&R 快速公交BRT



 
EMME/2常见问题解答9:Data Banks
[ 作者: | 来源:emme2官方网站 | 时间:2005-12-19 17:52:34 ]

9.1.1: Is it possible to use a data bank created on a different platform than the one I am currently using, especially when the release of EMME/2 used to create the data bank is not the same as the one currently installed?

The E2XFBANK utility can be used to transform a data bank from one computing platform to another. As for the release of EMME/2, it is possible to use a data bank created with a release older than the one you are currently using but, the reverse is not possible. For example, to use a data bank created with Release 6 of the DOS version of EMME/2 on a SUN computer where Release 9 of EMME/2 is installed, do the following:

When prompted, confirm the update to Release 9.

9.1.2: Is it possible to modify the dimensions of a data bank?

Yes. The macro modifydb, located in the macros subdirectory, can be used to increase most of the data bank dimensions. Any increase must remain within the maximum dimensions allowed by the EMME/2 licence size (and the overall limit for the whole data bank - 2 or 4 Gigabytes, depending on the operating system). It is not possible to reduce the dimensions of a data bank using modifydb but data bank contents can be transferred to a data bank with smaller dimensions (see Question 9.1.4). For more details on the modifydb macro, refer to the EMME/2 User's Manual, Chapter 5, Section 5.2.1.

9.1.3: Is it possible to increase the number of centroids in a data bank using modifydb?

The macro modifydb does not allow the number of centroids to be increased. To solve this problem, create a new data bank with the required number of centroids and use Module 1.31 to copy all the data (including assigned scenarios) from the smaller data bank to the larger one. See Question 5.7.3.

9.1.4: How can I reduce the dimensions of my data bank?

The dimensions of a data bank cannot be reduced. However, if a smaller data bank is needed and you would like to use the data from a larger one, create a new data bank with the desired dimensions and use Module 1.31 to copy the data from the larger data bank to the smaller one.

9.1.5: Is it possible to have more than 99 matrices in a data bank?

Since Release 9.2, the maximum number of matrices has been increased to 999.

When using an older version of EMME/2, the maximum number of matrices is 99. However, it is possible to store additional matrices in external data banks. For example, create one data bank for general work purposes (assignment, network calculation, matrix comparison, etc.) and one or more data banks containing the maximum number of matrices and only one scenario. These external data banks can be used primarily to store matrices. When needed, matrices can be copied from one data bank to the other, using Module 1.31.

9.1.6: Is it possible to verify the consistency of a data bank that is suspected as being corrupt?

Yes. First use option 6 of Module 1.11 which performs some (limited) validation tests. If no error is detected, use the E2XFBANK utility, specifying the same inhost and outhost. No transformation will be performed but the structure of the data bank will be analyzed. For more details on the E2XFBANK utility, refer to the EMME/2 User's Manual, Chapter 7, Section 7.6.

9.1.7: Is there any utility that allows a compressed data bank to be accessed by EMME/2?

EMME/2 does not have such a capability.

9.1.8: When I try to use the E2XFBANK utility under Windows NT to transform my data bank to another format, or to check its consistency, I get the following error message. Why?

...
Data bank directory is too large for this version of E2XFBANK!

This happens if the data bank is too large for the standard version of E2XFBANK. The version of E2XFBANK that was distributed with Release 9 can be used to transform or check data banks that are up to 2 Gigabytes. A version of E2XFBANK for Windows NT 4.0 that supports data banks up to 4 Gigabytes was included on the Release 9 CD-ROM as the file E2XFBIG.EXE in the ETC directory. To install this as the standard version, rename E2XFBIG.EXE to E2XFBANK.EXE. E2XFBIG.EXE can also be used instead of E2XFBANK using the same options, that is :

e2xfbig [options] inhost outhost emme2ban

For more information on the options available with E2XFBANK, refer to the EMME/2 User's Manual, Chapter 7, Section 7.6. Note that large data banks (>2 Gigabytes) are only supported on Windows NT 4.0 and Sun Solaris 2.6 platforms.

9.1.9: When I try to use the E2XFBANK utility under Sun Solaris to transform my data bank to another format, or to check its consistency, I get the following error message. Why?

...
Cannot open file emme2bank!

This may happen if the data bank is too large for the standard version of E2XFBANK. The version of E2XFBANK that was distributed with Release 9 can be used to transform or check data banks that are up to 2 Gigabytes. A version of E2XFBANK for Sun Solaris 2.6 that supports data banks up to 4 Gigabytes was included on the Release 9 CD-ROM as the file E2XFBIG in the ETC directory. To install this as the standard version, rename E2XFBIG to E2XFBANK. E2XFBIG can also be used instead of E2XFBANK using the same options, that is :

e2xfbig [options]inhost outhost emme2bank

For more information on the options available with E2XFBANK, refer to the EMME/2 User's Manual, Chapter 7, Section 7.6. Note that large data banks (>2 Gigabytes) are only supported on Windows NT 4.0 and Sun Solaris 2.6 platforms.


9.2 Batch Input Files

9.2.1: When reading a dxyy.in file, EMME/2 gives errors but I can't see any problem when I look at the contents of the file. What can it be?

You should verify that there are no TAB characters in the input file. Note that some text editors automatically replace a sequence of blanks by a TAB. See Question 9.2.2.

9.2.2: TABs are not accepted in batch input files. How can I change TABs to spaces in a dxyy.in file that was created using a spreadsheet?

You can use GAWK, a copylefted program that can be used to manipulate files. For example, to replace TAB by SPACE, prepare a GAWK command file containing:

{gsub ("\t"," "); print $0 }

and then to use the following command:

gawk -f cmdfile d xyy.in

It is also possible to use the following command line:

  • Under Windows:
      gawk "{gsub (\"\t\",\" \"); print $0 }" dxyy.in
  • Under UNIX:
      gawk '{gsub ("\t"," "); print $0 }' dxyy.in

9.3 Annotations

9.3.1: Is there any utility to transform a DXF file into an annotation?

The dxf2ann.awk script, available in the EMME/2 and STAN Scripts section, can be used to perform this transformation.


9.4 Interface between EMME/2 and GIS

9.4.1: Do you have utilities to exchange data between EMME/2 and a GIS database?

INRO has developed two utilities:

9.4.2: How can I exchange data between EMME/2 and ARC/INFO?

INRO has developed EMARC, a set of procedures (AML macros, EMME/2 macros, AWK scripts) which enable data exchanges between EMME/2 and ARC/INFO and vice versa. The simple user interface of EMARC guides the user during the data exchange process, which is carried out by manipulating ASCII files (that is, EMARC does not access directly the binary data banks of EMME/2 or ARC/INFO). The conversion process implemented in EMARC follows the guidelines stated in the paper entitled Development of a Data Exchange Protocol between EMME/2 and ARC/INFO by Robert Lussier and Jia Hao Wu, which can be found on the INRO Web site (arcinfo_emme2.ppt). An EMME/2 coverage is built in ARC/INFO and is based on a one-to-one relationship with the EMME/2 network data. This relationship permits the development of an automatic process that performs the information exchange between the two software packages.

EMARC is available free of charge and can be downloaded from the INRO Web site. It is an unsupported utility. It is not part of any software licence agreement and there is no explicit or implied warranty nor any support from INRO. To obtain a copy, send an e-mail request to support@inro.ca.

9.4.3: Is it possible to overlay an EMME/2 plot with an ArcView network and polygons? If so, how?

INRO has developed a utility called shp2ann to produce an EMME/2 annotation file from an ArcView shapefile containing POLYGONS or POLYLINES. If the annotation is used as an automatic annotation (for example, copy the annotation file to the directory containing the data bank; rename it annot1; set switch 19) it will appear as background on the plot. This annotation file can then be used as a basis for digitizing your network.

shp2ann is available free of charge and can be downloaded from the INRO Web site. It is an unsupported utility: it is not part of any software licence agreement and there is no explicit or implied warranty nor any support from INRO. To obtain a copy, send an e-mail request to support@inro.ca.

 
上一篇:EMME/2常见问题解答8:Macros
下一篇:transcad中的交通分配模型
[打印本页]  [关闭窗口]  [返回顶部]
特别声明:本站除部分特别声明禁止转载的专稿外的其他文章可以自由转载,但请务必注明出处和原始作者。文章版权归文章原始作者所有, 本站不凭借所收集资料获取商业利益。对于被本站转载文章的个人和网站,我们表示深深的谢意。如果本站转载的文章有版权问题请联系编辑人员,我们尽快予以更正。 本站所有技术文章、专业软件资料仅供技术人员、高校师生学习交流之用,目的旨在促进与提高中国的交通技术水平;用户获取后不得用于商业目的,否则,所产生的法律责任本站概不负责。