01-30-2018 04:00 AM
Hi Guys,
I want to automate exporting a GRecordset I have into shapefile,
I walked through the GeoMedia Object Reference and found that there is a service called "ExportToShapeFileService" and it should be accessed through "GeoMedia.ExportToShapeFileService" , have anyone tried it?
as I tried but it cannot be read, I can't find a library that support it.
Your help will be greatly appreciated.
Thanks and best Regards
Khaled
Solved! Go to Solution.
01-30-2018 04:10 AM
Hi Khaled,
you must add "Intergraph GeoMedia Export to Shapefile Service" reference to your project (on the COM tab, if you are using .NET).
Pavel
01-30-2018
04:54 AM
- last edited on
01-30-2018
05:02 AM
by
jan.neumann
Hello Pavel,
Thanks for your prompt response,
I could not find the dll for the export Export to Shapefile Service, should I download it from a website as this:
LINK REMOVED
Best Regards,
Khaled
01-30-2018 05:00 AM
Hello Khaled,
you should never download files from dodgy web sites. The right file should be installed and properly registered with your GeoMedia product. What version of GeoMedia do you use?
Pavel
01-30-2018 05:04 AM
It is 16.00.0000 build 20059
01-30-2018 05:07 AM
The library must be there. If you cannot find it, try to run GeoMedia Configuration Wizard again, it should register all libraries properly.
Pavel
01-30-2018 05:09 AM
khaled, you are looking for this in your Visual Studio "Add reference" dialog:
01-30-2018 05:21 AM
Thanks @pkrejcir and @lukasz.baraniak,
I run the GeoMedia Desktop Configuration Wizard again and now it appear in the list.
Best regards
Khaled