[Qgis-developer] Unable to invoke fileVectorFilters() // Adding jpeg to mapcanvas?

Tim Sutton tim at linfiniti.com
Fri Oct 6 22:46:05 EDT 2006


Hi

On 06/10/2006, at 18:15, Schalk Snyman wrote:

> Hi everyone,
>
> 1. Can someone tell me what this output means (and perhaps how to fix
> it :-) ?
>
> I'm trying to display a shapefile (11.4MB) as a map and two
> delimited-text file layers on top of it. The delimited text layers add
> fine, but the shapefile is not displaying. I change the projection
> before I add it, to one of the srsids.
>
> Here's my settings: (works for the polys.shp: shapefile of the world
> example)
>
> QString myLayerPath         = "layers";	//relative to execution dir
> QString myLayerBaseName     = "long_name";
> QString myProviderName      = "ogr";
>
> and the output:
> ----------------------------------------------
> (fileVectorFilters), Driver count: : 0
>
> Unable to invoke fileVectorFilters()
>
> qgsmaprender.cpp: 154: (adjustExtentToSize) Current extent is
> 0.0000000000000000,0.0000000000000000 :
> 0.0000000000000000,0.0000000000000000
> ----------------------------------------------
>

Can you post some example code or something to better explain?

> 2. How to add a jpeg image to a mapcanvas, if possible?
>

See my latest tutorial at http://blog.qgis.org/?q=node/27

Regards

-- 
Tim Sutton

Visit http://qgis.org for a great Open Source GIS
Home Page: http://linfiniti.com
Skype: timlinux
MSN: tim_bdworld at msn.com
Yahoo: tim_bdworld at yahoo.com
Jabber: timlinux
Irc: timlinux on #qgis at freenode.net



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20061006/1036519c/attachment.html


More information about the Qgis-developer mailing list