https://www.fsdeveloper.com/forum/threads/geographic-data-in-sbuilderx.446165/post-830700
Hi Gary:
Indeed, my data source is the IGN, but the file is as follows:
http://centrodedescargas.cnig.es/CentroDescargas/catalogo.do?Serie=CAANE#
The file is BTN25 (National Topographic Base), sheet BCN0302L_RIO_line.shp
BCN0302L_RIO_line
C: \ Users \ Admin1 \ Downloads \ 28098 \ BCN0302L_RIO_line.shp
ESRI Shapefile
Name
BCN0302L_RIO_line
Route
C: \ Users \ Admin1 \ Downloads \ 28098 \ BCN0302L_RIO_line.shp
Storage
ESRI Shapefile
Commentary
Coding
System
Geometry
Line (LineStringZ)
SRC
EPSG: 25830 - ETRS89 / UTM zone 30N - Projected
Extension
287421.9113434686441906,3970514.7997392229735851: 293438.5999766904860735,3976269.7001488539390266
Unity
meters
Number of objects
79
The "rivers" objects are not polygons, they are lines to which I want to assign the "streams" GUID in
SBuilderX. But it does not allow me to select all at once, but it has to be done individually.
Thanks
Thanks for the heads-up on availability of the Rivers data in that separate ESRI SHP file.
I had thought the IGN
Hydrographic data set would include
Rivers based on this description:
https://translate.google.com/translate?hl=en&sl=es&u=http://centrodedescargas.cnig.es/CentroDescargas/catalogo.do?Serie=CAANE&prev=search
"
Hydrography
- Description: Hydrography elements (physical waters) both natural and artificial (rivers, canals, ditches, lakes, reservoirs, dams, points of hydrographic interest, etc.), and hydrographic network (nodes, sections), with national coverage."
[
EDITED]
NOTE: Due to a lack of sufficient time when I wrote my original reply above, I did not also verify the alignment which resulted from converting the Hydrographic Polygons to Lines in the SHP file I used as cited above, by checking their positions over a imagery background; so I did
not yet recognize that they would not be an acceptable data set for Rivers based on a quick glance at your screenshot in your second post above.
Sorry, but I had
not anticipated the Ceuta Rivers would instead be packaged in this IGN data set:
"
MTN25 and MTN50 cartographic grids
- Description: official cartographic grids of MTN50 and MTN25.
- SGR: ETRS89 or ED50 (depending on edition) in the Peninsula, Balearic Islands, Ceuta and Melilla, and REGCAN95 in the Canary Islands. Geographic coordinates longitude and latitude."
I do now have the data set you specified above, and can confirm that Dick's
SBuilderX work-flow above does quickly assign the GUID to all Appended and Selected
*.SHP Lines.
However, I do also understand a possible related concern in the OP above, which is, IIUC, how to reduce the work-load of individually importing many
*.SHP files into
SBuilderX.
As I stated in my original reply above, although I do not personally use
QGIS (I prefer to use
Global Mapper), I am fairly certain that it does have a method which can be used to 'select' all desired River Line objects, then export them into a single "
Line" type ESRI SHP file.
It is this procedure of exporting all selected objects from
QGIS into a
single *.SHP file which I was referring to- rather than a 'structural' merge of all individual objects- in my original reply above; my apologies for not having worded that more clearly.
If you can identify a way to select' all desired River Line objects, then export them into a single "
Line" type ESRI SHP file, you will thereby reduce the work-load to the level of a (1) SHP file Append (-that would otherwise have involved individually Appending many
*.SHP files 1-at-a-time) ...into
SBuilderX.
As you may know,
ESRI SHP files must be in EPSG:4326 GIS format if Appended by
SBuilderX, so use
QGIS to 're-project' the River objects to that GIS format
before export into a single
*.SHP file ...intended for
SBuilderX use.
[
END_EDIT]
FYI: If the vector objects contained in the
*.SHP files Appended to
SBuilderX are intended to all be assigned the same GUID such as a "textured Stream"
ex:
[Texture.0]
Name=Stream_Lines_Perennial
Color=FF01A2FF
guid={2D3FC985-A72B-473D-B23B-D78E72E63B53}
LegacyId=1024
Textures=RiverSU.bmp
Layout=3_PLUS_1
StripWidthMeters=64
Size=4
FlattenMode=offset
FlattenOffsetMeters=-1
FlattenPriority=11000
LandClassRemapType=none
ExcludeAutogen=Yes
RenderToTexture=Yes
RenderPriority=51000
Water=No
...
and if you intend to use all default land class and water class for terrain textures from BGLs compiled via SDK SHP2VEC,
rather than a custom photo-real imagery land class BGL compiled via SDK Resample for your Ceuta scenery, then this
WOULD certainly work for you.
Be aware, however, that if you do
instead intend to use a custom photo-real imagery land class BGL for terrain textures in your Ceuta scenery, then this would
NOT work for you, as the River objects (internally rendered on a lower scenery layer as
ex: a "textured Stream") ...
would be covered up by the custom photo-real imagery land class textures.
But, if you wanted to make the Rivers more visible within the custom photo-real imagery land class textures, you could use a Land-Water Mask to define a 'Hydro' attribute over the 'visible' River water areas ...when the other 'visible' source image of the photo-real imagery is compiled via SDK Resample.
Also, if you use a Blend Mask, you can allow the 'visible' River water areas within the photo-real imagery to show through ...when the other 'visible' source image of the photo-real imagery is compiled via SDK Resample.
Alternatively, if you use a Blend Mask, you can substitute an assigned Water Class texture color to a CVX vector polygon using the GUID chosen in SBuilderX so that it will be displayed for River water areas on top of the photo-real imagery ...when it is compiled via SDK Resample.
If you wish to learn more about how that is achieved, feel free to inquire further, and I can link you to some tutorials on those procedures.
GaryGB