Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#51732 closed defect (fixed)

spatialite-tools 4.3.0.0 is missing tools

Reported by: vsivsi@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: kurthindenburg (Kurt Hindenburg)
Port: spatialite-tools

Description

When I install the spatialite-tools port (current version 4.3.0.0) several of the expected CLI tools are not installed. I have tested this on several machines with different MacPorts histories with the same results.

The install process leaves out several prominent and important components of the spatialite-tools package, namely:

spatialite_osm_map
spatialite_osm_net
spatialite_osm_raw

As near as I can tell, the missing tools are simply not being built / installed by this version of the MacPorts port. There are no errors when installing or uninstalling the port, the executables are simply missing.

These are necessary tools for dealing with Open Street Map (OSM) data, and clearly should be included, given that they are a standard part of the package.

See this page for reference: https://www.gaia-gis.it/fossil/spatialite-tools/index

The following list of tools are correctly installed, and note that two other OSM tools (spatialite_osm_filter and spatialite_osm_overpass) are included, as expected:

/opt/local/bin/exif_loader
/opt/local/bin/shp_doctor
/opt/local/bin/spatialite
/opt/local/bin/spatialite_convert
/opt/local/bin/spatialite_dxf
/opt/local/bin/spatialite_gml
/opt/local/bin/spatialite_network
/opt/local/bin/spatialite_osm_filter
/opt/local/bin/spatialite_osm_overpass
/opt/local/bin/spatialite_tool
/opt/local/bin/spatialite_xml_collapse
/opt/local/bin/spatialite_xml_load
/opt/local/bin/spatialite_xml_print
/opt/local/bin/spatialite_xml_validator

Thanks!

Change History (5)

comment:1 Changed 8 years ago by vsivsi@…

It appears that this is because the package is specifically being built with the config option:

--disable-readosm

Presumably this is because the ReadOSM library does not have a port, and is a required dependency to support the functionality of the missing tools. See: https://www.gaia-gis.it/fossil/readosm/index

Anyway, this is a pretty big oversight in this package. At a minimum the description shouldn't list OSM as one of the formats this package will allow you to import, since it appears that functionality is being intentionally disabled in this port.

comment:2 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

According to its web site, readosm is an open source library, so let's add a port for it so that we can enable these features in spatialite-tools.

comment:3 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

In 332b589b31f9b2ac72663ef4933685d00520624e/macports-ports:

readosm: new port

Needed to support osm in spatialite-tools
see #51732

comment:4 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

Resolution: fixed
Status: newclosed

In 3b5232f4266385943d2ff2b02460716891b5226f/macports-ports:

spatialite-tools: add readosm dependency to support OSM

closes #51732

comment:5 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

Cc: kurthindenburg added
Note: See TracTickets for help on using tickets.