@luiso7FT89
Huh? SHX file?
Sounds like you need a crash course in feature data objects.
A shapefile consists of four (4) components:
- SHP
- DBF
- PRJ
- SHX
SHP: This component is a vector. A shapefile may contain Lines. Or a shapefile may contain Polygons. Or Points. Furthermore a line, polygon, or point is considered a feature class and the shapefile format can only contain one feature class. Therefore, a point shapefile, polygon shapefile, OR a line shapefile, NOT a combination. Never ever. The feature class (or vector) is 'clickable' so you may select a vector in modelspace using your mouse.
<<If you see multiple feature classes in a single file, then it's not a shapefile, it's a Geodatabase (Gdb). A Gdb can contain multiple feature slasses. AutoCAD's SDF format is akin to a geodatabase because it can either contain a combination of feature classes or just a single class.>>
DBF: This component is the Database File. You can view the database of a connected shapefile by opening the Table View. The table has rows and columns of neatly organized data and looks like a spreadsheet. You can use data in the rows and columns to make labels in your map. Data organization also allows you to isolate groups of vectors according to specific criteria you decide to use, such as all parcels greater than 10,000 square feet or all trees designated by the Tree Guy to be chopped down for safety reasons.
PRJ: This component is the Projection file. When modelspace has a properly assigned coordinate system, the shapefile's Prj file makes it land in the right spot, at the right scale, and with the right orientation. If your assigned CS is bad, you'll have issue georef'ing your shapefile. If the shapefile's author gave the shapefile the wrong Prj, his error will adversely affect your linework when you build your map.
SHX: This component is an Index. It's responsible to LINK the Dbf with the SHP (or vectors). If you click on a vector in modelspace, a row in the Dbf Table will be highlighted. Also, when you highlight a row in the Dbf Table with your mouse, the vector in modelspace will glow yellow indicating its been selected in the Table. You could say the Shx file allows you to go forward and backwards--from clicking in modelspace to Table highlighting OR from Table row selection to yellow glow in modelspace.
So.....your question is when you bring in a SHX?
What does bring in my SHX mean? Surely you don't mean you're bringing in something that allow you to goes forward and backwards, do you? Explain. Add screenshots or upload a video.
If your vectors are not landing in the right spot, then you didn't assign the correct CS to modelspace. Assigning an appropriate CS can be tricky, very tricky, especially if you rely on a method commonly used by others who don't understand how to do it in the first place!
It might also mean you don't understand the shapefile's native CS. Understanding the CS given to the shapefile by the original author can be tricky too and that trickiness makes the insertion process unnecessarily complicated.
Chicagolooper
