[Qgis-user] qgis chugiak reshape features tool doesn't work

2014-10-20 Thread umbertofilippo

Hello.

I've been using qgis since a long time.
With the new version (2.4) I can't edit my polygons with the reshape 
features tool because it rises an unknown exception.
I know this is a bug (see hub.qgis.org 
https://hub.qgis.org/issues/10999). Anyway, it seems they are trying 
to fix this problem (on GitHub 
https://github.com/qgis/QGIS/pull/1609/commits), but, as a 
non-programmer user, I cannot figure out if I can actually solve my 
issue modifying the code myself (according to the gits) so far.
Since the reshape tool is a must to have tool in my work, I wonder if 
someone experienced the same lack and maybe got a hint for me.


Thanks in advance!

P.S.: I am really sorry to have posted this message many times by my 
second (not-registered) mail address (umberto.min...@unimi.it). Please 
consider this message and not the others, and sorry again...
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] qgis chugiak reshape features tool doesn't work

2014-10-20 Thread Luigi Pirelli
Hi umerto,

I worked on that blocker issue with Arnoud in the last Hackmeeting in
Essen... we found a solution that has not been merged yet
(https://github.com/qgis/QGIS/pull/1609). I post this answer to Jürgen
Fisher too, to press him to merge the pull request.

The problem raise at low level scale due the algorithm to find points
that intersects polygon and when the reshape line points are too near
the border.

conseguent to this error, is that the reshape tool remain active and
it's difficult to exit from reshaping... this was an unexpected
behaviour that wasn't catched.

Use case is generally archeological user that works with that level of scale.

waiting for the 2.6 release I suggest you to find a workaround, just
reshape at higher scales and/or setting the reshape line not so near
the polygon border (if it make sense)

Another workaround is changing the projection to work to higher scale.

regards, Luigi Pirelli

On 20 October 2014 10:25, umbertofilippo umbertofili...@tiscali.it wrote:
 Hello.

 I’ve been using qgis since a long time.
 With the new version (2.4) I can’t edit my polygons with the reshape
 features tool because it rises an “unknown exception”.
 I know this is a bug (see hub.qgis.org). Anyway, it seems they are trying to
 fix this problem (on GitHub), but, as a non-programmer user, I cannot figure
 out if I can actually solve my issue modifying the code myself (according to
 the gits) so far.
 Since the reshape tool is a must to have tool in my work, I wonder if
 someone experienced the same lack and maybe got a hint for me.

  Thanks in advance!

 P.S.: I am really sorry to have posted this message many times by my second
 (not-registered) mail address (umberto.min...@unimi.it). Please consider
 this message and not the others, and sorry again...

 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] qgis chugiak reshape features tool doesn't work

2014-10-20 Thread umbertofilippo

Thanks, I'll follow your suggestions.
If that's what's possible now I think I have to live with that.
Still, qgis is a great ope GIS!

regards

Umberto Minora

Il 20/10/2014 10:49, Luigi Pirelli ha scritto:

Hi umerto,

I worked on that blocker issue with Arnoud in the last Hackmeeting in
Essen... we found a solution that has not been merged yet
(https://github.com/qgis/QGIS/pull/1609). I post this answer to Jürgen
Fisher too, to press him to merge the pull request.

The problem raise at low level scale due the algorithm to find points
that intersects polygon and when the reshape line points are too near
the border.

conseguent to this error, is that the reshape tool remain active and
it's difficult to exit from reshaping... this was an unexpected
behaviour that wasn't catched.

Use case is generally archeological user that works with that level of scale.

waiting for the 2.6 release I suggest you to find a workaround, just
reshape at higher scales and/or setting the reshape line not so near
the polygon border (if it make sense)

Another workaround is changing the projection to work to higher scale.

regards, Luigi Pirelli

On 20 October 2014 10:25, umbertofilippo umbertofili...@tiscali.it wrote:

Hello.

I’ve been using qgis since a long time.
With the new version (2.4) I can’t edit my polygons with the reshape
features tool because it rises an “unknown exception”.
I know this is a bug (see hub.qgis.org). Anyway, it seems they are trying to
fix this problem (on GitHub), but, as a non-programmer user, I cannot figure
out if I can actually solve my issue modifying the code myself (according to
the gits) so far.
Since the reshape tool is a must to have tool in my work, I wonder if
someone experienced the same lack and maybe got a hint for me.

  Thanks in advance!

P.S.: I am really sorry to have posted this message many times by my second
(not-registered) mail address (umberto.min...@unimi.it). Please consider
this message and not the others, and sorry again...

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] New silver sponsor

2014-10-20 Thread Paolo Cavallini
Hi all.
I'm glad to announce we have a new silver sponsor:
http://qgis.org/en/site/about/sponsorship.html
Sourcepole has a long term commitment to QGIS project, and it is a pleasure to 
see
they decided to support it also as sponsors.
It is thanks to generous initiatives like these that several aspects of the 
project
are sustainable, most notably the prerelease bugfix and the HackFest 
organization.
Many thanks therefore to all our sponsors.
Happy QGISsing.
-- 
Paolo Cavallini - www.faunalia.eu
Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Polygons inside a polygon

2014-10-20 Thread Hakala Oiva (MTT)

Hi everyone

I just cannot understand, if Qgis cannot handle this:

I have a multipolygon layer and a bigger polygon with 3 smaller polygons inside 
it. I want to modify the big polygon so, that there should be 3 holes just 
where the smaller polygons are. So actually I want: big polygon - 3 small = 
result polygon (with 3 holes). I know how to use ring tools, but this is not 
the same. And notice, that I do not have 2 layers, just one.

Thanks, Oiva
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] [Qgis-developer] New silver sponsor

2014-10-20 Thread Tim Sutton
Hi

On Mon, Oct 20, 2014 at 1:18 PM, Paolo Cavallini cavall...@faunalia.it
wrote:

 Hi all.
 I'm glad to announce we have a new silver sponsor:
 http://qgis.org/en/site/about/sponsorship.html
 Sourcepole has a long term commitment to QGIS project, and it is a
 pleasure to see
 they decided to support it also as sponsors.
 It is thanks to generous initiatives like these that several aspects of
 the project
 are sustainable, most notably the prerelease bugfix and the HackFest
 organization.
 Many thanks therefore to all our sponsors.


Wow awesome thanks Pirmin, Marco, Horst and co!

Regards

Tim


 Happy QGISsing.
 --
 Paolo Cavallini - www.faunalia.eu
 Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html
 ___
 Qgis-developer mailing list
 qgis-develo...@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer




-- 
--
Tim Sutton
Visit http://kartoza.com to find out about open source:
 * Desktop GIS programming services
 * Geospatial web development
* GIS Training
* Consulting Services
Skype: timlinux Irc: timlinux on #qgis at freenode.net
Tim is a member of the QGIS Project Steering Committee
---
Kartoza is a merger between Linfiniti and Afrispatial
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Composer - legend attribute table HELP

2014-10-20 Thread skampus
Nyall Dawson wrote
 On 07/07/2014 8:28 am, skampus lt;

 skampus@

 gt; wrote:

 hi, two simple questions about composer, hoping there's a solution for
 them.

 1) is there the possibility to split inserted attribute table in two
 columns
 as for the legend? i have almost 100 records having only two field so if
 i'd
 have two columns in composer i could insert all the table just in same
 page
 
 Not yet. This may be addressed in the 2.6 release though.



hi, will this option be present in 2.6?
actually it seems there is not in dev version.

thank you all and ciao

s.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Composer-legend-attribute-table-HELP-tp5149866p5168404.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] QGIS Server not loading qgis project layers

2014-10-20 Thread RicardoMS
Hi everybody,

I'm trying to use QGIS Server but I'm facing a problem I already faced in
Windows (I'm trying it in ubuntu 14.04 now).

Apparently, my QGIS Server is working fine, i tried everything in
http://hub.qgis.org/projects/quantum-gis/wiki/QGIS_Server_Tutorial and
http://anitagraser.com/2012/03/30/qgis-server-on-ubuntu-step-by-step/

The thing is that when I try to add a layer from localhost I can't see the
layers inside the project and even if I add the project there is nothing on
the extent. I think this is something related with coordinate system, but
there is no layers, only the project.

http://osgeo-org.1560.x6.nabble.com/file/n5168406/03.png 
http://osgeo-org.1560.x6.nabble.com/file/n5168406/36.png 
http://osgeo-org.1560.x6.nabble.com/file/n5168406/48.png 

Can anybody help me?

Thanks in advance,

Ricardo Silva



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/QGIS-Server-not-loading-qgis-project-layers-tp5168406.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Iconset from Google

2014-10-20 Thread Andreas Neumann

Hi,

This icon-set from Google may be interesting for QGIS users or maybe 
even for our UI:


https://github.com/google/material-design-icons/releases/tag/1.0.0

Andreas
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Composer - legend attribute table HELP

2014-10-20 Thread Junior Delaz
Hi,
Actually, it is already present in dev version.
After you added an attribute table in your composer, in its properties tab,
there is the ability to add frame. Adding new frame helps you organize
the way you present your attribute data according to the size of each frame.

Regards,

2014-10-20 15:08 GMT+02:00 skampus skam...@gmail.com:

 Nyall Dawson wrote
  On 07/07/2014 8:28 am, skampus lt;

  skampus@

  gt; wrote:
 
  hi, two simple questions about composer, hoping there's a solution for
  them.
 
  1) is there the possibility to split inserted attribute table in two
  columns
  as for the legend? i have almost 100 records having only two field so if
  i'd
  have two columns in composer i could insert all the table just in same
  page
 
  Not yet. This may be addressed in the 2.6 release though.



 hi, will this option be present in 2.6?
 actually it seems there is not in dev version.

 thank you all and ciao

 s.



 --
 View this message in context:
 http://osgeo-org.1560.x6.nabble.com/Composer-legend-attribute-table-HELP-tp5149866p5168404.html
 Sent from the Quantum GIS - User mailing list archive at Nabble.com.
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS Server not loading qgis project layers

2014-10-20 Thread Bernhard Ströbl

Hi Ricardo,

without further knowledge I could think of two possible problems
1) the qgs file is not accessible for the user running Apache
2) the layer sources are not accessible. What are you using? files, 
database? All these must be accessible!


use your browser and insert a GetCapabilities request, something like
http://myhost/bla/qgis_mapserv.fcgi?map=/home/ricardo/Documents/test.qgsSERVICE=WMSVERSION=1.3.0REQUEST=GetCapabilities

If you get an answer, the server is running fine
If you get your project's metadata the project is accessible
If you get your layers listed the layers are accessible


Bernhard

Am 20.10.2014 15:15, schrieb RicardoMS:

Hi everybody,

I'm trying to use QGIS Server but I'm facing a problem I already faced in
Windows (I'm trying it in ubuntu 14.04 now).

Apparently, my QGIS Server is working fine, i tried everything in
http://hub.qgis.org/projects/quantum-gis/wiki/QGIS_Server_Tutorial and
http://anitagraser.com/2012/03/30/qgis-server-on-ubuntu-step-by-step/

The thing is that when I try to add a layer from localhost I can't see the
layers inside the project and even if I add the project there is nothing on
the extent. I think this is something related with coordinate system, but
there is no layers, only the project.

http://osgeo-org.1560.x6.nabble.com/file/n5168406/03.png
http://osgeo-org.1560.x6.nabble.com/file/n5168406/36.png
http://osgeo-org.1560.x6.nabble.com/file/n5168406/48.png

Can anybody help me?

Thanks in advance,

Ricardo Silva





__ Information from ESET Mail Security, version of virus signature 
database 10590 (20141020) __

The message was checked by ESET Mail Security.
http://www.eset.com


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QGIS Server not loading qgis project layers

2014-10-20 Thread RicardoMS
Hi Bernhard

I'm new to ubuntu and this thing of root and permissions is annoying me...
The server is running fine, the project is accessible but the layers were
not...

Everything is working now...

Thanks a lot!

Ricardo Silva



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/QGIS-Server-not-loading-qgis-project-layers-tp5168406p5168415.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Composer - legend attribute table HELP

2014-10-20 Thread skampus
thank you!
it's better than i hoped.
if you set your frame as extend to next page, it continues the list in
other page and this frame is indipendent from previous so you can drag it
into another place of the page.

wonderful!!!

thank you all,

s.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Composer-legend-attribute-table-HELP-tp5149866p5168420.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Plans/Timeline past 2.6?

2014-10-20 Thread Chrest, David
What are the plans or the timeline for QGIS releases beyond 2.6?
Will there be a new release every 6 months, or will things slow down?
2.8, 3.0?

David Chrest
Research GIS Analyst
RTI International
3040 Cornwallis Rd, PO Box 12194
Research Triangle Park, NC  27709-2194

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Plans/Timeline past 2.6?

2014-10-20 Thread Andreas Neumann

Hi David,

This is currently under discussion. See a new proposal at 
https://github.com/timlinux/QGIS-Enhancement-Proposals/blob/master/QEP-3-QGIS_Long_Term_Releases.rst

and the discussion at
https://github.com/qgis/QGIS-Enhancement-Proposals/pull/6 - you can add 
your thoughts there.


The PSC will have to decide whether they will follow this proposal.

Andreas

On 20.10.2014 16:06, Chrest, David wrote:


What are the plans or the timeline for QGIS releases beyond 2.6?

Will there be a new release every 6 months, or will things slow down?

2.8, 3.0?

David Chrest

Research GIS Analyst

RTI International

3040 Cornwallis Rd, PO Box 12194

Research Triangle Park, NC  27709-2194



___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] erro no XML de estilo

2014-10-20 Thread Pedro Costa

Boa tarde pessoal,

Estou a tentar gravar um ficheiro de estilo numa BD postgres mas recebo 
o seguinte erro na query:


ERRO:  invalid XML document
DETAIL:  Entity: line 1: parser error : Unfinished System or Public ID  
or ' expected

!DOCTYPE qgis PUBLIC http://mrcc.com/qgis.dtd; SYSTEM


Pelos vistos é um erro no documento XML do INSERT da query:

INSERT INTO (...)

XMLPARSE(DOCUMENT

'!DOCTYPE qgis PUBLIC ''http://mrcc.com/qgis.dtd'' ''SYSTEM''
qgis version=2.4.0-Chugiak minimumScale=-4.65661e-10
maximumScale=1e+08 simplifyDrawingHints=0 minLabelScale=0 
maxLabelScale=1e+08 simplifyDrawingTol=1 simplifyMaxScale=1 
hasScaleBasedVisibilityFlag=0 simplifyLocal=1 
scaleBasedLabelVisibilityFlag=0

 renderer-v2 symbollevels=0 type=singleSymbol...

(...)




Alguém já se deparou com ele ou tem uma dica para o contornar? Já 
coloquei no XML Validator que não encontrou nada.


OS Win7 64 bits
Qgis 2.4

Abraços
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Export WKT format

2014-10-20 Thread Andrew Gillett
It is possible to export in WKT format by copying then pasting into a 
text editor. However, there is no WKT option when exporting via Layer - 
Save As. Is there a particular reason for this, or is there a 
development list where I could request this?

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Export WKT format

2014-10-20 Thread Matthias Kuhn
Hi Andrew,

WKT is a format for geometries and not a file type. Therefore it is not
possible to offer a save as WKT just like that. You can however easily
choose Comma Separated Value as export format and then choose AS_WKT in
the Geometry combobox under layer options.

Best regards,
Matthias


On 20.10.2014 18:35, Andrew Gillett wrote:
 It is possible to export in WKT format by copying then pasting into a
 text editor. However, there is no WKT option when exporting via Layer
 - Save As. Is there a particular reason for this, or is there a
 development list where I could request this?
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user


-- 
Help getting QGIS to the next level of quality before November 15!
http://blog.vitu.ch/10102014-1046/crowdfunding-initiative-automated-testing

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Export WKT format

2014-10-20 Thread Alex Mandel
That sounds like it's hitting some sort of line limit. Might be a bug in
OGR. You could try writing WKT to a column first, but it would have to
be in a layer type that supports long text fields.

That said WKT is not a great format for complex geometries. Perhaps you
can tell us your goal and we can suggest another way to get there.

Thanks,
Alex

On 10/20/2014 10:21 AM, Andrew Gillett wrote:
 Thanks for the info. I've just tried this and there appears to be a bug
 in it. I'm using the country border data from here:
 
 http://www.naturalearthdata.com/downloads/10m-cultural-vectors/
 
 If, for example, I select Iceland and export as you suggested, the
 column for the polygon data is truncated. Only about 200 vertices are
 exported, as compared to around 3000 which are correctly present if I
 use the copy/paste method. The polygon data ends with an X coordinate
 but no Y coordinate, and the closing brackets and quote mark are also
 missing.
 
 
 On 20/10/2014 17:39, Matthias Kuhn wrote:
 Hi Andrew,

 WKT is a format for geometries and not a file type. Therefore it is not
 possible to offer a save as WKT just like that. You can however easily
 choose Comma Separated Value as export format and then choose AS_WKT in
 the Geometry combobox under layer options.

 Best regards,
 Matthias


 On 20.10.2014 18:35, Andrew Gillett wrote:
 It is possible to export in WKT format by copying then pasting into a
 text editor. However, there is no WKT option when exporting via Layer
 - Save As. Is there a particular reason for this, or is there a
 development list where I could request this?
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user

 
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] stop receiving mails

2014-10-20 Thread Umberto Filippo Minora

I seem not to understand how to deactivate the mail receiving.
I did all what I was supposed to do by logging in and selecting 
disabled in the mail delivery tab.
Then I set the digest mode to on as to receive a bundle, but still I 
am receiving lot of mails anyway...


Is there anything else I am supposed to do? Please help me understanding 
this, I would rally appreciate it!


thanks in advance

umberto
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Export WKT format

2014-10-20 Thread Alex Mandel
KML isn't a good choice, as it's always Lat/Lon WGS84.
GML might work, but give GeoJson a shot first - it's simpler than GML to
parse (actually little or no parsing required).

Did you try ogr2ogr on the commandline to make sure it's not a bug in
the QGIS writer for long lines?

Thanks,
Alex

On 10/20/2014 11:11 AM, Andrew Gillett wrote:
 I wrote my parser for WKT as it was the quickest and simplest format to
 parse that I was aware of – I only need the country border data, and
 could see how to parse this just by looking at the file, whereas other
 formats would have needed more research.
 
 The problem is with exporting the WKT using a specified projection. At
 the moment I have to export an intermediate format to get the projection
 right, then load that back in and copy/paste for the WKT.
 
 I am now looking into using KML or GML instead.
 
 
 On 20/10/2014 18:26, Alex Mandel wrote:
 That sounds like it's hitting some sort of line limit. Might be a bug in
 OGR. You could try writing WKT to a column first, but it would have to
 be in a layer type that supports long text fields.

 That said WKT is not a great format for complex geometries. Perhaps you
 can tell us your goal and we can suggest another way to get there.

 Thanks,
 Alex

 On 10/20/2014 10:21 AM, Andrew Gillett wrote:
 Thanks for the info. I've just tried this and there appears to be a bug
 in it. I'm using the country border data from here:

 http://www.naturalearthdata.com/downloads/10m-cultural-vectors/

 If, for example, I select Iceland and export as you suggested, the
 column for the polygon data is truncated. Only about 200 vertices are
 exported, as compared to around 3000 which are correctly present if I
 use the copy/paste method. The polygon data ends with an X coordinate
 but no Y coordinate, and the closing brackets and quote mark are also
 missing.


 On 20/10/2014 17:39, Matthias Kuhn wrote:
 Hi Andrew,

 WKT is a format for geometries and not a file type. Therefore it is not
 possible to offer a save as WKT just like that. You can however easily
 choose Comma Separated Value as export format and then choose AS_WKT in
 the Geometry combobox under layer options.

 Best regards,
 Matthias


 On 20.10.2014 18:35, Andrew Gillett wrote:
 It is possible to export in WKT format by copying then pasting into a
 text editor. However, there is no WKT option when exporting via Layer
 - Save As. Is there a particular reason for this, or is there a
 development list where I could request this?
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user
 


-- 
Alex Mandel
http://wildintellect.com
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Export WKT format

2014-10-20 Thread Junior Delaz
Hi,
I think the WKT issue is an OGR one :
https://trac.osgeo.org/gdal/ticket/5508
It should work in QGIS master

2014-10-20 20:31 GMT+02:00 Alex Mandel tech_...@wildintellect.com:

 KML isn't a good choice, as it's always Lat/Lon WGS84.
 GML might work, but give GeoJson a shot first - it's simpler than GML to
 parse (actually little or no parsing required).

 Did you try ogr2ogr on the commandline to make sure it's not a bug in
 the QGIS writer for long lines?

 Thanks,
 Alex

 On 10/20/2014 11:11 AM, Andrew Gillett wrote:
  I wrote my parser for WKT as it was the quickest and simplest format to
  parse that I was aware of – I only need the country border data, and
  could see how to parse this just by looking at the file, whereas other
  formats would have needed more research.
 
  The problem is with exporting the WKT using a specified projection. At
  the moment I have to export an intermediate format to get the projection
  right, then load that back in and copy/paste for the WKT.
 
  I am now looking into using KML or GML instead.
 
 
  On 20/10/2014 18:26, Alex Mandel wrote:
  That sounds like it's hitting some sort of line limit. Might be a bug in
  OGR. You could try writing WKT to a column first, but it would have to
  be in a layer type that supports long text fields.
 
  That said WKT is not a great format for complex geometries. Perhaps you
  can tell us your goal and we can suggest another way to get there.
 
  Thanks,
  Alex
 
  On 10/20/2014 10:21 AM, Andrew Gillett wrote:
  Thanks for the info. I've just tried this and there appears to be a bug
  in it. I'm using the country border data from here:
 
  http://www.naturalearthdata.com/downloads/10m-cultural-vectors/
 
  If, for example, I select Iceland and export as you suggested, the
  column for the polygon data is truncated. Only about 200 vertices are
  exported, as compared to around 3000 which are correctly present if I
  use the copy/paste method. The polygon data ends with an X coordinate
  but no Y coordinate, and the closing brackets and quote mark are also
  missing.
 
 
  On 20/10/2014 17:39, Matthias Kuhn wrote:
  Hi Andrew,
 
  WKT is a format for geometries and not a file type. Therefore it is
 not
  possible to offer a save as WKT just like that. You can however easily
  choose Comma Separated Value as export format and then choose AS_WKT
 in
  the Geometry combobox under layer options.
 
  Best regards,
  Matthias
 
 
  On 20.10.2014 18:35, Andrew Gillett wrote:
  It is possible to export in WKT format by copying then pasting into a
  text editor. However, there is no WKT option when exporting via Layer
  - Save As. Is there a particular reason for this, or is there a
  development list where I could request this?
  ___
  Qgis-user mailing list
  Qgis-user@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-user
  ___
  Qgis-user mailing list
  Qgis-user@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-user
  ___
  Qgis-user mailing list
  Qgis-user@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-user
 


 --
 Alex Mandel
 http://wildintellect.com
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user