Please create and activate an account. Afterwards send an email to forum@openseamap.eu including a short message and your username to get write access to this forum. Thanks!
Bitte erstelle einen neuen Account und schalte ihn frei. Anschließend sende eine kurze Mail mit deinem Nutzernamen an forum@openseamap.eu um Schreibzugriff für dieses Forum zu bekommen. Danke!
This server undergoes periodic maintenance and will be unavailable for a few minutes between 00:00 UTC and 01:30 UTC at the first day of the month. New posts during that time could potentially be lost.
Dieser Server wird regelmäßig gewartet und ist deshalb für einige Minuten zwischen 00:00 UTC und 01:30 UTC am Monatsanfang nicht erreichbar. Es kann sein, dass in dieser Zeit erstellte Beiträge verloren gehen.
You are not logged in.
Pages: 1
I have this code:
- (void)viewDidLoad {
[super viewDidLoad];
[[self mapView]setShowsUserLocation:YES];
NSString *streetMaps = @"http://tile.openstreetmap.org/{z}/{x}/{y}.png";
MKTileOverlay *overlay = [[MKTileOverlay alloc] initWithURLTemplate:streetMaps];
overlay.canReplaceMapContent = YES;
[[self mapView] addOverlay:overlay level:MKOverlayLevelAboveLabels];
}
- (MKOverlayRenderer *)mapView:(MKMapView *)mapView rendererForOverlay:(id)overlay {
if ([overlay isKindOfClass:[MKTileOverlay class]]) {
return [[MKTileOverlayRenderer alloc] initWithTileOverlay:overlay];
}
return nil;
}
Which works well enough with OSM. Is there a similar tile service for OpenSeaMap? What url do I use for that?
Also, does the sea map url include all the data or just the marine features? Do I need two overlays to get all the data I want?
I'm new to this and having trouble getting going. Thanks.
Offline
The URL for OpenSeaMap tiles is: http://tiles.openseamap.org/seamark/{z}/{x}/{y}.png
These are transparent tiles that can be overlaid on the OpenStreetMap tiles.
Malcolm Herring, Developer
Offline
The URL for OpenSeaMap tiles is: http://tiles.openseamap.org/seamark/{z}/{x}/{y}.png
These are transparent tiles that can be overlaid on the OpenStreetMap tiles.
Oh that explains a lot. Thanks so much! I have it working nicely now.
New question...how do I run my own local map server? IOW - how do I get the data and run my own tile server?
Offline
... IOW - how do I get the data and run my own tile server?
This indeed brings an old question back in focus! There is still is no public exchange of bundled seamark tile-sets.
Suggestions for further reading:
- http://wiki.openstreetmap.org/wiki/Tile … ownloading
- http://kap.grade.de/inland-chart-ol2.html
Have a nice day, Dirk
Offline
Pages: 1