You're asking two questions here: administrative borders related to territorial disputes, and map label localization.
Since you mention OpenStreetMap, I feel obliged to answer:
The OpenStreetMap Foundation changed the policy regarding territorial disputes in 2013. You can find the full document here, but let me quote the relevant paragraph:
Borders and ...
OSM data is typically always the same, independent of the provider or routing-engine. Routers can interpret this data in a different way and it is possible that providers will enhance / modify this data slightly.
Real-time traffic is not contained in OSM and must always come from an external source. This is the tricky part. You can try to add traffic data ...
Try enforcing closed LineStrings by adding their ST_StartPoint to the end of the them:
SELECT ST_MakePolygon( ST_MakeValid( ST_AddPoint( shape. ST_StartPoint( shape ) ) ) ) AS shape
WHERE waterway ='riverbank'
If you want to make sure you are not duplicating points for when a LineString is already closed, run:
When downloading the OSM basemap, you should have an option to add polygons when importing the GPX layer which will solve your problem. You cannot measure the area of a lines layer.
Alternativley, you can try converting your lines layer (building outlines) into polygons.
Try Vector>Geometry Tools>Lines to Polygons then reapply your $area expression on the ...
The main issue I see is that you're using L.TileLayer.DeepZoom from https://github.com/alfarisi/leaflet-deepzoom . Approaches like L.TileLayer.DeepZoom and every other plugin listed in the "Non-map base layers" section of the Leaflet plugins list are, well, not meant to be used with maps.
In other words: L.TileLayer.DeepZoom, L.TileLayer.Zoomify and L....
I was using the wrong layer specifications in my OSMBright.xml file.
I ran the following command to know the exact layer available in geojson file.
osm@osm:/usr/local/share/maps/style/osm-bright-master/geojson/boundary_claimed_by_india$ ogrinfo india-soi.geojson
INFO: Open of india-soi.geojson'
using driverGeoJSON' successful.
1: india-soi (Multi ...
The OSM Wiki page about Shapefiles has a list of services for Obtaining_shapefiles_from_OSM_data. A few examples from this list:
There are various other and of course you can create your own shapefiles from OSM data.