[Qgis-user] How can I export Vector & Raster layers together to import into mapshaper

Kirk Schmidt kirk at nortekresources.com
Thu Aug 12 07:18:10 PDT 2021


Hi Kris;

I am not familiar with MapShaper, however, the vector data and the 
raster layer (Openstreetmap) are fundamentally different animals.  You 
could:

1) generate a geopackage which can store both raster and vector data 
types, but I do not know if you can read such a database with mapshaper?

2) create a map using print composer and export the vector and raster 
components as a georeferenced image or pdf file.  This export a pretty 
map but you would lose all the feature attributes of your vector layer.

Kirk

Kirk Schmidt, MScF, BScF, RPF
General Manager
Nortek Resource Solutions Inc.
RR # 1
Thorburn, NS
B0K 1W0
Tel (902) 922.3607
Email: kirk at nortekresources.com
Web: www.nortekresources.com

On 8/12/2021 10:40 AM, Kris Lagocki wrote:
> My issue seems to be with the raster layer, can't seem to figure out 
> how to have it export together with the vector layer.
>
> On Thu, Aug 12, 2021 at 5:27 AM Richard McDonnell 
> <richard.mcdonnell at opw.ie <mailto:richard.mcdonnell at opw.ie>> wrote:
>
>     Hi,
>
>     There is a TopoJSON Writer Plugin available for QGIS, you might
>     give that a try. It should write the vector dataset out as
>     TopoKSON for you.
>
>     Regards,
>
>
>     Richard
>
>
>     ——
>     Richard McDonnell MSc GIS, FME Certified Professional
>     /FRM Data Management/
>
>     ——
>     Oifig na nOibreacha Poiblí
>     Office of Public Works
>
>     Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36
>     Jonathan Swift Street, Trim, Co Meath, C15 NX36
>     ——
>     M +353 87 688 5964 T +353 46 942 2409
>     https://gov.ie/opw <https://gov.ie/opw>
>
>     ——
>     To send me files larger than 30MB, please use the link below
>     https://filetransfer.opw.ie/filedrop/richard.mcdonnell@opw.ie
>     <https://filetransfer.opw.ie/filedrop/richard.mcdonnell@opw.ie>
>
>     Email Disclaimer:
>     https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/
>     <https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/>
>
>
>     *From:*Qgis-user <qgis-user-bounces at lists.osgeo.org
>     <mailto:qgis-user-bounces at lists.osgeo.org>> *On Behalf Of *Kris
>     Lagocki
>     *Sent:* 11 August 2021 14:32
>     *To:* qgis-user at lists.osgeo.org <mailto:qgis-user at lists.osgeo.org>
>     *Subject:* [Qgis-user] How can I export Vector & Raster layers
>     together to import into mapshaper
>
>     Hi - I created a shape file using QGIS with a US Postal Code shape
>     file that I found on the Census website and joined it with a data
>     file listing the Postal Codes and which Sales Territory they
>     belong to.  I added in a raster layer OpenStreetMap.  I'd like to
>     export both layers together and import them into mapshaper so that
>     I can export as Topojson.  It has to be in this format to use
>     within Power BI.  Has anyone accomplished this?  Any help is
>     appreciated.  Thanks.
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

-- 
Kirk Schmidt, MScF, BScF, RPF
General Manager
Nortek Resource Solutions Inc.
RR # 1
Thorburn, NS
B0K 1W0
Tel (902) 922.3607
Email: kirk at nortekresources.com
Web: www.nortekresources.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20210812/9fbac0ba/attachment.html>


More information about the Qgis-user mailing list