ArcNet version 5 display error

21 views
Skip to first unread message

Wei

unread,
Apr 16, 2014, 4:23:08 PM4/16/14
to trans...@googlegroups.com
Dear all,

I used ArcNet version 5 to generate the shapefile. There is no errors/warnings when running ArcNet program. But I can't load the shapefiles in QGIS or ArcGIS. It shows all the X,Y value as infinite. Any help? Thanks.



    ********************************************
    |                                          |
    |          ArcNet - Version 5.0.7          |
    |  Copyright 2012 by TRANSIMS Open-Source  |
    |         Wed Apr 16 16:18:27 2014         |
    |                                          |
    ********************************************

    Control File = ArcNet_Input.ctl
    Report File  = ArcNet_Input.prn (Create)

    ArcNet Network Tiny Example

    Project Directory = ../
    Random Number Seed = 1397679507

    Input System Network Files:
    Node File = ../inputs/Input_Node.txt
    Zone File = ../inputs/Input_Zone.txt
    Shape File = ../inputs/Input_Shape.txt
    Link File = ../inputs/Input_Link.txt


    Data Service Controls:

    Input Coordinate System = UTM, 18N, METERS
    Input Coordinate Adjustment = 0.0, 0.0, 1.0, 1.0
    Output Coordinate System = UTM, 18N, METERS
    Output Coordinate Adjustment = 0.0, 0.0, 1.0, 1.0

    ArcNet Output Files:
    New Arc Node File = ../network/arcview/input_node.shp
    New Arc Zone File = ../network/arcview/input_zone.shp
    New Arc Link File = ../network/arcview/input_link.shp

    ArcNet Control Keys:

    Draw Service Controls:


    Number of Node File Records = 18

    Number of Zone File Records = 6

    Number of Shape File Records = 13
    Number of Link Shape Records = 3

    Number of Link File Records = 20
    Number of Directional Links = 28

    Wed Apr 16 16:18:27 2014 -- Process Complete (0:00:00)

Roden, David

unread,
Apr 16, 2014, 8:32:47 PM4/16/14
to <transims_ug@googlegroups.com>
It looks like you are using the small test net data. That data are simple xy not based on utm. Comment out the input and output projection keys.

Sent from my iPhone
--
You received this message because you are subscribed to the Google Groups "TRANSIMS Users Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to transims_ug...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Wei Lu

unread,
Apr 16, 2014, 9:05:29 PM4/16/14
to trans...@googlegroups.com
Hi David,

I have commented those projection keys. But the problem is still there. Actually, I used the control file in the ArcNet document. The data I used is the TinyExample data. Thanks.

Wei


--
You received this message because you are subscribed to a topic in the Google Groups "TRANSIMS Users Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/transims_ug/n9P-JjDZSoQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to transims_ug...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Wei (Michael) Lu


 

Scott...@dot.gov

unread,
Apr 17, 2014, 7:41:46 AM4/17/14
to trans...@googlegroups.com

Wei,

 

Can you post the actual control file that you used?  Looks like you are trying to generate shapefiles from the original input files, rather than the network files generated by TransimsNet (the example in ArcNetV5_0_R1.0.pdf used the network files that were generated by TransimsNet). 

 

Thanks.

 

- Scott Smith

--

Wei

unread,
Apr 17, 2014, 9:07:48 AM4/17/14
to trans...@googlegroups.com
Hi Scott,

Yes, I just modified the control file to generate the Input shapefiles. I used the original one (as below) to generate shapefiles after TransismNet. It had the problem. I thought it might have some problem with TransimsNet generated files. But it seems the problem is ArcNet projection.

Here is the original one that I used.

TITLE                 ArcNet Network Tiny Example
PROJECT_DIRECTORY        ../

NODE_FILE             network/node.txt
ZONE_FILE             network/zone.txt
SHAPE_FILE             network/shape.txt
LINK_FILE             network/link.txt
CONNECTION_FILE         network/connection.txt
PARKING_FILE             network/parking.txt
LOCATION_FILE             network/location.txt
POCKET_FILE             network/pocket.txt
SIGNAL_FILE             network/signal.txt
TIMING_PLAN_FILE         network/timing_plan.txt
PHASING_PLAN_FILE         network/phasing_plan.txt
DETECTOR_FILE             network/detector.txt
SIGN_FILE             network/sign.txt
#VEHICLE_TYPE_FILE         ../inputs/Vehicle_Type_V5.txt

NEW_ARC_NODE_FILE         network/arcview/node.shp
NEW_ARC_ZONE_FILE         network/arcview/zone.shp
NEW_ARC_LINK_FILE         network/arcview/link.shp
NEW_ARC_POCKET_FILE         network/arcview/pocket.shp
NEW_ARC_CONNECTION_FILE     network/arcview/connection.shp
NEW_ARC_PARKING_FILE         network/arcview/parking.shp
NEW_ARC_LOCATION_FILE         network/arcview/location.shp
NEW_ARC_SIGN_FILE         network/arcview/sign.shp
NEW_ARC_SIGNAL_FILE         network/arcview/signal.shp
NEW_ARC_TIMING_PLAN_FILE     network/arcview/timing_plan.shp
NEW_ARC_PHASING_PLAN_FILE     network/arcview/phasing_plan.shp
NEW_ARC_DETECTOR_FILE         network/arcview/detector.shp

DRAW_NETWORK_LANES         TRUE
LANE_WIDTH             12 feet
CENTER_ONEWAY_LINKS         FALSE
LINK_DIRECTION_OFFSET         6 feet
DRAW_AB_DIRECTION         FALSE
POCKET_SIDE_OFFSET         6 feet
PARKING_SIDE_OFFSET         60 feet
LOCATION_SIDE_OFFSET         100 feet
SIGN_SIDE_OFFSET         6 feet
SIGN_SETBACK             6 feet
DRAW_ONEWAY_ARROWS         TRUE
ONEWAY_ARROW_LENGTH         20 feet
ONEWAY_ARROW_SIDE_OFFSET     6 feet
CURVED_CONNECTION_FLAG         TRUE
#INPUT_COORDINATE_SYSTEM     UTM, 18N, METERS
#INPUT_COORDINATE_ADJUSTMENT     0.0, 0.0, 1.0, 1.0
#OUTPUT_COORDINATE_SYSTEM     UTM, 18N, METERS
#OUTPUT_COORDINATE_ADJUSTMENT     0.0, 0.0, 1.0, 1.0

Wei

unread,
Apr 24, 2014, 11:38:32 AM4/24/14
to trans...@googlegroups.com
Does anyone have the executables for ArcNet program under Linux? When I compiled version 5 on Ubuntu 12.04. There is an error saying "NaN not defined in Arcview.cpp". I added the following codes in SysLib/Ddfile/Arcview_File.cpp and it works. But my ArcNet doesn't generate the right shapefiles. And there is no error or warning messages.

//Wei - to solve the NAN problem
#include <math.h>
#ifdef NAN
/* NAN is supported */
#endif
//Wei - end

Wei

unread,
Apr 24, 2014, 5:23:28 PM4/24/14
to trans...@googlegroups.com
Problem solved.

Just add one line code in SysLib/Ddfile/Arcview_File.cpp if you compile under Linux.

#define NAN (-1.79769e+308)

Wei
Reply all
Reply to author
Forward
0 new messages