All Forums

Replies


  • How to Create an InfoSWMM model from CSV Files

    An InfoSWMM model can be newly created from a CSV file but it helps to have a background map or shapefile to initialize the Arc Map project.  BEFORE initializing your InfoSWMM map Add a data layer using the Arc Map command Add Data.   Create a new InfoSWMM project using the same spatial reference as your added shapefile (Figure 1).  Import the CSV files (Figure 2) and define the imported variables (Figure 3) followed by an Update Map from DB (Figure 4) which will draw your imported nodes and links on the Arc Map screen.  The updated Map will have the same coordinates as the background shapefile (Figure 5).  It is important to have the proper spatial reference for your imported data in Arc Map.


    Image001
    Figure 1.  Import a background shape file and initialize your InfoSWMM map to the coordinates of the shapefile. 


    Image003
    Figure 2.  Import a CSV file for both pipes and nodes using the Import Manager of InfoSWMM



      

    Image002
    Figure 3.  Set up the Field Mapping between the CSV parameters and the Node and Link Parameters of InfosWMM.


    Image004
    Figure 4.  Update the Map from the DB tables you just imported using the command Force All Network.





    Image005
    Figure 5.  The imported model has the same coordinates as the original imported shapefile. 

  • How to Create an InfoSWMM model from CSV Files, Alternate Method

    An InfoSWMM model can be newly created from a CSV file but it helps to have an idea of the maximum extents before you initialize the Arc Map project.  Use the ArcGIS default and Edit the extents of your future imported network (Figure 1).  Import the CSV files (Figure 2) and define the imported variables (Figure 3) followed by an Update Map from DB (Figure 4) which will draw your imported nodes and links on the Arc Map screen.  The updated Map should be within the extents of your defined spatial reference (Figure 5).  It is important to have the proper spatial reference for your imported data in Arc Map.  If you do not have the proper extents then when you update the Map from DB you will have a warning message “The coordinates or measures are out of bounds”. 


    Image006
    Figure 1.  Import a background shape file and initialize your InfoSWMM map to the coordinates of the shapefile.


    Image007
    Figure 2.  Import a CSV file for both pipes and nodes using the Import Manager of InfoSWMM 


    Image008
    Figure 3.  Set up the Field Mapping between the CSV parameters and the Node and Link Parameters of InfosWMM.


    Image009

    Figure 4.  Update the Map from the DB tables you just imported using the command Force All Network.




    Image010
    Figure 5.  The imported model has the same coordinates as the original imported shapefile.





This reply was deleted.