Revision 8522 trunk/extensions/extGraph_predes/src/com/iver/cit/gvsig/graph/core/writers/NetworkFileRedWriter.java

View differences:

NetworkFileRedWriter.java
146 146
		// EL NUMERO DE NODOS, DESPUES
147 147
		// IDTRAMO-SENTIDO_DIGITALIZACION-IDNODOORIGEN-IDNODODESTINO-TIPOTRAMO-DISTANCIA
148 148
		// Y POR FIN
149
		// IDNODO-XLONG-YLONG
149
		// IDNODO-Xdouble-Ydouble
150 150

  
151 151
		// El campo sentido indica //3-> Doble sentido, 1-> seg?n viene, 2
152 152
		// -> al rev?s, cualquier otro valor-> No hay arco
......
339 339
			for (int j=0; j < nodes.size(); j++) {
340 340
				NodeGv node = (NodeGv) nodes.get(j);
341 341
				output.writeInt(node.getId().intValue());
342
				output.writeFloat((float) node.getCoordinate().x);
343
				output.writeFloat((float) node.getCoordinate().y);
342
				output.writeDouble(node.getCoordinate().x);
343
				output.writeDouble(node.getCoordinate().y);
344 344
			}
345 345

  
346 346
			output.seek(0);

Also available in: Unified diff