Tag Info

New answers tagged

1

Use turf.js for this, the functions union and erase in particular. Make a union of all your polygons (or at least the ones that are within the current viewport), then erase the result from the polygon that covers the current viewport. The result will be the inverted selection you're looking for.


0

So not completely automated but my answer at for the following questions solves it quickly: Connecting polygon accidentally deleted - filling in the gap


0

One approach would be to create another layer with a polygon that roughly covers the hole and then use a geoprocessing operation, such as difference or clip to remove the overlap and leave just the jigsaw piece you want. The extent of the rough-cut polygon would limit the operation to the region of interest. ...


1

I think you should have a look at cshapes it... "provides historical maps of state boundaries and capitals in the post-World War II period". You can download a shapefile and query the data using the fields containing the year to evaluate how country shapes have changed over time. I found this website by first looking on the PennLibraries website.


2

You can: Create your own solution with Leaflet http://leafletjs.com/ and one of the plugins from a list below http://leafletjs.com/plugins.html#overlay-data Use http://umap.openstreetmap.fr/ with external data overlay. Check layers. It's not as easy as paste a link into google map search, but much more power-full. Yuo could upload your data or use a link ...


0

Because you're using the KML inline, as opposed to an external source file, then rather than using the url option (which instructs the source to use a loader) you can just use the features option. See http://openlayers.org/en/v3.6.0/apidoc/ol.source.Vector.html Try something like var vector = new ol.layer.Heatmap({ source: new ol.source.Vector({ ...


0

FME by Safe Software also does this, rather easily -- you could use the trial if it's a short-term solution you're looking for. You would read from ESRI fgdb and write into KML, and can add whatever you need in-between (re-projection, KML stylings, etc). An unnecessarily lengthy FME tutorial for working with KML conversions: ...


3

You can also use GDAL/OGR directly (which is what QGIS uses behind the scenes). It requires a special driver, but if you get it via OSGEO4W, that is included. Command line would look something like: ogr2ogr -f kml -select desired,attribute,fields outfile.kml infilegeo.gdb filegeolayername There are some kml-specific options too, see ...


1

Just in case you can't access QGIS, I've created three separate shapefiles and put them on dropbox. The projection of these shapefiles is EPSG:4326 https://dl.dropboxusercontent.com/u/71658964/miconesia.zip I used ogrinfo on the original file and it tells me the projection is EPSG:4326, I think, for example: ogrinfo -so FSM_adm_SBOC_PCRAFI.gdb state Had ...


0

Converts my solution to a comment. Maybe more words makes it less trivial? Regardless, all these answers may work, but the SuperOverlay format is horrible, and the quads thing is pretty limiting/crude. I reverse engineered an output from OKMap... And you could use that, but I posted a script for ArcGIS here:Exporting 3GB ArcGIS Raster to KML without losing ...


0

You can use python library to do with this: pyKML and editing some SchemaData. Or editing .KML file directly with text editor.


2

As Sercan says this sounds an awful lot like coordinate systems not lining up properly. When you zoom to the separate layers are you ending up with stupid scale readings? If so you probably haven't set up the correct transformations and coordinate systems.


1

What kind of projection systems do you use for your layers? I think your layers have different projection systems.


2

Once you have loaded your shape file in qgis, right click on it in the legend, select save as, then select 'Keyhole markup language' as your format, spatial ref. sys. Must be set to epsg 4326. Then select a file path, where the kml will be saved. A little under this, theres an option export symbology. You should select the option 'export feature symbology'. ...


0

I had similar problems before. You can use folling MATLAB function to plot your grid. It's far from being perfect, but that's what I've figured out so far. You probably hve to adjust it to your needs!! NOTE: you need to habe the KML-Toolbox and the MAPPING-Toolbox installed. function [ ok ] = grid2kmloverlay( grd, R, varargin ) % ...


0

I'm using a content management system that generates a system url Since my reference to the kml file was different than: var xml_data = 'http://www.myserver.com/data/assets/rep_short.kml'; Openlayers seemed to have a problem with the different urls as a cross domain conflict? Not sure. If I reference the kml in Openlayers with a url like: ...


2

I have used the Points2One plugin and I found it pretty straight forward. https://youtu.be/cxAkTg_01vg 1 - Import GTFS file named 'shapes.txt' using 'Add limited Text Layer' 2 - Click on the Points2One plugin and create Lines by "shape_id"



Top 50 recent answers are included