I have more than 80.000 non geocoded scanned rasters (HMR format). How can I publish them by GWP? There is no pure raster publish option in the documentation. The only way as I see is to create a map definitions for all of them. But I think its not possible to create a 80.000 map definition.
Hello bgabor
There are a number of options you can explore
Is this raster data to be published in one single map layer? If so you could consider to pre-publish the raster data to tRaster, a coordinate system is required to be specified in the conversion arguments in the command conversion.
To Pre-Publish a tRaster
docs.bentley.com/.../GUID-74CABC2F-2969-3F10-539B-BAF723BB7EBA.html
Convert to tRaster
docs.bentley.com/.../GUID-3173D2A8-7962-659D-AC43-8568F2145DC6.html
GWPTRasterCommand.exe
docs.bentley.com/.../GUID-14A06524-20E6-0701-0A33-4C7C7F9DEBC9.html
Perhaps you could try first to publish a small portion of the data by using the easiest workflow, just by creating a raster graphical source in the GWP Administration and selecting a limited number of rasters. Commonly you can publish raster images in a map by creating a raster connection in the Bentley Geo Web Publisher Administration program. Geo Web Publisher supports a wide range of raster file formats including HMR. This workflow isn't suitable for such a large number of files.
The Geo Web Publisher help documentation includes some sections that can provide some information about how to publish raster data
Help
docs.bentley.com/.../index.php
Raster Data
docs.bentley.com/.../GUID-0FB00E36-14C7-76DE-2CEA-73A02E20A52D.html
Raster Connections
docs.bentley.com/.../GUID-FA4A6B78-3E38-20B8-3AE5-8FA0244EBE13.html
Raster graphical sources
docs.bentley.com/.../GUID-528E8174-FE4A-D7B4-3E03-E515B087458C.html
To add a raster graphical source
docs.bentley.com/.../GUID-ABE4EC5E-A8D0-E26A-DF7C-B57F8EF1B7DE.html
What you also can consider is to create several Picture Script Scene (PSS) file. This type of file stores the raster attachments and settings from the DGN file. Using a PSS instead of a plain raster file is very convenient as only one source needs to be declared for the mosaic in the Bentley Geo Web Publisher Administration program instead of one source per raster file.
docs.bentley.com/.../GUID-923F256C-E3C6-78A1-84FC-6BA37098D7EB.html
What you should consider also in order to obtain the best possible performance when publishing raster is to use a format optimized for distribution over the Internet. You will obtain optimal performance by using the iTIFF format. If you are not already using the iTIFF format, the Image Converter tool will allow you to convert your files.
docs.bentley.com/.../GUID-9E88453B-BDDE-75E2-2D93-4D06507B9D69.html
Hope it helps,
Regards,
Carlos
I have read all section about raster publishing but as I see there is no option to publish non-geocoded rasters. Pre-Publishing, Conversions and setting up Raster Connections not suitable for scanned images.
I have multiple type of rasters and I successfully setted up all geocoded ones in the Administrator program. I created a lot of Raster Sources and linked them to my map definitions. The last type of rasters are simple scanned from paper source and there is no any coordinate system for them. Therefore all placed at the same 0,0 coordinate point.
So I looking for a solution to publish a raster file directly without any map definition because I cant create more than 80.000 map definition - one for each. Especially I can't because PubConfig.xml would be very huge after that and it would cause a gwp engine xml processing error.
In the very old version of publisher (Bentley Geo Web Publisher 2004 Edition) there was an option to directly publish raster files via url request. Without any map definition or coordinate system. That was a perfect solution to solve my current problem. Unfortunately in the brand new version of the GWP there is no any option to publish non-geocoded raster files directly.
I found the old version's raster publishing manual page:
docs.bentley.com/.../bentleypublishersdk18.html
This approach would solve my problem but its completly missing from the new version.
I Didn’t understand what you were trying to achieve. Direct publishing isn’t officially supported but having said that I did a small test and seems to be working.
Test the following, in the GWP Administrator create a Raster connection with the physical path to your hmr files. Apply and restart the services, a new application should be created in IIS with the same name given to the Raster connection.
Now open your IE browser and use an url similar to http://localhost/RasterConnectionName/rastername.hmr or http://websitename/RasterConnectionName/rastername.hmr