[OSGeo Africa] Adding the NGI 50 cm colour orthophotography as WFS

Pieter Holtzhausen pholtzhausen at gmail.com
Fri Jul 8 03:00:37 PDT 2016


Hi Heidi,

Esri South Africa has a service for the NGI imagery between 2008 and 2012.
see this link:
https://www.arcgis.com/home/item.html?id=9d01fa9041264cb283c353a5a613c81e

and here is the url to the service itself:
http://webgis.esri-southafrica.com/arcgis/rest/services/NGI/RSA_NGI_AERIAL/ImageServer

Kind regards,

Pieter Holtzhausen


On Fri, Jul 8, 2016 at 10:09 AM, <africa-request at lists.osgeo.org> wrote:

> Send Africa mailing list submissions to
>         africa at lists.osgeo.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.osgeo.org/mailman/listinfo/africa
> or, via email, send a message with subject or body 'help' to
>         africa-request at lists.osgeo.org
>
> You can reach the person managing the list at
>         africa-owner at lists.osgeo.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Africa digest..."
>
>
> Today's Topics:
>
>    1. Re: QGIS Field Calculator - attributes for 2 layers (Tim Sutton)
>    2. Adding the NGI 50 cm colour orthophotography as WFS
>       (Heidi Van Deventer)
>    3. Re: Adding the NGI 50 cm colour orthophotography as       WFS
>       (Tim Sutton)
>    4. Re: Adding the NGI 50 cm colour orthophotography as WFS
>       (Heidi Van Deventer)
>    5. Re: Adding the NGI 50 cm colour orthophotography as       WFS
>       (Tim Sutton)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 7 Jul 2016 23:38:58 +0200
> From: Tim Sutton <tim at kartoza.com>
> To: Africa local chapter discussions <africa at lists.osgeo.org>
> Subject: Re: [OSGeo Africa] QGIS Field Calculator - attributes for 2
>         layers
> Message-ID: <393F571A-531E-49BE-AA9A-9F39F7373A6A at kartoza.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Zoltan
>
>
> > On 07 Jul 2016, at 5:55 PM, Zoltan Szecsei <zoltans at geograph.co.za>
> wrote:
> >
> > Hi Everyone,
> > Maybe someone can give me a prod in the right direction?
> >
> > I have two Shape files (both polygons).
> > I'm trying to copy an attribute field value from B.shp into A.shp, using
> Lon and Lat from two of A.shp attribute fields to select the relevant
> polygon's attribute in B.shp.
> >
> > In other words:
> > A.shp attribute fields are:  "Name", "Longitude" and "Latitude"
> > B.shp attribute field is "Name"
> > Using the LatLong coords in the attribute fields of A.shp, I want to
> select a polygon in B.shp, and write that polygons "Name" contents into
> this A.shp's "Name" field.
> >
> > Is the field calculator up for this?
>
> I don't think so - its not really set up for doing inter-layer references.
> I wrote a few lines of python that will do it though (assumes you have two
> layers loaded with names a and b in the layers list:
>
> reg = QgsMapLayerRegistry.instance()
> a = reg.mapLayersByName('a')[0]
> b = reg.mapLayersByName('b')[0]
> collection = {}
> index = QgsSpatialIndex()
> for f in b.getFeatures():
>    index.insertFeature(f)
>    collection[f.id()] = f
>
> with edit(b):
>     for af in a.getFeatures():
>         p = QgsPoint(af['lon'], af['lat'])
>         box = QgsRectangle(p, p)
>         for key in index.intersects(box):
>             feature = collection[key]
>             print feature['name'], af['name'], af['lon'], af['lat']
>             feature['name'] = af['name']
>             b.updateFeature(feature)
>
>
>
> Just paste that into the QGIS python console and it will update the name
> field of b with the value in a for the places where the attributes lon, lat
> in a intersect b.
>
> Please test in a sandbox before trying on your production data....
>
> Regards
>
> Tim
>
> > I've been trying to find ways of reference fields in separate maps
> (layers), but neither Google or I are winning at this.
> >
> > Regards, and TIA,
> > Zoltan
> >
> >
> >
> >
> >
> > --
> >
> > ===========================================
> > Zoltan Szecsei PrGISc [PGP0031]
> > Geograph (Pty) Ltd.
> > GIS and Photogrammetric Services
> >
> > P.O. Box 7, Muizenberg 7950, South Africa.
> >
> > Mobile: +27-83-6004028
> > Fax:    +27-86-6115323     www.geograph.co.za <
> http://www.geograph.co.za/>
> > ===========================================
> > _______________________________________________
> > Africa mailing list
> > Africa at lists.osgeo.org
> > You can UNSUBSCRIBE at http://lists.osgeo.org/mailman/listinfo/africa
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.osgeo.org/pipermail/africa/attachments/20160707/170f2957/attachment-0001.html
> >
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: signature.asc
> Type: application/pgp-signature
> Size: 455 bytes
> Desc: Message signed with OpenPGP using GPGMail
> URL: <
> http://lists.osgeo.org/pipermail/africa/attachments/20160707/170f2957/attachment-0001.sig
> >
>
> ------------------------------
>
> Message: 2
> Date: Fri, 08 Jul 2016 08:16:59 +0200
> From: "Heidi Van Deventer" <HvDeventer at csir.co.za>
> To: <sindile.bidla at geoilocate.co.za>, <africa at lists.osgeo.org>
> Subject: [OSGeo Africa] Adding the NGI 50 cm colour orthophotography
>         as WFS
> Message-ID: <577F617B020000D2000F87C3 at pta-imo.csir.co.za>
> Content-Type: text/plain; charset=US-ASCII
>
> Dear list
>
> can anyone advise whether the NGI 50 cm colour orthophotography is
> available as a WFS in QGIS?
>
> Kind regards,
> Heidi
>
>
> Dr. Heidi van Deventer
> CSIR GIS/RS Researcher
> (PLATO registered Professional GISc Practitioner)
> Natural Resources and the Environment (NRE)
> Ecosystems - Earth Observation Research Group
> Building 33 CSIR Pretoria
> Tel: +27 12 841 2507
> Fax: +27 12 841 3909
>
>
>
>
>
> --
> This message is subject to the CSIR's copyright terms and conditions,
> e-mail legal notice, and implemented Open Document Format (ODF) standard.
> The full disclaimer details can be found at
> http://www.csir.co.za/disclaimer.html.
>
> This message has been scanned for viruses and dangerous content by
> MailScanner,
> and is believed to be clean.
>
> Please consider the environment before printing this email.
>
>
>
> ------------------------------
>
> Message: 3
> Date: Fri, 8 Jul 2016 09:52:34 +0200
> From: Tim Sutton <tim at kartoza.com>
> To: Africa local chapter discussions <africa at lists.osgeo.org>, Grant
>         Slater <openstreetmap at firefishy.com>
> Subject: Re: [OSGeo Africa] Adding the NGI 50 cm colour
>         orthophotography as     WFS
> Message-ID: <F6BD422A-867B-463C-B3B5-C5FCA7065C75 at kartoza.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi
>
> > On 08 Jul 2016, at 8:16 AM, Heidi Van Deventer <HvDeventer at csir.co.za>
> wrote:
> >
> > Dear list
> >
> > can anyone advise whether the NGI 50 cm colour orthophotography is
> available as a WFS in QGIS?
> >
>
> Do you mean WMS? If so you can use this unofficial URI:
>
> http://aerial.openstreetmap.org.za/wms-ngi-aerial
>
> I'm not sure if it has the most current imagery in it though - grant
> slater from OSM could probably comment on that...
>
> Regards
>
> Tim
>
>
> > Kind regards,
> > Heidi
> >
> >
> > Dr. Heidi van Deventer
> > CSIR GIS/RS Researcher
> > (PLATO registered Professional GISc Practitioner)
> > Natural Resources and the Environment (NRE)
> > Ecosystems - Earth Observation Research Group
> > Building 33 CSIR Pretoria
> > Tel: +27 12 841 2507
> > Fax: +27 12 841 3909
> >
> >
> >
> >
> >
> > --
> > This message is subject to the CSIR's copyright terms and conditions,
> e-mail legal notice, and implemented Open Document Format (ODF) standard.
> > The full disclaimer details can be found at
> http://www.csir.co.za/disclaimer.html.
> >
> > This message has been scanned for viruses and dangerous content by
> MailScanner,
> > and is believed to be clean.
> >
> > Please consider the environment before printing this email.
> >
> > _______________________________________________
> > Africa mailing list
> > Africa at lists.osgeo.org
> > You can UNSUBSCRIBE at http://lists.osgeo.org/mailman/listinfo/africa
>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: signature.asc
> Type: application/pgp-signature
> Size: 455 bytes
> Desc: Message signed with OpenPGP using GPGMail
> URL: <
> http://lists.osgeo.org/pipermail/africa/attachments/20160708/bd47c2d1/attachment-0001.sig
> >
>
> ------------------------------
>
> Message: 4
> Date: Fri, 08 Jul 2016 10:02:41 +0200
> From: "Heidi Van Deventer" <HvDeventer at csir.co.za>
> To: <openstreetmap at firefishy.com>, <africa at lists.osgeo.org>
> Subject: Re: [OSGeo Africa] Adding the NGI 50 cm colour
>         orthophotography as WFS
> Message-ID: <577F7A41020000D2000F8826 at pta-imo.csir.co.za>
> Content-Type: text/plain; charset=US-ASCII
>
> Hi Tim
>
> thanks, yes I meant a Web Map Service.
>
> The website you sent gives the following error "mapserv(): Web application
> error. Traditional BROWSE mode requires a TEMPLATE in the WEB section, but
> none was provided. "'
>
> Heidi
>
>
> >>> Tim Sutton <tim at kartoza.com> 08/07/2016 09:52 >>>
> Hi
>
> > On 08 Jul 2016, at 8:16 AM, Heidi Van Deventer <HvDeventer at csir.co.za>
> wrote:
> >
> > Dear list
> >
> > can anyone advise whether the NGI 50 cm colour orthophotography is
> available as a WFS in QGIS?
> >
>
> Do you mean WMS? If so you can use this unofficial URI:
>
> http://aerial.openstreetmap.org.za/wms-ngi-aerial
>
> I'm not sure if it has the most current imagery in it though - grant
> slater from OSM could probably comment on that...
>
> Regards
>
> Tim
>
>
> > Kind regards,
> > Heidi
> >
> >
> > Dr. Heidi van Deventer
> > CSIR GIS/RS Researcher
> > (PLATO registered Professional GISc Practitioner)
> > Natural Resources and the Environment (NRE)
> > Ecosystems - Earth Observation Research Group
> > Building 33 CSIR Pretoria
> > Tel: +27 12 841 2507
> > Fax: +27 12 841 3909
> >
> >
> >
> >
> >
> > --
> > This message is subject to the CSIR's copyright terms and conditions,
> e-mail legal notice, and implemented Open Document Format (ODF) standard.
> > The full disclaimer details can be found at
> http://www.csir.co.za/disclaimer.html.
> >
> > This message has been scanned for viruses and dangerous content by
> MailScanner,
> > and is believed to be clean.
> >
> > Please consider the environment before printing this email.
> >
> > _______________________________________________
> > Africa mailing list
> > Africa at lists.osgeo.org
> > You can UNSUBSCRIBE at http://lists.osgeo.org/mailman/listinfo/africa
>
>
>
> --
> This message is subject to the CSIR's copyright terms and conditions,
> e-mail legal notice, and implemented Open Document Format (ODF) standard.
> The full disclaimer details can be found at
> http://www.csir.co.za/disclaimer.html.
>
> This message has been scanned for viruses and dangerous content by
> MailScanner,
> and is believed to be clean.
>
> Please consider the environment before printing this email.
>
>
>
> ------------------------------
>
> Message: 5
> Date: Fri, 8 Jul 2016 10:09:24 +0200
> From: Tim Sutton <tim at kartoza.com>
> To: Africa local chapter discussions <africa at lists.osgeo.org>
> Subject: Re: [OSGeo Africa] Adding the NGI 50 cm colour
>         orthophotography as     WFS
> Message-ID: <8DCF9869-4AE0-4A18-9C9A-3B04D4E2084A at kartoza.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Heidi
>
> > On 08 Jul 2016, at 10:02 AM, Heidi Van Deventer <HvDeventer at csir.co.za>
> wrote:
> >
> > Hi Tim
> >
> > thanks, yes I meant a Web Map Service.
> >
> > The website you sent gives the following error "mapserv(): Web
> application error. Traditional BROWSE mode requires a TEMPLATE in the WEB
> section, but none was provided. "'
> >
>
> Just open QIGS, (or your *cough* other GIS app) and add a new WMS
> connection using that URL and it will work.
>
> Regards
>
> Tim
>
> > Heidi
> >
> >
> >>>> Tim Sutton <tim at kartoza.com> 08/07/2016 09:52 >>>
> > Hi
> >
> >> On 08 Jul 2016, at 8:16 AM, Heidi Van Deventer <HvDeventer at csir.co.za>
> wrote:
> >>
> >> Dear list
> >>
> >> can anyone advise whether the NGI 50 cm colour orthophotography is
> available as a WFS in QGIS?
> >>
> >
> > Do you mean WMS? If so you can use this unofficial URI:
> >
> > http://aerial.openstreetmap.org.za/wms-ngi-aerial
> >
> > I'm not sure if it has the most current imagery in it though - grant
> slater from OSM could probably comment on that...
> >
> > Regards
> >
> > Tim
> >
> >
> >> Kind regards,
> >> Heidi
> >>
> >>
> >> Dr. Heidi van Deventer
> >> CSIR GIS/RS Researcher
> >> (PLATO registered Professional GISc Practitioner)
> >> Natural Resources and the Environment (NRE)
> >> Ecosystems - Earth Observation Research Group
> >> Building 33 CSIR Pretoria
> >> Tel: +27 12 841 2507
> >> Fax: +27 12 841 3909
> >>
> >>
> >>
> >>
> >>
> >> --
> >> This message is subject to the CSIR's copyright terms and conditions,
> e-mail legal notice, and implemented Open Document Format (ODF) standard.
> >> The full disclaimer details can be found at
> http://www.csir.co.za/disclaimer.html.
> >>
> >> This message has been scanned for viruses and dangerous content by
> MailScanner,
> >> and is believed to be clean.
> >>
> >> Please consider the environment before printing this email.
> >>
> >> _______________________________________________
> >> Africa mailing list
> >> Africa at lists.osgeo.org
> >> You can UNSUBSCRIBE at http://lists.osgeo.org/mailman/listinfo/africa
> >
> >
> >
> > --
> > This message is subject to the CSIR's copyright terms and conditions,
> e-mail legal notice, and implemented Open Document Format (ODF) standard.
> > The full disclaimer details can be found at
> http://www.csir.co.za/disclaimer.html.
> >
> > This message has been scanned for viruses and dangerous content by
> MailScanner,
> > and is believed to be clean.
> >
> > Please consider the environment before printing this email.
> >
> > _______________________________________________
> > Africa mailing list
> > Africa at lists.osgeo.org
> > You can UNSUBSCRIBE at http://lists.osgeo.org/mailman/listinfo/africa
>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: signature.asc
> Type: application/pgp-signature
> Size: 455 bytes
> Desc: Message signed with OpenPGP using GPGMail
> URL: <
> http://lists.osgeo.org/pipermail/africa/attachments/20160708/6ae5b1ba/attachment.sig
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Africa mailing list
> Africa at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/africa
>
> ------------------------------
>
> End of Africa Digest, Vol 113, Issue 4
> **************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/africa/attachments/20160708/4deea94d/attachment-0001.html>


More information about the Africa mailing list