When I run
select pgr_createTopology('public.roads', 0.0001, 'geom', 'id');,
all I get is "FAIL". The roads table has these fields:
geom (geometry LineStringM,3006)
What am I missing? I have been unable to find a list of requirements for the network table, which I create using FME. I use pgRouting 2.2.2.