Modify

Opened 4 years ago

Closed 2 years ago

#11761 closed defect (invalid)

Problem while opening shapefile

Reported by: naoliv Owned by: naoliv
Priority: normal Milestone:
Component: Plugin opendata Version:
Keywords: Cc:

Description

The attached shapefile properly opens in QGIS while in JOSM it seems to import everything but nothing is displayed.
Also, when trying to select the objects and zoom in/out on they (even though we can't see anything), something wrong starts to happen:

ERRO: NaN in greatCircleDistance
ERRO: NaN in greatCircleDistance
INFO: bbox: [ x: NaN -> NaN, y: NaN -> NaN ] is out of the world
INFO: bbox: [ x: NaN -> NaN, y: NaN -> NaN ] is out of the world
ERRO: NaN in greatCircleDistance
ERRO: NaN in greatCircleDistance
ERRO: NaN in greatCircleDistance
(…)
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2015-08-06 01:32:57
Last Changed Author: wiktorn
Revision: 8643
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Relative URL: ^/trunk
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2015-08-05 23:51:30 +0200 (Wed, 05 Aug 2015)
Last Changed Rev: 8643

Identification: JOSM/1.5 (8643 pt_BR) Linux Debian GNU/Linux testing (stretch)
Memory Usage: 247 MB / 10206 MB (149 MB allocated, but free)
Java version: 1.7.0_75, Oracle Corporation, OpenJDK 64-Bit Server VM
Java package: openjdk-7-jre:amd64-7u75-2.5.4-2
VM arguments: [-Dawt.useSystemAAFontSettings=on, -Dsun.java2d.opengl=true]

Plugins:
- Create_grid_of_ways (31241)
- OpeningHoursEditor (31241)
- PicLayer (31241)
- SimplifyArea (31241)
- buildings_tools (31361)
- conflation (0.1.7)
- contourmerge (1013)
- download_along (31241)
- editgpx (31241)
- geotools (31126)
- imagery_offset_db (31241)
- importvec (31241)
- jts (31126)
- log4j (31231)
- measurement (31289)
- merge-overlap (31241)
- opendata (31241)
- pbf (31241)
- pdfimport (31241)
- poly (31241)
- reverter (31241)
- scripting (30710)
- todo (29154)
- turnrestrictions (31241)
- undelete (31241)
- utilsplugin2 (31241)

Attachments (1)

shape.tar.bz2 (226.7 KB) - added by naoliv 4 years ago.

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by naoliv

Attachment: shape.tar.bz2 added

comment:1 Changed 3 years ago by Don-vip

Owner: changed from Don-vip to naoliv
Status: newneedinfo

The .prj file is wrong, the coordinates are not in degrees. I managed to open the shapefile with this .prj file, but with an offset error:

PROJCS["WGS 84 / Pseudo-Mercator",
    GEOGCS["Popular Visualisation CRS",
        DATUM["Popular_Visualisation_Datum",
            SPHEROID["Popular Visualisation Sphere",6378137,0,
                AUTHORITY["EPSG","7059"]],
            TOWGS84[0,0,0,0,0,0,0],
            AUTHORITY["EPSG","6055"]],
        PRIMEM["Greenwich",0,
            AUTHORITY["EPSG","8901"]],
        UNIT["degree",0.01745329251994328,
            AUTHORITY["EPSG","9122"]],
        AUTHORITY["EPSG","4055"]],
    UNIT["metre",1,
        AUTHORITY["EPSG","9001"]],
    PROJECTION["Mercator_1SP"],
    PARAMETER["central_meridian",0],
    PARAMETER["scale_factor",1],
    PARAMETER["false_easting",0],
    PARAMETER["false_northing",0],
    AUTHORITY["EPSG","3785"],
    AXIS["X",EAST],
    AXIS["Y",NORTH]]

Where does your shapefile come from?

comment:2 Changed 3 years ago by naoliv

If I am not mistaken, I got it from a government agency which is responsible for the highways.

comment:3 Changed 2 years ago by Don-vip

Resolution: invalid
Status: needinfoclosed

I can't do anything with this data.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain naoliv.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.