Law Enforcement Software
Geographic Reference File or (GeoFile) data can be imported from external systems via 'csv', 'xls or 'xml' file formats. The GeoFile Import feature is accessible via the Admin/Geofile Maintenance menu option. The GeoFile import form provide a mechanism to import the master street list, street segments and premise records. For more information of the definition of those GeoFile elements, see the Geographic Reference File topic.
The data record layout for these files is defined as follows:
Importing the Master Street List
The master street list is the basis for all other GeoFile Segment and Premise Records. Before any street segment or premise address can be defined the street name referenced by that segment or premise must be defined within the Master Street List table.
The table below defines the fields of the .csv import file.
Field Name |
Maximum Size (bytes) |
Data Type |
Definition |
PREFIX |
2 |
Character |
Street Prefix Code |
STREET |
30 |
Character |
Root Street Name |
TYPE |
2 |
Character |
Street Type Code |
SUFFIX |
2 |
Character |
Street Suffix Code |
CITY |
20 |
Character |
City Name |
COUNTY |
6 |
Character |
County Code |
ZIPCODE |
10 |
Character |
Postal Zip Code |
EXTKEY |
20 |
Character |
External Key Reference |
|
|
|
|
The sample below defines the fields of the XML import file.
<?xml version="1.0" encoding="Windows-1252" standalone="yes" ?>
<GeoData>
<geo_msl>
<wcpfx >W</wcpfx >
<wcstreet>ABBY</wcstreet>
<wctype>LN</wctype>
<wcsfx>S</wcsfx>
<wccity>BAR HARBOR</wccity>
<wccounty>HANC</wccounty>
<wcstate>ME</wcstate>
<wczip>04609</wczip>
<wcexkey>1</wcexkey>
</geo_msl>
<geo_msl>
<wcpfx >E</wcpfx >
<wcstreet>ARNOLD</wcstreet>
<wctype>ST</wctype>
<wcsfx>N</wcsfx>
<wccity>BAR HARBOR</wccity>
<wccounty>HANC</wccounty>
<wcstate>ME</wcstate>
<wczip>04609</wczip>
<wcexkey>2</wcexkey>
</geo_msl>
</GeoData>
Import Notes:
All data is up-shifted to CAPITAL letters
Street Prefix, Type , Suffix and County codes are validated against the corresponding RMS code tables for those respective fields. Records that contain codes that cannot be validated will be skipped.
Importing the Street Segment List
A street segment is a portion of any given street segmented by two cross streets or other geographic delineations. Each street segment has beat, sector, district, agency and jurisdiction attributes for the even address and odd address sides of the street. Likewise each segment has a defined cross street which intersects the segment at the high address end of the segment and the low address end of the segment.
The table below defines the fields of the .csv import file.
Field Name |
Maximum Size (bytes) |
Data Type |
Definition |
STREET |
30 |
Character |
Root Segment Street Name |
TYPE |
2 |
Character |
Segment Street Type Code |
PREFIX |
2 |
Character |
Segment Street Prefix Code |
SUFFIX |
2 |
Character |
Segment Street Suffix Code |
CITY |
20 |
Character |
City Name |
COUNTY |
6 |
Character |
County Code |
STATE |
2 |
Character |
State Code |
ZIP CODE |
10 |
Character |
Postal Zip Code |
LOW LAT |
12 |
Numeric Decimal |
Latitude Coordinate for intersection of Segment Street and low address cross street |
LOW LONG |
12 |
Numeric Decimal |
Longitude Coordinate for intersection of Segment Street and low address cross street |
LOW STREET |
30 |
Character |
Low Address Cross Street |
LOW TYPE |
2 |
Character |
Low Address Cross Street Type Code |
LOW PREFIX |
2 |
Character |
Low Address Cross Street Prefix Code |
LOW SUFFIX |
2 |
Character |
Low Address Cross Street Suffix Code |
HIGH LAT |
12 |
Numeric Decimal |
Latitude Coordinate for intersection of Segment Street and high address cross street |
HIGH LONG |
12 |
Numeric Decimal |
Longitude Coordinate for intersection of Segment Street and high address cross street |
HIGH STREET |
30 |
Character |
High Address Cross Street |
HIGH TYPE |
2 |
Character |
High Address Cross Street Type Code |
HIGH PREFIX |
2 |
Character |
High Address Cross Street Prefix Code |
HIGH SUFFIX |
2 |
Character |
High Address Cross Street Suffix Code |
EVEN LOW |
6 |
Numeric |
Lowest address value for even address side of the street segment |
EVEN HIGH |
6 |
Numeric |
Highest address value for even address side of the street segment |
EVEN BEAT |
2 |
Character |
Beat Code value of even address side of the street segment |
EVEN SECTOR |
2 |
Character |
Sector Code value of even address side of the street segment |
EVEN DISTRICT |
2 |
Character |
District Code value of even address side of the street segment |
EVEN AGENCY |
6 |
Character |
Agency Code value of even address side of the street segment |
EVEN JURIS |
6 |
Character |
Jurisdiction Code value of even address side of the street segment |
ODD LOW |
6 |
Numeric |
Lowest address value for odd address side of the street |
ODD HIGH |
6 |
Numeric |
Highest address value for odd address side of the street |
ODD BEAT |
2 |
Character |
Beat Code value of odd address side of the street segment |
ODD SECTOR |
2 |
Character |
Sector Code value of odd address side of the street segment |
ODD DISTRICT |
2 |
Character |
District Code value of odd address side of the street segment |
ODD AGENCY |
6 |
Character |
Agency Code value of odd address side of the street segment |
ODD JURIS |
6 |
Character |
Jurisdiction Code value of odd address side of the street segment |
EXTKEY |
20 |
Character |
External Key Reference |
The sample below defines the fields of the XML import file.
<?xml version="1.0" encoding="Windows-1252" standalone="yes" ?>
<GeoData>
<geo_msl>
<wcstreet>ABBY</wcstreet>
<wctype>LN</wctype>
<wcpfx>W</wcpfx>
<wcsfx>N</wcsfx>
<wccity>BAR HARBOR</wccity>
<wccounty>HANC</wccounty>
<wcstate>ME</wcstate>
<wczip>04609</wczip>
<wcllat>123.45678</wcllat>
<wcllong>-987.654321</wcllong>
<wclstreet>SALT WATER</wclstreet>
<wcltype>LN</wcltype>
<wclpfx></wclpfx>
<wclsfx></wclsfx>
<wchlat>123.45555</wchlat>
<wchlong>-987.654330</wchlong>
<wchstreet>ALAMO</wchstreet>
<wchtype>CL</wchtype>
<wchpfx></wchpfx>
<wchsfx></wchsfx>
<wcevlow>2</wcevlow>
<wcevhigh>28</wcevhigh>
<wcevbeat>01</wcevbeat>
<wcevsector>07</wcevsector>
<wcevdistrict>217</wcevdistrict>
<wcevagency>BHPD<wcevagency>
<wcevjuris>BH</wcevjuris>
<wcodlow>1</wcodlow>
<wcodhigh>27</wcodhigh>
<wcodbeat>01</wcodbeat>
<wcodsector>07</wcodsector>
<wcoddistrict>216</wcoddistrict>
<wcodagency>BHPD</wcodagency>
<wcodjuris>BH</wcodjuris>
<wcexkey>145688</wcexkey>
</geo_msl>
</GeoData>
Import Notes:
Once the external file is read the data, as read, will be immediately displayed in a GeoFile Data-Import - Verification window. This is your opportunity to preview the data that will be processed for the geo-file import / update. Selecting "OK" on the GeoFile Data-Import- Verification window will begin the data import process.
All data is up-shifted to CAPITAL letters before being imported into the Crimestar GeoFile.
Street Names (Root Segment, Low Cross Street & High Cross Street ) are validated against the Master Street Name list. Records that contain street names (including applicable street type, prefix and suffix) that cannot be validated will be skipped.
Street Prefix, Type , Suffix, County and State codes are validated against the corresponding RMS code tables for those respective fields. Records that contain codes that cannot be validated will be skipped.
The street segment file is searched using the address data provided in the data record being imported. If a matching street segment record is located it is updated accordingly. If no matching street segment record is located a new street segment record is created. If an external record key (EXT_KEY) value is provided in the import data that value will be used to find and match to an existing street segment record instead of the address.
Importing the Premise File
A Premise record is an entry which defines a specific address of location. A premise record can be a private residence or a business. The premise record has beat, sector, district and agency attributes and contain emergency contact names and phone numbers. The premise record can also be used to flag a location for the existence of various hazards that responding personnel may need to be aware of. A premise record would normally be associated with the street segment record for the premise address, however premise records can exist without being linked to a specific street segment
The table below defines the fields of the .csv import file.
Field Name |
Maximum Size (bytes) |
Data Type |
Definition |
DIGITS |
6 |
Character |
Street Address Digits |
PREFIX |
2 |
Character |
Street Prefix Code |
STREET |
30 |
Character |
Root Street Name |
TYPE |
2 |
Character |
Street Type Code |
SUFFIX |
2 |
Character |
Street Suffix Code |
APT |
6 |
Character |
Street Address Apartment Number |
CITY |
20 |
Character |
City Name |
COUNTY |
6 |
Character |
County Code |
STATE |
2 |
Character |
State Code |
ZIP CODE |
10 |
Character |
Postal Zip Code |
BUSINESS LICENSE |
10 |
Character |
Business License Number |
COMMON NAME |
30 |
Character |
Premise Common Name/Business Name |
AREA CODE |
3 |
Character |
Premise Phone Area Code |
PHONE NUMBER |
8 |
Character |
Premise Phone Number |
RESPONSIBLE PERSON (R/P) #1 |
40 |
Character |
Responsible / Contact Person |
PERSON #1 AREA CODE |
3 |
Character |
Contact Phone Area Code |
PERSON #1 PHONE |
8 |
Character |
Contact Phone Number |
RESPONSIBLE PERSON (R/P) #2 |
40 |
Character |
Responsible / Contact Person |
PERSON #2 AREA CODE |
3 |
Character |
Contact Phone Area Code |
PERSON #2 PHONE |
8 |
Character |
Contact Phone Number |
RESPONSIBLE PERSON (R/P) #3 |
40 |
Character |
Responsible / Contact Person |
PERSON #3 AREA CODE |
2 |
Character |
Contact Phone Area Code |
PERSON #3 PHONE |
8 |
Character |
Contact Phone Number |
RESPONSIBLE PERSON (R/P) #4 |
40 |
Character |
Responsible / Contact Person |
PERSON #4 AREA CODE |
3 |
Character |
Contact Phone Area Code |
PERSON #4 PHONE |
8 |
Character |
Contact Phone Number |
RESPONSIBLE PERSON (R/P) #5 |
40 |
Character |
Responsible / Contact Person |
PERSON #5 AREA CODE |
3 |
Character |
Contact Phone Area Code |
PERSON #5 PHONE |
8 |
Character |
Contact Phone Number |
RESPONSIBLE PERSON (R/P) #6 |
40 |
Character |
Responsible / Contact Person |
PERSON #6 AREA CODE |
3 |
Character |
Contact Phone Area Code |
PERSON #6 PHONE |
8 |
Character |
Contact Phone Number |
BEAT |
2 |
Character |
Beat Code value |
SECTOR |
2 |
Character |
Sector Code value |
DISTRICT |
2 |
Character |
District Code value |
AGENCY |
6 |
Character |
Agency Code value |
LATITUDE |
12 |
Numeric Decimal |
Latitude Coordinate for the premise |
LONGITUDE |
12 |
Numeric Decimal |
Longitude Coordinate for the premise |
HAZARD OCCUPANT |
1 |
Logical |
True/False Hazard Flag (Y/N) or (true/false) |
HAZARD ANIMAL |
1 |
Logical |
True/False Hazard Flag (Y/N) or (true/false) |
HAZARD MATERIAL |
1 |
Logical |
True/False Hazard Flag (Y/N) or (true/false) |
HAZARD BIOLOGICAL |
1 |
Logical |
True/False Hazard Flag (Y/N) or (true/false) |
COMMENT |
200 |
Character |
Comments |
EXTKEY |
20 |
Character |
External Key Reference |
The sample below defines the fields of the XML import file.
<?xml version = "1.0" encoding="Windows-1252" standalone="yes"?>
<GeoData>
<geo_msl>
<wcdigits>121</wcdigits>
<wcpfx>S</wcpfx>
<wcstreet>FIRST</wcstreet>
<wctype>ST</wctype>
<wcsfx></wcsfx>
<wcapt>3</wcapt>
<wccity>WILHAM</wccity>
<wccounty>SMITH</wccounty>
<wcstate>MD</wcstate>
<wczip>21629-</wczip>
<wcbuslic>12345678</wcbuslic>
<wccommname>AROUND THE BAY SPORTSWEAR</wccommname>
<wccommarea>410</wccommarea>
<wccommphone>123-4567</wccommphone>
<wcresppers1>James P. Hayes</wcresppers1>
<wcresparea1>410</wcresparea1>
<wcrespphone1>321-4321</wcrespphone1>
<wcresppers2>Marian Hayes</wcresppers2>
<wcresparea2>410</wcresparea2>
<wcrespphone2>234-1234</wcrespphone2>
<wcresppers3>Joe Test</wcresppers3>
<wcresparea3>410</wcresparea3>
<wcrespphone3>987-6543</wcrespphone3>
<wcresppers4>Jane Test</wcresppers4>
<wcresparea4>410</wcresparea4>
<wcrespphone4>876-5432</wcrespphone4>
<wcresppers5></wcresppers5>
<wcresparea5></wcresparea5>
<wcrespphone5></wcrespphone5>
<wcresppers6></wcresppers6>
<wcresparea6></wcresparea6>
<wcrespphone6></wcrespphone6>
<wcbeat>HSPO</wcbeat>
<wcsector>4</wcsector>
<wcdistrict>312</wcdistrict>
<wcagency>WPD</wcagency>
<wclat>0</wclat>
<wclong>0</wclong>
<wchzocc>false</wchzocc>
<wchzanimal>true</wchzanimal>
<wchzhazmat>false</wchzhazmat>
<wchzbio>false</wchzbio>
<wccmnt>Test Comments</wccmnt>
<wcexkey></wcexkey>
</geo_msl>
</GeoData>