<div dir="ltr"><div>Hi Everyone,</div><div>While my shapefiles have been imported into PostGIS and work great in QGIS, I am struggling to do the same with OSM data.</div><div>I've tried suggestions from this list to no avail - hoping for some fresh eyes.</div><div><br></div><div>Using the following with QGIS 2.12.1, Postgres 9.4.5, and PostGIS 2.2 on an ubuntu instance.</div><div>Postgres is running locally at our office and is a beast of a machine - no issues with hardware.</div><div><br></div><div>osm2pgsql --create --slim --cache 14000 --number-processes 4 --multi-geometry --hstore -d osm --flat-nodes /usr/local/osm/flat_nodes.bin --style /usr/local/osm/default.style  /tmp/north-america-latest.osm.pbf</div><div><br></div><div>After the data is loaded, primary keys and indexes are generated and a full vacuum is performed.</div><div><br></div><div>Start with an empty project, disable 'Render',</div><div>add planet_osm_lines to the project and create a rule:</div><div>"railway" = 'rail'</div><div>enable 'Render'</div><div>results in progress bar in an endlessly active state with nothing ever drawn.</div><div>There is an index an the railway column.</div><div><br></div><div>How does one go about a diagnosis from this point?</div><div><br></div><div>A few questions:</div><div>- There is no SRID specifically called on the import - is it defaulting to 900913 successfully or should it be called as I see this error in QGIS:</div><div>2015-12-02T11:53:20<span class="" style="white-space:pre">       </span>1<span class="" style="white-space:pre"> </span>Feature type or srid for way of "public"."planet_osm_polygon" could not be determined or was not requested.</div><div>Is this error fixable?</div><div><br></div><div>- Might the use of --slim and --flat-nodes switches be causing issues?</div><div><br></div><div>- Is it possible to see what processes are responsible for the ProgressBar's active state?</div><div>On several occasions I have been stuck with an active ProgressBar with nothing apparent going on.</div><div>Canceling out leaves me with a dark screen and a force quit. Joy.</div><div><br></div><div>Also seeing the following in QGIS Messages:</div><div>2015-12-02T11:31:49<span class="" style="white-space:pre">     </span>1<span class="" style="white-space:pre"> </span>NOTICE: WARNING:  there is no transaction in progress</div><div>2015-12-02T11:32:00<span class="" style="white-space:pre">  </span>1<span class="" style="white-space:pre"> </span>NOTICE: row number 0 is out of range 0..-1</div><div>2015-12-02T11:33:22<span class="" style="white-space:pre">      </span>1<span class="" style="white-space:pre"> </span>NOTICE: row number 0 is out of range 0..-1</div><div>2015-12-02T11:34:32<span class="" style="white-space:pre">      </span>1<span class="" style="white-space:pre"> </span>NOTICE: WARNING:  there is no transaction in progress</div><div>2015-12-02T11:34:51<span class="" style="white-space:pre">  </span>1<span class="" style="white-space:pre"> </span>NOTICE: WARNING:  there is no transaction in progress</div><div>and</div><div>Simplify transform error caught: forward transform of</div><div><span class="" style="white-space:pre">                       </span>(nan, -1.570796)</div><div><span class="" style="white-space:pre">                   </span>PROJ.4:  +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +to  +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs</div><div><span class="" style="white-space:pre">                  </span>Error: tolerance condition error</div><div><span class="" style="white-space:pre">                   </span></div><div>Any thoughts welcome.</div><div><br></div><div>-tom</div></div>