/** * Class for storing and working with inp display objects. */ export declare class SwmmGeoJSON { /** * Constructor for the SwmmGeoJSON class. */ constructor(); static geoJSON_model(model: any): { type: string; features: any[]; }; static geoJSON_Subcatchments_tolatlon(model: any, layerName: string): any; static geoJSON_AnyLinks_tolatlon(model: any, layerName: string): any; static geoJSON_AnyNodes_tolatlon(model: any, layerName: string): any; static geoJSON_AnySymbols_tolatlon(model: any, layerName: string): any; static getAllLinks(model: any, layerName: string): any; /** * getAllNodes packs all of the node data into * an array of data structures like the following: * { * id: 'id', * x: xPosition, * y: yPosition, * nodeType: 'JUNCTIONS/OUTFALLS/DIVIDERS/STORAGE' * } * * This makes operations like tracing, translating and displaying easier. * * @param {JSON} model an EPA-SWMM model in JSON format. * @param {string} sectionName The name of the EPA-SWMM file section (JUNCTIONS/OUTFALLS/DIVIDERS/STORAGE). * @returns swmmNodes */ static getAllNodes(model: any, layerName: string): any; /** * getAllSymbols packs all of the symbol data into * an array of data structures like the following: * { * id: 'id', * x: xPosition, * y: yPosition, * nodeType: 'RAINGAGES' * } * * This makes operations like tracing, translating and displaying easier. * * @param {JSON} model an EPA-SWMM model in JSON format. * @param {string} sectionName The name of the EPA-SWMM file section (SYMBOLS). * @returns swmmSymbols */ static getAllSymbols(model: any, layerName: string): any; /** * Reproject spatial data into GeoJSON objects that can be projected on a global map. * * @param {JSON} model an EPA-SWMM model in JSON format. * @returns {JSON} object */ static spatialProjection(model: any): any; /** * Get the globally positioned lat/long center point of a model. * * @param {JSON} model an EPA-SWMM model in JSON format. * @returns {JSON} object */ static getCenter(model: any): any; /** * Get the bounding box of a swmm model * * @param {JSON} model an EPA-SWMM model in JSON format. * @returns {JSON} object: {"bottomleft":{ "lat":number, "lng":number }, "topright":{ "lat":number, "lng":number } } */ static getBounds(model: any): any; }