26 lines
1.1 KiB
C++
26 lines
1.1 KiB
C++
// Lot STM1 (STM1-SPEC-05 § 3.3, pilote Paris ; STM1-IMPL-03) : import d'un extrait OpenStreetMap (.osm XML) en UStreetMap.
|
|
//
|
|
// Passe par la fabrique du plugin (UStreetMapFactory, trouvee par reflexion : la classe n'est pas exportee) et UFactory::ImportObject
|
|
// (UnrealEd), comme l'import de l'editeur. Garde : le paquet cible doit etre sous /Game/Heavy/StreetMap/_Pilot/ et ne pas exister ;
|
|
// le commandlet ne touche ni au GI ni aux 281 cartes existantes. Mesures au rapport : duree, memoire maximale du processus, taille
|
|
// du paquet, routes, noeuds, batiments (nommes, avec amenite, types d'amenite), parcs, eaux, bornes.
|
|
//
|
|
// UnrealEditor-Cmd.exe <projet> -run=LPImportCityOSM -Osm=<fichier .osm ou .osm.xml> -Package=/Game/Heavy/StreetMap/_Pilot/<Ville>
|
|
// [-Report=<chemin .md>]
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Commandlets/Commandlet.h"
|
|
#include "LPImportCityOSMCommandlet.generated.h"
|
|
|
|
UCLASS()
|
|
class ULPImportCityOSMCommandlet : public UCommandlet
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
ULPImportCityOSMCommandlet();
|
|
|
|
virtual int32 Main(const FString& Params) override;
|
|
};
|