Best Recent Content
i try download map from arcserver gis type wmts service
the program refuse to connect with wmts server
is there any idea
this is image error
- Make sure you have assigned the elevations first then (Vertex Editing > Edit Feature Vertices)
- Select the lines
- Advanced Feature Creation Options > Create Point Features Spaced Along Selected Features
Alternatively, if you have reasonably clean contours you may be able to convert them to lines by creating area features based on the contour colour values and then converting those to center lines:
- Right-click the raster layer
- Create Area Features from Equal Values in Selected Layer
- Choose Only Create Areas for Selected Colors and enter the RGB value of your contour e.g. 0,0,0 for black
- Select the newly created area features
- Right-click > Move/Reshape Feature(s) > SIMPLIFY
- Right-click > Move/Reshape Feature(s) > SMOOTH
- Right-click > Advanced Feature Creation Options > Create Area Skeletons/Center Lines
- Join any gaps in the new contour lines:
- Right-click > Crop/Combine/Split Functions > COMBINE
- Repeat steps 5 & 6 to reduce the points and smooth
This is an example I created using the above workflow - took around 10-15 minutes. Using the Image Swipe Tool I have shown the original raster on the right and the results of the process above on the left. The image below that shows the raster below the new contour lines.
Hello,joebocop said:I have imported a SHP file of polygon features. Each polygon has an R, G and B value, representing the colour that should be used to style the area background.
How can I use these values to tell GlobalMapper 18.1 (b022117) which colour to use as a background style for each feature?
You can combine your R, G, and B attributes into a single attribute called FILL_COLOR, then save your data as a shapefile and reload it into Global Mapper. When the data is imported, Global Mapper will use the FILL_COLOR attribute to style the areas.
To combine the attributes, you can use Layer | Calculate/Copy Attribute Values. On the Attribute Calculation Setup screen, after you type the attribute name (FILL_COLOR), choose the option to Use Formula Calculation, choose String for the Calculation Mode, and type the following information in the Enter Formula field:
"RGB(" + R + "," + G + "," + B + ")"This assumes that your color attributes are called R, G, and B. If they have different names, use those instead.
After you modify the data, you will need to export the file, then import it again, because Global Mapper applies the style from attribute values when it imports the data.
I suppose a workaround would be to export to GeoTIFF with a white background and then use 'Create Area Features from Equal Values in Selected Layer' on the imported raster. Choose 'Only Create Areas for Selected Colors' and pick white. This will create polygons of the white areas. Just convert these to Line Features and delete the outer boundary and then convert back to Area Features. Now you can select a boundary to use as the Grid Bounds for the Gridding process or as a Cropping boundary (Right Click Layer > Options > Cropping).
The whole thing took around 2 minutes on your image:
One thing to be careful of when you're working in the Search Vector Data dialog: values that appear to be numeric may be sorted as text, such that , say, a value of "2.03e2" is sorted as being less than a value of "200", when 203 is clearly greater than 200. The interpretation of attribute values when sorting in the attribute table is governed -- somewhat confusingly -- by a dropdown a few rows above the table headers in the "Search Criteria" group. To the right side, there's a dropdown labeled "as" with the choices "Text" and "Number". If you select "Number", then click on the attribute column header, you should find that the column sorts the values will sort correctly.
You will need to use the LOAD_FLAGS parameter. LOAD_FLAGS contains flags for any import options that you were prompted for when loading the file, such as if you have a .tif file that you were prompted to select as elevation or raster. To see how to set these if you are writing a script, load a file with the settings that you want in the main user interface and then save a workspace. Open the workspace file in a text editor and examine the IMPORT command for that file and see how the LOAD_FLAGS were set.
GM is a brilliant bit of cost-effective GIS software but as you are finding, does not have very sophisticated gridding tools or allow a lot of control on gridding parameters. For most grid volume applications it is fine but part of your problem is the very elongate geometry of the blast area. This means that having a 15ft difference between the shot hole area and the blast area makes a big (25%) difference.
If it were me, I would copy the outer points to just outside the balst area, use a smaller grid cell size and clip to the blast polygon. Its not elegant but would work. No grid derived from a series of points is a true representation of reallity. All you can do is to get to an accepatbel level of accuracy.