Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 28-09-2012, 07:32   #1
oem
Registered User

Join Date: Nov 2009
Location: Vejle, Denmark
Boat: Vindø 995 ds
Posts: 133
GE-overlays and KAP-files

I have a number of JPG-files that I have calibrated in GE (images of all harbours in Denmark). The KML-file from this process then looks like this, with each <GroundOverlay> specifying one calibrated JPG-image.

<GroundOverlay>
<name>Bornholm, Årsdale</name>
<color>5cffffff</color>
<Icon>
<href>D:/data/Drabant 22/søkort/seaclearII/havne/BO_ARDAL.jpg</href>
<viewBoundScale>0.75</viewBoundScale>
</Icon>
<LatLonBox>
<north>55.10995</north>
<south>55.10638333333333</south>
<east>15.14973333333333</east>
<west>15.14241666666667</west>
<rotation>-0.1367641461034049</rotation>
</LatLonBox>
</GroundOverlay>
<GroundOverlay>
<name>Bornholm, Arnager</name>
<color>59ffffff</color>
<Icon>
<href>D:/data/Drabant 22/søkort/seaclearII/havne/BO_ARNAR.jpg</href>
<viewBoundScale>0.75</viewBoundScale>
</Icon>
<LatLonBox>
<north>55.05337213701505</north>
<south>55.04861728458761</south>
<east>14.78337002045453</east>
<west>14.77847430741539</west>
<rotation>-0.01225211789740984</rotation>
</LatLonBox>
</GroundOverlay>
<GroundOverlay>
<name>Bornholm, Boderne</name>
<color>57ffffff</color>
<Icon>
<href>D:/data/Drabant 22/søkort/seaclearII/havne/BO_BODRN.jpg</href>
<viewBoundScale>0.75</viewBoundScale>
</Icon>
<LatLonBox>
<north>55.02339310373883</north>
<south>55.02155510848619</south>
<east>14.9066992253018</east>
<west>14.90229911864634</west>
</LatLonBox>
</GroundOverlay>
...etc..

Would there be some program out there being able to produce KAP-files from KML and the JPG-image file?

I tried with GE2KAP, but GE2KAP seems to convert the actual GE-screen-image to KAP, not the actual JPG-image as per the KML-file. I can adjust the displayed chart region with GE, but it's only apporximate, so frequently I make charts with a border from GE-satellite images.

What I wanted was of course a calibrated KAP-file with the original JPG-image as borders.

Have I overlooked something??
__________________

__________________
oem is offline   Reply With Quote
Old 28-09-2012, 09:30   #2
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,395
Re: GE-overlays and KAP-files

"imgkap" by MDJ...it's a command line tool but very simple. It's all you need.just put a copy in with your images and kmls and start up a cmd line in the folder, type imgkap and it'll show you it's help file.

Imgkap - kap File Converter Tool
it's best if you cherry-pick or search for specifics through THIS thread...

Dacust has imgkap here for download.
imgkap - Download

myself, I only used the kml function once or twice but I don't recall any problems.
Or,if you experience problems,and your images from GE are rectangular, you could just copy the diagonal corner positions you seem to have in your example and use them in a command line.
__________________

__________________
HappySeagull is offline   Reply With Quote
Old 28-09-2012, 16:52   #3
Registered User
 
yachtvalhalla's Avatar

Join Date: Aug 2009
Location: Philippines
Boat: Fuji 32 Ketch
Posts: 553
Re: GE-overlays and KAP-files

Quote:
Originally Posted by oem View Post
What I wanted was of course a calibrated KAP-file with the original JPG-image as borders.

Have I overlooked something??
I have recently purchased (12euro) the MAPC2MAPC program which does this and other conversions quickly and easily.

Link to the program cando

You can try before you buy.

Terry
__________________
VALHALLA's Mooring Page
yachtvalhalla is offline   Reply With Quote
Old 02-10-2012, 11:51   #4
oem
Registered User

Join Date: Nov 2009
Location: Vejle, Denmark
Boat: Vindø 995 ds
Posts: 133
Thumbs up Re: GE-overlays and KAP-files

Quote:
Originally Posted by yachtvalhalla View Post
I have recently purchased (12euro) the MAPC2MAPC program which does this and other conversions quickly and easily.

Link to the program cando

You can try before you buy.

Terry
Thanks a lot for your help and assistance :-)

I ended up buying the MAPC2MAPC-program as well. Hours of tedious work was replaced by far fewer hours of tedious work. I ended up having all 69 official danish charts converted to Oruxmaps (directly included in MAPC22MAPC) and to BSB. For size reasons though, I had to use OruxMapsDesktop to convert from BSB to Oruxmaps.

My project of making BSB-charts of all danish harbour-plans (approx 400) is on-going. It took approx 5-6 hours making the first 150. Still 250 to go...to integrate in Opencpn and Oruxmaps.

I calibrate the harbour plans by overlaying the chart in GE, saving as KMZ-file and then converting to BSB and finally to Oruxmaps. GE with the chart as a transparent overlay is a very convenient, visual, method of calibrating charts, - in stead of having to manually enter coordinates.
__________________
oem is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 16:17.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.