Where can I find .kmz file for the international borders?

3,803 views
Skip to first unread message

firznes

unread,
Mar 7, 2015, 2:39:26 PM3/7/15
to cesiu...@googlegroups.com
Hi, I am trying to make an application using Cesium. For my app I want to know how to add international borders. As far as I have figured I am supposed to use a .kmz or a .kml file. (Correct me if I am mistaken)
Unfortunately I have been unable to find a proper one. Please redirect me to some source for the same or help resolve the issue(refer the screenshot and attached file)


issue_with_kmz.png
World+Map-Overlay.kmz
Message has been deleted

Scott Reynolds

unread,
Mar 8, 2015, 12:53:08 PM3/8/15
to cesiu...@googlegroups.com
The problem in Sandcastle is caused by your image coordinates are invalid.  Longitude must be in the range -180 to 180 degrees.  Latitude must be in the range -90 to 90 degrees.  Even so, after editing the image to remove extraneous data and modifying the KML to give the image coordinates to be at the limits there are a couple of problems in Cesium (I'll submit issues if none exist already).

1.  I had to adjust the image coordinates to be -90.0 to 90.0 and -179.9999 to 180.0 to get the image to display.
2.  The image is displayed improperly (all white).

I found KML files at www.gadm.org, but be warned, the borders are extremely detailed and result in very large files.  For example, the USA file is about 65 MB uncompressed.  The presentation is filled polygons.

Another source of country borders is an OGC Web Map Service at http://nowcoast.noaa.gov/help/mapservices.shtml?name=mapservices.  You can try this in Sandcastle with the following code:

var viewer = new Cesium.Viewer('cesiumContainer', {
    imageryProvider
: new Cesium.WebMapServiceImageryProvider({
        url
: "http://nowcoast.noaa.gov/wms/com.esri.wms.Esrimap/geolinks?service=wms",
        layers
: "world_countries"
   
}),
    baseLayerPicker
: false
});


Scott

gdgl...@gmail.com

unread,
Jun 3, 2015, 11:12:16 AM6/3/15
to cesiu...@googlegroups.com
On Saturday, March 7, 2015 at 8:39:26 PM UTC+1, gaurs...@gmail.com wrote:
> Hi, I am trying to make an application using Cesium. For my app I want to know how to add international borders. As far as I have figured I am supposed to use a .kmz or a .kml file. (Correct me if I am mistaken)
> Unfortunately I have been unable to find a proper one. Please redirect me to some source for the same or help resolve the issue(refer the screenshot and attached file)

does anyone know how to download google earths original layers into kml or klz? I am looking to download the international borders and use them in arcgis

Matthew Amato

unread,
Jun 4, 2015, 7:29:07 PM6/4/15
to cesiu...@googlegroups.com
Google does not make their data publicly available, however, there are plenty of free data sets out there that you can use.  Check out http://www.naturalearthdata.com/


--
You received this message because you are subscribed to the Google Groups "cesium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cesium-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages