Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only synchronize selected features option not working #23750

Closed
qgib opened this issue Nov 10, 2016 · 1 comment
Closed

Only synchronize selected features option not working #23750

qgib opened this issue Nov 10, 2016 · 1 comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Plugins

Comments

@qgib
Copy link
Contributor

qgib commented Nov 10, 2016

Author Name: Peter Wells (@mostlyAtNight)
Original Redmine Issue: 15830
Affected QGIS version: 2.18.0
Redmine category:c++_plugins/offline_editing


Hi there!

The new 'Only synchronize selected features if a selection is present' option doesn't appear to work:

Steps to reproduce:

  1. Open a PostGIS layer
  2. Make a selection of features
  3. Offline the project, checking the 'Only sync..' option

Expected behaviour: An offline layer with just my selected features
Actual behaviour: An offline layer of the whole source layer

(more info below).

Please let me know if there's anything else I can provide to help,

Kind regards,

Pete

Platform: Windows 7 x64, QGIS installed with the standalone installer

QGIS version
2.18.0
QGIS code revision
0332f5a
Compiled against Qt
4.8.5
Running against Qt
4.8.5
Compiled against GDAL/OGR
2.1.1
Running against GDAL/OGR
2.1.1
Compiled against GEOS
3.5.0-CAPI-1.9.0
Running against GEOS
3.5.0-CAPI-1.9.0 r4084
PostgreSQL Client Version
9.2.4
SpatiaLite Version
4.3.0
QWT Version
5.2.3
PROJ.4 Version
493
QScintilla2 Version
2.7.2

PostGIS info:
Version string PostgreSQL 9.5.1, compiled by Visual C++ build 1800, 64-bit
"POSTGIS="2.2.1 r14555" GEOS="3.5.0-CAPI-1.9.0 r4090" PROJ="Rel. 4.9.1, 04 March 2015" GDAL="GDAL 2.0.1, released 2015/09/15" LIBXML="2.7.8" LIBJSON="0.12" RASTER"

Table definition:

-- Table: td.settlements

-- DROP TABLE td.settlements;

CREATE TABLE td.settlements
(
id integer NOT NULL DEFAULT nextval('td.settlements_id_seq'::regclass),
geom geometry(MultiPoint,27700),
code integer,
legend character varying(42),
file_name character varying(16),
"number" double precision,
name character varying(180),
number0 character varying(64),
admin_name character varying(50),
type character varying(40),
ferry_from character varying(50),
ferry_to character varying(50),
ferry_time character varying(10),
ferry_type character varying(20),
restrictio character varying(20),
access character varying(30),
amended date,
usage character varying(64),
location character varying(30),
gis character varying(80),
owner character varying(60),
north character varying(60),
south character varying(60),
east character varying(60),
west character varying(60),
clockwise character varying(60),
anticlockw character varying(60),
imperial integer,
metric integer,
d date,
CONSTRAINT settlements_pkey PRIMARY KEY (id)
)
WITH (
OIDS=FALSE
);
ALTER TABLE td.settlements
OWNER TO postgres;

-- Index: td.idx_settlements_legend

-- DROP INDEX td.idx_settlements_legend;

CREATE INDEX idx_settlements_legend
ON td.settlements
USING btree
(legend COLLATE pg_catalog."default");

-- Index: td.sidx_settlements_geom

-- DROP INDEX td.sidx_settlements_geom;

CREATE INDEX sidx_settlements_geom
ON td.settlements
USING gist
(geom);

@qgib
Copy link
Contributor Author

qgib commented Dec 7, 2016

Author Name: Anónimo (Anónimo)


Fixed in changeset "ed5a2bca7e908fad45f8c71ebf6519240832e4de".


  • status_id was changed from Open to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Plugins labels May 25, 2019
@qgib qgib closed this as completed May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Plugins
Projects
None yet
Development

No branches or pull requests

1 participant